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

#1561 in Parser implementations

Download history 57/week @ 2024-01-10 25/week @ 2024-01-24 142/week @ 2024-02-14 16/week @ 2024-02-21 11/week @ 2024-02-28 1/week @ 2024-03-06 5/week @ 2024-03-13 41/week @ 2024-03-27 48/week @ 2024-04-03

68 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
~27K SLoC