Commit Graph

181 Commits

Author SHA1 Message Date
PlexSheep 216b896067 automatic cargo CI changes 2024-06-28 21:55:12 +00:00
Christoph J. Scherr 0488b2f497 refactor(cli::repl): introduce custom error type, modularize
cargo devel CI / cargo CI (push) Successful in 2m15s Details
2024-06-28 23:53:00 +02:00
Christoph J. Scherr 471364e711 feat(cli::repl): #84 #86 working and nice repl structure
cargo devel CI / cargo CI (push) Successful in 2m10s Details
2024-06-28 23:05:50 +02:00
Christoph J. Scherr d413b74d45 feat(cli): add repl example without using library items
cargo devel CI / cargo CI (push) Failing after 1m43s Details
2024-06-28 18:10:08 +02:00
Christoph J. Scherr a9fe9d21ec chore: reexport shlex and add dialoguer features
cargo devel CI / cargo CI (push) Has been cancelled Details
2024-06-28 18:09:36 +02:00
Christoph J. Scherr 3e5174dab6 docs(cli): expand on IsTerminal differences
cargo devel CI / cargo CI (push) Successful in 2m5s Details
2024-06-28 14:51:13 +02:00
Christoph J. Scherr db2fd9f60e docs: fix redundand link binding
cargo devel CI / cargo CI (push) Successful in 2m4s Details
2024-06-28 14:44:04 +02:00
Christoph J. Scherr f2d4fd3067 Merge branch 'feat/cli' of https://git.cscherr.de/PlexSheep/pt into feat/cli
cargo devel CI / cargo CI (push) Successful in 2m10s Details
2024-06-28 14:41:04 +02:00
Christoph J. Scherr 4278f4b5a7 docs(cli): mention IsTerminal in cli::printing 2024-06-28 14:40:50 +02:00
PlexSheep 880f2a7b89 automatic cargo CI changes 2024-06-28 12:38:39 +00:00
Christoph J. Scherr a79513d1db feat(cli): reexport human-panic and exitcode
cargo devel CI / cargo CI (push) Successful in 2m21s Details
2024-06-28 14:36:18 +02:00
Christoph J. Scherr 90cf678dde feat(cli::args): VerbosityLevel
cargo devel CI / cargo CI (push) Successful in 2m0s Details
VerbosityLevel lets you easily get a loglevel from repeated -v and -q
flags. Documentation included.

Refs: #84
2024-06-28 00:40:52 +02:00
Christoph J. Scherr 2e26983fb6 chore: bump version of libpt-log to v0.4.3
cargo devel CI / cargo CI (push) Successful in 2m4s Details
2024-06-28 00:17:36 +02:00
Christoph J. Scherr 1e912d9be8 refactor: reexport tracing from libpt-log
cargo devel CI / cargo CI (push) Has been cancelled Details
2024-06-28 00:17:13 +02:00
PlexSheep 6074ba899d automatic cargo CI changes 2024-06-27 22:08:16 +00:00
Christoph J. Scherr 798cb19865 feat(cli::args): verbosity flags for log level 2024-06-28 00:05:54 +02:00
Christoph J. Scherr a92f5f308d chore: add clap derive feature
cargo devel CI / cargo CI (push) Successful in 2m6s Details
2024-06-27 22:36:13 +02:00
Christoph J. Scherr 1c78801101 docs(cli::printing): add module documentation
cargo devel CI / cargo CI (push) Successful in 2m0s Details
2024-06-27 22:31:36 +02:00
Christoph J. Scherr 57709e963c docs(cli::printing): document use of parameters for blockfmt_advanced
cargo devel CI / cargo CI (push) Successful in 1m59s Details
2024-06-27 22:26:18 +02:00
Christoph J. Scherr 08bfc03628 refactor(cli::printing): use Option<Color> for blockfmt_advanced
Users might just need the cell String, not a colored one.
2024-06-27 22:22:46 +02:00
Christoph J. Scherr 502298d47b feat(cli)!: remove printing::divider, add borderprint borderfmt and borderfmt_advanced
cargo devel CI / cargo CI (push) Successful in 2m5s Details
divider was removed because it was too simple and code duplication makes
therefore more sense for it's usecase.

