From be62a7f1162f4691c35d1a0c8d94273e9d41136c Mon Sep 17 00:00:00 2001 From: Jubilee Young Date: Thu, 28 Mar 2024 14:22:04 -0700 Subject: [PATCH] Remove rustc-serialize feature And docs and deny exceptions and... --- Cargo.toml | 1 - README.md | 1 - deny.toml | 3 --- src/lib.rs | 1 - 4 files changed, 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 495ac35c..17a3fbe5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -39,7 +39,6 @@ __internal_bench = [] [dependencies] num-traits = { version = "0.2", default-features = false } -rustc-serialize = { version = "0.3.20", optional = true } serde = { version = "1.0.99", default-features = false, optional = true } pure-rust-locales = { version = "0.8", optional = true } rkyv = { version = "0.7.43", optional = true, default-features = false } diff --git a/README.md b/README.md index bfe17fcb..76cd26e2 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,6 @@ Optional features: * `rkyv-32`: Enable serialization/deserialization via [rkyv], using 32-bit integers for integral `*size` types. * `rkyv-64`: Enable serialization/deserialization via [rkyv], using 64-bit integers for integral `*size` types. * `rkyv-validation`: Enable rkyv validation support using `bytecheck`. -* `rustc-serialize`: Enable serialization/deserialization via rustc-serialize (deprecated). * `arbitrary`: Construct arbitrary instances of a type with the Arbitrary crate. * `unstable-locales`: Enable localization. This adds various methods with a `_localized` suffix. The implementation and API may change or even be removed in a patch release. Feedback welcome. diff --git a/deny.toml b/deny.toml index 186290e0..5c70069a 100644 --- a/deny.toml +++ b/deny.toml @@ -3,9 +3,6 @@ allow-osi-fsf-free = "either" copyleft = "deny" [advisories] -ignore = [ - "RUSTSEC-2022-0004", # rustc_serialize, cannot remove due to compatibility -] unmaintained = "deny" unsound = "deny" yanked = "deny" diff --git a/src/lib.rs b/src/lib.rs index 839444c9..18b9226e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -43,7 +43,6 @@ //! - `rkyv-64`: Enable serialization/deserialization via [rkyv], //! using 64-bit integers for integral `*size` types. //! - `rkyv-validation`: Enable rkyv validation support using `bytecheck`. -//! - `rustc-serialize`: Enable serialization/deserialization via rustc-serialize (deprecated). //! - `arbitrary`: Construct arbitrary instances of a type with the Arbitrary crate. //! - `unstable-locales`: Enable localization. This adds various methods with a `_localized` suffix. //! The implementation and API may change or even be removed in a patch release. Feedback welcome.