8 Commits

Author SHA1 Message Date
f2cec4c89e
Added file input + stdin support
+ Files/stdin input can be binary or ascii
+ Handles piping from other programs
+ Misc test fixes
+ Updated readme
+ clippy + fmt
2022-05-07 18:35:06 -06:00
5a98f84063
Added global config directory
+ Should be platform independent thanks to platform-dirs
+ All config files in the directory are used
+ Some optimizations could be made so now all config files are loaded.
+ clippy + fmt
2022-05-03 20:11:54 -06:00
d956c111d8
Fixed CCSDS parsing
+ Using bitvec now for parsing binary data
+ Fixed issues with how some data was handled across byte boundaries
+ Updated CCSDS def
+ Added test to verify good ccsds parsing
+ clippy + fmt
2022-04-17 10:19:44 -06:00
70a3c260e6
Improved docs + a bunch of fixes
+ Better error handling
  + Line numbers in toml errors should now match the file
  + Errors during parsing show where in the bit stream they failed
+ Fixed some issues with string, float, and double parsing reporting the wrong bit width
+ Updated docs and added the example.toml config
+ clipppy + fmt
2022-04-10 10:42:05 -06:00
6407335362
Fmt + Clippy 2022-04-09 12:40:37 -06:00
59351fb699
Added default formatters + error handling 2022-04-09 12:34:15 -06:00
4e9f4bff1d
Added string and bytes formatting
+ String fields are always null terminated and have a max length
+ Byte fields are made of raw bytes, and read data until they hit a max length or the end of data is reached
2021-10-09 10:05:32 -06:00
b85ba31f91
Initial Commit
+ Basic implementation working with just unsigned ints
+ Can fetch data from arbitrary bit positions in a byte string
+ TOML config implementation for describing data
+ Simple CLI
2021-09-11 12:21:34 -06:00