Refs: #84
2024-06-27 22:19:53 +02:00
PlexSheep 128be8d718 automatic cargo CI changes 2024-06-27 19:32:09 +00:00
Christoph J. Scherr 198630b35a Merge branch 'feat/cli' of https://git.cscherr.de/PlexSheep/pt into feat/cli
cargo devel CI / cargo CI (push) Successful in 2m6s Details
2024-06-27 21:30:04 +02:00
Christoph J. Scherr 57aa7c256a refactor(printing)!: move core::printing to cli #84 2024-06-27 21:30:02 +02:00
PlexSheep 999cf630e8 automatic cargo CI changes 2024-06-27 19:29:32 +00:00
Christoph J. Scherr 630c50a64a feat(cli): add libpt-cli and reexport essential cli deps #84
cargo devel CI / cargo CI (push) Successful in 2m8s Details
2024-06-27 21:27:26 +02:00
Christoph J. Scherr 940b5ffa1a fix(cargo): remove path for the libpt version used in libpt-py
cargo devel CI / cargo CI (push) Successful in 1m51s Details
otherwise, libpt-py always uses the latest libpt version by path that is
in the workspace, which is bad if the libpt version is ahead of the
libpt-py version.
2024-06-27 21:20:07 +02:00
Christoph J. Scherr 5dba8395d3 chore: bump version to v0.5.1
cargo devel CI / cargo CI (push) Successful in 1m47s Details
2024-05-13 15:25:15 +02:00
Christoph J. Scherr 7928423d6e refactor(bintols-join): return err if the result cannot be converted to T #80 #79 2024-05-13 15:25:15 +02:00
PlexSheep 53e545832c automatic cargo CI changes 2024-05-13 15:25:15 +02:00
Christoph J. Scherr 3ef1ffc337 test: add tests for the join module #79 2024-05-13 15:25:14 +02:00
Christoph J. Scherr 2e38597a7c feat: add a join module to join arrays into larger integers #79 2024-05-13 14:57:49 +02:00
Christoph J. Scherr 0a6072c478 feat: add bintols split to libpt-py
cargo devel CI / cargo CI (push) Successful in 1m55s Details
2024-05-12 17:58:55 +02:00
Christoph J. Scherr 20b8f7a582 refactor: rename split_numbers to split 2024-05-12 17:58:31 +02:00
Christoph J. Scherr 33260726a1 chore: bump versions for v0.5.0 2024-05-12 17:58:02 +02:00
PlexSheep 75feb7b2b0 automatic cargo CI changes 2024-05-12 15:22:49 +00:00
Christoph J. Scherr 73d291a477 fix: split-numbers test solutions were wrong #76
cargo devel CI / cargo CI (push) Successful in 1m54s Details
2024-05-12 17:20:57 +02:00
Christoph J. Scherr 9da3c584cd refactor: add doc comment for split numbers and change order to msb first #76 2024-05-12 17:20:54 +02:00
Christoph J. Scherr 77d473e22c refactor: split-numbers generic by converting to u128 #76
cargo devel CI / cargo CI (push) Failing after 1m42s Details
2024-05-12 02:47:59 +02:00
Christoph J. Scherr dc506de8aa test: split-numbers #76
test if splitting of numbers into Vec<u8> works correctly
2024-05-12 02:47:55 +02:00
Christoph J. Scherr 0eb6490854 feat: split unsigned numbers into bytes #76
cargo devel CI / cargo CI (push) Successful in 1m44s Details
2024-05-12 02:24:55 +02:00
Christoph J. Scherr c918fbf196
logger configuration throigh struct
cargo devel CI / cargo CI (push) Successful in 56s Details
2024-03-10 19:38:51 +01:00
Christoph J. Scherr b374aa7e43
update deps
cargo devel CI / cargo CI (push) Successful in 57s Details
2024-03-03 18:02:24 +01:00
Christoph J. Scherr 3f4a092d8d
bump version
cargo devel CI / cargo CI (push) Successful in 53s Details
2024-03-03 17:31:50 +01:00
Christoph J. Scherr d58207cb5d
remove cucumber dependency from core
cargo devel CI / cargo CI (push) Successful in 1m0s Details
2024-03-03 17:19:29 +01:00
Christoph J. Scherr 97b8086624
fix bintolsdisplay
cargo devel CI / cargo CI (push) Successful in 1m27s Details
2024-03-03 17:16:50 +01:00
Christoph J. Scherr 222d248fab
0.4.0 bump
cargo devel CI / cargo CI (push) Successful in 4m50s Details
2024-03-03 13:42:39 +01:00
Christoph J. Scherr ea9a15771b
Release 0.4.0-alpha.2
cargo devel CI / cargo CI (push) Successful in 1m40s Details
libpt@0.4.0-alpha.2
libpt-bintols@0.4.0-alpha.2
libpt-core@0.4.0-alpha.2
libpt-log@0.4.0-alpha.2
libpt-py@0.4.0-alpha.2

