diff --git a/Cargo.toml b/Cargo.toml index 2d17e05..98a636c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,6 +19,7 @@ rand = { version = "0.8", default-features = false, features = ["small_rng"] } [features] # Derives the `Serialize` and `Deserialize` traits from [`serde`](https://crates.io/crates/serde) for the `Primes` struct, as well as a few others. +# Uses the [`serde_arrays`](https://crates.io/crates/serde_arrays) crate to do this, and that crate uses the standard library. serde = ["dep:serde", "dep:serde_arrays"] [package.metadata.docs.rs] diff --git a/README.md b/README.md index 863b410..8eeb7dc 100644 --- a/README.md +++ b/README.md @@ -119,6 +119,8 @@ and more! `serde`: derives the `Serialize` and `Deserialize` traits from [`serde`](https://crates.io/crates/serde) for the `Primes` struct, as well as a few others. +Uses the [`serde_arrays`](https://crates.io/crates/serde_arrays) +crate to do this, and that crate uses the standard library. ## License diff --git a/src/lib.rs b/src/lib.rs index 2f713ac..29522dd 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -106,6 +106,7 @@ //! # Features //! //! `serde`: derives the [`Serialize`](serde::Serialize) and [`Deserialize`](serde::Deserialize) traits from [`serde`](https://docs.rs/serde/latest/serde/) for the [`Primes`] struct, as well as a few others. +//! Uses the [`serde_arrays`](https://docs.rs/serde_arrays/0.1.0) crate to do this, and that crate uses the standard library. #![forbid(unsafe_code)] #![no_std]