Christoph J. Scherr
7eb00e0f56
refactor: use libpt for joining the base64 parser vec #5 #13
cargo devel CI / cargo CI (push) Successful in 1m24s
Details
2024-05-13 15:52:18 +02:00
Christoph J. Scherr
1bb0ffd6f8
refactor: use libpt to join the fast32 vecs into the integer type #13 #5
cargo devel CI / cargo CI (push) Successful in 1m19s
Details
2024-05-13 15:45:38 +02:00
Christoph J. Scherr
68d9cdaf69
feat: add hacky parsing for base32 and base64 #13 #5
cargo devel CI / cargo CI (push) Successful in 1m17s
Details
2024-05-13 14:25:04 +02:00
Christoph J. Scherr
6649470ff7
refactor: numf_parser takes a generic unsigned int #13
cargo devel CI / cargo CI (push) Has been cancelled
Details
2024-05-13 13:51:17 +02:00
Christoph J. Scherr
c6ad45fb82
test: add tests for numf_parser #13
cargo devel CI / cargo CI (push) Failing after 1m17s
Details
2024-05-13 13:39:56 +02:00
Christoph J. Scherr
18cccddbb2
test: fix numf_parser doctest #13 #5
cargo devel CI / cargo CI (push) Successful in 1m15s
Details
2024-05-13 13:31:33 +02:00
Christoph J. Scherr
399021ecc6
feat: add a parser that can be used with clap for all formats except base32 and base64
...
cargo devel CI / cargo CI (push) Failing after 1m16s
Details
Refs: #5
2024-05-13 13:19:49 +02:00
Christoph J. Scherr
290b959b7e
refactor: more derives
cargo devel CI / cargo CI (push) Has been cancelled
Details
2024-05-12 20:29:12 +02:00
Christoph J. Scherr
47ae8e135b
feat: add setters for FormatOptions
cargo devel CI / cargo CI (push) Has been cancelled
Details
2024-05-12 20:19:57 +02:00
Christoph J. Scherr
4f269fb509
refactor: add more derives
cargo devel CI / cargo CI (push) Successful in 1m11s
Details
2024-05-12 19:54:45 +02:00
Christoph J. Scherr
cae701815e
refactor: use the cli struct as format options #11 #9
cargo devel CI / cargo CI (push) Has been cancelled
Details
2024-05-12 19:53:38 +02:00
Christoph J. Scherr
82c1bf8d8a
feat: padding and FormatOptions #9
cargo devel CI / cargo CI (push) Successful in 1m14s
Details
2024-05-12 19:34:01 +02:00
PlexSheep
927a4b0043
automatic cargo CI changes
2024-05-12 16:52:35 +00:00
Christoph J. Scherr
721467b260
docs: add author and version to --help flag
cargo devel CI / cargo CI (push) Successful in 1m20s
Details
2024-05-12 18:51:18 +02:00
Christoph J. Scherr
ec4aa09538
feat: add lib.rs #10
cargo devel CI / cargo CI (push) Successful in 1m14s
Details
2024-05-12 18:43:52 +02:00
Christoph J. Scherr
24bf6cd97e
fix: use a dependency to split the int instead of a builtin function #8
cargo devel CI / cargo CI (push) Failing after 1m13s
Details
2024-05-12 18:36:48 +02:00
PlexSheep
d4331a7492
automatic cargo CI changes
2024-05-11 23:57:29 +00:00
Christoph J. Scherr
cb0c56107a
feat: add base32 and use fast32 as dep #4
cargo devel CI / cargo CI (push) Successful in 1m18s
Details
2024-05-12 01:56:13 +02:00
Christoph J. Scherr
00304ddff0
feat: add base64 format #4
...
cargo devel CI / cargo CI (push) Successful in 1m10s
Details
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
Christoph J. Scherr
bd7a000968
Merge branch 'master' of https://git.cscherr.de/PlexSheep/numf
cargo devel CI / cargo CI (push) Successful in 1m9s
Details
2024-05-12 01:05:49 +02:00
Christoph J. Scherr
5a780f83e8
fix: print usage when no arguments are passed #2
2024-05-12 01:05:48 +02:00
PlexSheep
d3423a92b3
automatic cargo CI changes
2024-05-11 23:04:15 +00:00
Christoph J. Scherr
3fd52c19dd
refactor: move Format enum to a new module
cargo devel CI / cargo CI (push) Successful in 1m22s
Details
2024-05-12 01:02:55 +02:00
Christoph J. Scherr
d9c921ef9c
refactor: use a larger integer type #3
cargo devel CI / cargo CI (push) Successful in 1m12s
Details
2024-05-10 19:26:29 +02:00
Christoph J. Scherr
df621fdb6d
fix: fix cli interface to not need a format flag
2024-05-10 19:26:09 +02:00
Christoph J. Scherr
6c66c285a0
feat: first working version
2024-05-10 19:26:09 +02:00
Christoph J. Scherr
6ffe30986b
Initial commit
2024-05-10 13:57:36 +02:00