Generated by cargo-workspaces
2024-03-01 21:29:00 +01:00
Christoph J. Scherr be574d7efe
bump version
cargo devel CI / cargo CI (push) Successful in 2m0s Details
2024-03-01 21:18:05 +01:00
Christoph J. Scherr 328d042199
independent version
cargo devel CI / cargo CI (push) Successful in 2m0s Details
2024-03-01 21:09:42 +01:00
Christoph J. Scherr 19e1fd6c50
remove empty and unused modules
cargo devel CI / cargo CI (push) Has been cancelled Details
2024-03-01 21:08:20 +01:00
PlexSheep 0afd0a96a3 automatic cargo CI changes 2024-03-01 19:47:54 +00:00
Christoph J. Scherr 6d4e82b0b7
python bintols
cargo devel CI / cargo CI (push) Successful in 3m40s Details
2024-03-01 20:44:14 +01:00
Christoph J. Scherr 10ec77aef0
python interface for core and logging
cargo devel CI / cargo CI (push) Successful in 4m59s Details
2024-03-01 20:15:16 +01:00
Christoph J. Scherr e8be5388b1
some python stuff
cargo devel CI / cargo CI (push) Successful in 1m38s Details
2024-02-29 22:22:44 +01:00
Christoph J. Scherr c69d116c75
fix py feature
cargo devel CI / cargo CI (push) Failing after 1m50s Details
2024-02-29 21:38:34 +01:00
Christoph J. Scherr faa4023f95
make clippy happier
cargo devel CI / cargo CI (push) Failing after 1m8s Details
2024-02-28 16:54:34 +01:00
Christoph J. Scherr 9ebfbd52e2
add python interface crate #57 2024-02-28 16:42:27 +01:00
Christoph J. Scherr 7930edc7e6
featurizing the library
cargo devel CI / cargo CI (push) Successful in 1m55s Details
2024-02-28 16:30:32 +01:00
PlexSheep a082200ea7 automatic cargo CI changes 2024-02-16 17:23:21 +00:00
Christoph J. Scherr c3cc64699c
clippy fixes
cargo devel CI / cargo CI (push) Successful in 1m35s Details
2024-02-16 18:21:19 +01:00
Christoph J. Scherr 3d727c74d0
remake error in libpt-log
cargo devel CI / cargo CI (push) Successful in 2m17s Details
2024-02-01 22:55:20 +01:00
Christoph J. Scherr a150304d01
remove hedu from bintols 2024-02-01 22:54:42 +01:00
Christoph J. Scherr c968e44349
add uptime to init
cargo devel CI / cargo CI (push) Has been cancelled Details
2024-01-23 14:02:46 +01:00
cscherrNT 782e211448 automatic cargo CI changes 2024-01-18 12:25:51 +00:00
Christoph J. Scherr 751442cec1
hedu to struct
cargo devel CI / cargo CI (push) Successful in 2m9s Details
2024-01-18 13:23:44 +01:00
Christoph J. Scherr 73bd34c78d
fix line counter for skipped lines
cargo devel CI / cargo CI (push) Successful in 2m0s Details
2024-01-18 12:04:20 +01:00
Christoph J. Scherr 55e7bf0f86
fix no data #62 and make #63 even worse
cargo devel CI / cargo CI (push) Successful in 2m3s Details
2024-01-18 10:55:38 +01:00
Christoph J. Scherr ca50a038da
hedu cli now works with 0 byte input streams
cargo devel CI / cargo CI (push) Successful in 2m0s Details
2024-01-18 00:03:19 +01:00
Christoph J. Scherr 7e9d337005
#60 #61 improvements and bugfixes
cargo devel CI / cargo CI (push) Successful in 2m5s Details
2024-01-17 23:48:41 +01:00
Christoph J. Scherr 2bc75970a4
read from multiple sources
cargo devel CI / cargo CI (push) Successful in 2m6s Details
implements #60
2024-01-17 23:03:53 +01:00
Christoph J. Scherr fd0d1e3c22
add toggle of alt_buf after line skip #59
cargo devel CI / cargo CI (push) Successful in 1m59s Details
2024-01-17 22:28:11 +01:00
PlexSheep ee62e1e578 automatic cargo CI changes 2024-01-17 18:39:03 +00:00
Christoph J. Scherr 15b1776def
fix data index for #59
cargo devel CI / cargo CI (push) Successful in 2m7s Details
2024-01-17 19:37:00 +01:00
Christoph J. Scherr f4a7aeaf87
change how hedu prints
cargo devel CI / cargo CI (push) Successful in 2m4s Details
2024-01-17 19:24:30 +01:00
Christoph J. Scherr 6e161eca5f
hedu data_idx offset fix
cargo devel CI / cargo CI (push) Has been cancelled Details
fixes #56
2024-01-17 18:13:31 +01:00
Christoph J. Scherr d1e888c138
fix hedu limit offset
cargo devel CI / cargo CI (push) Has been cancelled Details
2024-01-17 16:21:41 +01:00
Christoph J. Scherr 956e507e39
split byte_counter into data_index and rd_counter
fixes #55
2024-01-17 15:56:42 +01:00
Christoph J. Scherr 23910f122e
hedu fix byte counter
cargo devel CI / cargo CI (push) Successful in 2m9s Details
2024-01-17 15:21:03 +01:00
cscherrNT 15fe2c1ce9 automatic cargo CI changes 2024-01-17 13:33:28 +00:00
Christoph J. Scherr a4acae1580
restructuring complete
cargo devel CI / cargo CI (push) Successful in 2m6s Details
2024-01-17 14:31:23 +01:00
Christoph J. Scherr df2c07573d
better deps and move things
Cargo Check, Format, Fix and Test / cargo CI (push) Failing after 0s Details
2024-01-17 13:57:47 +01:00
Christoph J. Scherr 9d22104f90
Release independent packages
Generated by cargo-workspaces
2024-01-17 12:35:36 +01:00
Christoph J. Scherr 5387ca6085
Release independent packages
Generated by cargo-workspaces
2024-01-17 12:19:23 +01:00
Christoph J. Scherr 5620832bcc
Release independent packages
Generated by cargo-workspaces
2024-01-17 12:17:41 +01:00
Christoph J. Scherr 7a768a14f4
auto publish on push to master 2024-01-17 12:07:02 +01:00
Gitea CI de9ef8d841 automatic cargo CI changes 2024-01-16 18:43:48 +00:00
Christoph J. Scherr 0155465332
hedu limit
Cargo Check, Format, Fix and Test / cargo CI (push) Successful in 2m1s Details
2024-01-16 19:41:51 +01:00
Christoph J. Scherr 521ae9a193
skip line counting 2024-01-16 19:03:56 +01:00
Gitea CI 15687ca0d7 automatic cargo CI changes 2024-01-16 17:29:38 +00:00
Christoph J. Scherr 441669a2c3
more configs
Cargo Check, Format, Fix and Test / cargo CI (push) Successful in 2m41s Details
can't detect dups like this

dedup lines
2024-01-16 18:13:39 +01:00
Christoph J. Scherr b2435f3963
sub crates are now version agnostic to other local crates
Cargo Check, Format, Fix and Test / cargo CI (push) Successful in 2m13s Details
2024-01-16 15:59:04 +01:00
Christoph J. Scherr b58dc3dc44
fix small formatting issue in hedu 2024-01-16 15:58:40 +01:00
Gitea CI 747c3e6eac automatic cargo CI changes 2024-01-16 15:12:03 +00:00
Christoph J. Scherr 5b8753c45d
get rid of unreachable code
Cargo Check, Format, Fix and Test / cargo CI (push) Successful in 2m10s Details
2024-01-16 15:45:12 +01:00
Christoph J. Scherr aa560b0e05
hack log together for more configs 2024-01-16 15:44:53 +01:00
Christoph J. Scherr 39a21d64e9
add log to hedu 2024-01-16 14:04:06 +01:00
Christoph J. Scherr 0515e221f9
adjust bin interface with log 2024-01-16 14:03:55 +01:00
Christoph J. Scherr a9cf78ee0d
i think it works 2024-01-16 12:47:38 +01:00
Gitea CI 66932f70a3 automatic cargo CI changes 2024-01-16 10:33:21 +00:00