crawdad-rkyv

Crates.iocrawdad-rkyv
lib.rscrawdad-rkyv
version0.4.0-rkyv.1
created_at2025-10-12 12:49:05.615939+00
updated_at2025-10-12 12:49:05.615939+00
descriptionCrawdad: ChaRActer-Wise Double-Array Dictionary with rkyv support
homepagehttps://github.com/stellanomia/crawdad-rkyv
repositoryhttps://github.com/stellanomia/crawdad-rkyv
max_upload_size
id1879253
size115,207
Stellanomia (stellanomia)

documentation

README

crawdad-rkyv

Crates.io Documentation

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)] to Trie and other relevant structs.
  • Implemented necessary methods on the Archived versions of structs to maintain functionality (e.g., common_prefix_search on ArchivedTrie).

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).

Commit count: 0

cargo fmt