Commit graph

37 commits

Author SHA1 Message Date
97608840b9 chore: bump version to v0.2.0 2024-05-12 21:21:34 +02:00
PlexSheep
acdec5836e automatic cargo CI changes 2024-05-12 18:31:15 +00:00
9700ae5b35 test: check set_format 2024-05-12 20:29:40 +02:00
290b959b7e refactor: more derives 2024-05-12 20:29:12 +02:00
a88a03eab7 test: padded prefixed formatting 2024-05-12 20:25:48 +02:00
1f91710bda chore: format tests 2024-05-12 20:23:47 +02:00
b681a6b04d Merge branch 'test/basics' of https://git.cscherr.de/PlexSheep/numf into test/basics 2024-05-12 20:23:05 +02:00
fe01412467 test: add prefix test 2024-05-12 20:23:04 +02:00
PlexSheep
cd7f7cc376 automatic cargo CI changes 2024-05-12 18:21:54 +00:00
9bfc8504a4 test: add padding test 2024-05-12 20:20:36 +02:00
47ae8e135b feat: add setters for FormatOptions 2024-05-12 20:19:57 +02:00
8b419048ef test: testing the format 2024-05-12 20:11:05 +02:00
6251546a31 Merge pull request 'feat: padding and FormatOptions ' () from feat/padding into master
Reviewed-on: 
2024-05-12 19:59:19 +02:00
4f269fb509 refactor: add more derives 2024-05-12 19:54:45 +02:00
cae701815e refactor: use the cli struct as format options 2024-05-12 19:53:38 +02:00
82c1bf8d8a feat: padding and FormatOptions 2024-05-12 19:34:01 +02:00
32ecd3cd97 chore: set publish to true 2024-05-12 18:54:31 +02:00
PlexSheep
927a4b0043 automatic cargo CI changes 2024-05-12 16:52:35 +00:00
721467b260 docs: add author and version to --help flag 2024-05-12 18:51:18 +02:00
0f2ec91f62 docs: add categories and keywords 2024-05-12 18:49:11 +02:00
e186dd67f8 Merge pull request 'feat/other-formats' () from feat/other-formats into master
Reviewed-on: 
2024-05-12 18:46:11 +02:00
ec4aa09538 feat: add lib.rs 2024-05-12 18:43:52 +02:00
24bf6cd97e fix: use a dependency to split the int instead of a builtin function 2024-05-12 18:36:48 +02:00
66144dcb3c ci add cargo test of docs 2024-05-12 17:27:43 +02:00
PlexSheep
d4331a7492 automatic cargo CI changes 2024-05-11 23:57:29 +00:00
cb0c56107a feat: add base32 and use fast32 as dep 2024-05-12 01:56:13 +02:00
00304ddff0 feat: add base64 format
This commit adds the option to output base64. Note that this converts
numbers to base64, not strings. formatting 65 will output "QQ==", the
same as using 'echo -ne "A" | base64' would (A is 65 in ASCII).
2024-05-12 01:49:11 +02:00
bd7a000968 Merge branch 'master' of https://git.cscherr.de/PlexSheep/numf 2024-05-12 01:05:49 +02:00
5a780f83e8 fix: print usage when no arguments are passed 2024-05-12 01:05:48 +02:00
PlexSheep
d3423a92b3 automatic cargo CI changes 2024-05-11 23:04:15 +00:00
3fd52c19dd refactor: move Format enum to a new module 2024-05-12 01:02:55 +02:00
8f49160f4f docs: add usage example 2024-05-10 19:58:02 +02:00
380968a5d7 docs: Add supported formats to the readme 2024-05-10 19:30:22 +02:00
d9c921ef9c refactor: use a larger integer type 2024-05-10 19:26:29 +02:00
df621fdb6d fix: fix cli interface to not need a format flag 2024-05-10 19:26:09 +02:00
6c66c285a0 feat: first working version 2024-05-10 19:26:09 +02:00
6ffe30986b Initial commit 2024-05-10 13:57:36 +02:00