diff --git a/Cargo.toml b/Cargo.toml index 4b129982..a285d5d2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -103,10 +103,7 @@ version = "1.1.3" optional = true version = "0.6" -# Public (unstable): Used in trait impls on `Uuid` -# Unstable: also need RUSTFLAGS="--cfg uuid_unstable" to work -# This feature may break between releases, or be removed entirely before -# stabilization. +# Public: Used in trait impls on `Uuid` [dependencies.borsh] optional = true version = "1" diff --git a/src/external.rs b/src/external.rs index 8ac12d0f..6f20d8fd 100644 --- a/src/external.rs +++ b/src/external.rs @@ -1,6 +1,6 @@ #[cfg(feature = "arbitrary")] pub(crate) mod arbitrary_support; -#[cfg(all(uuid_unstable, feature = "borsh"))] +#[cfg(feature = "borsh")] pub(crate) mod borsh_support; #[cfg(feature = "serde")] pub(crate) mod serde_support; diff --git a/src/lib.rs b/src/lib.rs index 9bb60ff7..98b2939b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -106,6 +106,8 @@ //! * `macro-diagnostics` - enhances the diagnostics of `uuid!` macro. //! * `serde` - adds the ability to serialize and deserialize a UUID using //! `serde`. +//! * `borsh` - adds the ability to serialize and deserialize a UUID using +//! `borsh`. //! * `arbitrary` - adds an `Arbitrary` trait implementation to `Uuid` for //! fuzzing. //! * `fast-rng` - uses a faster algorithm for generating random UUIDs. @@ -120,8 +122,6 @@ //! //! * `zerocopy` - adds support for zero-copy deserialization using the //! `zerocopy` library. -//! * `borsh` - adds the ability to serialize and deserialize a UUID using -//! `borsh`. //! //! Unstable features may break between minor releases. //!