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

#1950 in Parser implementations

Download history 46/week @ 2024-01-04 57/week @ 2024-01-11 25/week @ 2024-01-25 94/week @ 2024-02-08 49/week @ 2024-02-15 19/week @ 2024-02-22 7/week @ 2024-02-29 3/week @ 2024-03-07 3/week @ 2024-03-14 63/week @ 2024-03-28 26/week @ 2024-04-04

89 downloads per month
Used in 3 crates

Custom license

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.6–1.3MB
~28K SLoC