Cargo Features

const-primes has no features set by default.

[dependencies]
const-primes = { version = "0.9.5", features = ["serde", "zerocopy", "rkyv"] }
serde

Derives the Serialize and Deserialize traits from the serde crate for the Primes struct, as well as a few others. Uses the serde_arrays crate to do this, and that crate uses the standard library.

Enables serde and serde_arrays

zerocopy

Derives the IntoBytes trait from the zerocopy crate for the Primes struct.

Enables zerocopy

rkyv

Derives the Serialize, Deserialize, and Archive traits from the rkyv crate for the Primes struct.

Enables rkyv