20 releases (5 breaking)
0.6.3 | Feb 14, 2024 |
---|---|
0.6.1 | Jan 28, 2024 |
0.5.4 | Jan 13, 2024 |
0.4.2 | Jan 8, 2024 |
0.1.0 | Dec 17, 2023 |
#1853 in Parser implementations
Used in 3 crates
115KB
2.5K
SLoC
hff-std
See: https://crates.io/crates/hff for the primary documentation and examples.
Synchronous implementation of reader, visitor, writer utilities for HFF.
Also supplies various shared elements such as the table/chunk builders for async variations.
TODO
- Current implementation needs cleanup.
- Current read from chunks allocates a vector, switch to a model which expects the user to provide a properly sized buffer.
- Investigate a no_std version which supplies a minimal reader but almost certainly not a writer.
- Better testing.
- Look for a better way to supply chunk data source 'write' functionality. Right now it uses a generic trait around the source in the builder and then uses a TryInto that has to know all of the underlying source types which is ... annoying.
lib.rs
:
Implements the basic reader/writer functionality for HFF.
Dependencies
~0.5–1.3MB
~28K SLoC