crawdad-rkyv
Note: This is a fork of the original daac-tools/crawdad created to provide serialization support via the rkyv framework.
This fork adds rkyv's Archive, Serialize, and Deserialize traits to the data structures within crawdad. This modification enables zero-copy deserialization, which is essential for projects requiring near-instantaneous loading of serialized data, such as vibrato-rkyv.
All credit for the core implementation and functionality goes to the original authors of crawdad.
Purpose
The primary purpose of this fork is to serve as a dependency for other -rkyv suffixed projects. It is published on crates.io to satisfy the dependency requirements for publishing those projects.
Changes
- Added
#[derive(Archive, Serialize, Deserialize)]toTrieand other relevant structs. - Implemented necessary methods on the
Archivedversions of structs to maintain functionality (e.g.,common_prefix_searchonArchivedTrie).
Usage
You would typically not use this crate directly. Instead, it is used as a dependency by other libraries that rely on rkyv-serializable versions of crawdad's data structures.
Original README
For information on the core functionality, please refer to the original README file.
License
This project is licensed under the same terms as the original crawdad library (MIT OR Apache-2.0).