diff --git a/nodrop-union/Cargo.toml b/nodrop-union/Cargo.toml index c8f49b4..a8ca494 100644 --- a/nodrop-union/Cargo.toml +++ b/nodrop-union/Cargo.toml @@ -1,15 +1,22 @@ [package] name = "nodrop-union" -version = "0.1.10" +version = "0.1.11" authors = ["bluss"] license = "MIT/Apache-2.0" -description = "A wrapper type to inhibit drop (destructor). Implementation crate for nodrop, the untagged unions implementation (which is unstable / requires nightly) as of this writing." -documentation = "http://bluss.github.io/arrayvec/doc/nodrop_union" +description = """ +A wrapper type to inhibit drop (destructor). Implementation crate for nodrop, the untagged unions implementation (which is unstable / requires nightly) as of this writing. + +***Deprecated: Use ManuallyDrop or MaybeUninit instead!*** +""" repository = "https://github.com/bluss/arrayvec" -keywords = ["container", "drop", "no_std"] +keywords = [] [package.metadata.release] no-dev-version = true +tag-name = "nodrop-union-{{version}}" + +[badges.maintenance] +status = "deprecated" diff --git a/nodrop-union/README.rst b/nodrop-union/README.rst index 0a3f554..b5e222a 100644 --- a/nodrop-union/README.rst +++ b/nodrop-union/README.rst @@ -2,6 +2,15 @@ Recent Changes (nodrop-union) ----------------------- +- 0.1.11 + + - Mark nodrop deprecated + + With the release of arrayvec 0.5, nodrop is unused. + + With the release of Rust 1.36 and MaybeUninit, nodrop-union has no + purpose at all (it was only for nightly releases). + - 0.1.10 - Update to include license files in the crate by @ignatenkobrain diff --git a/nodrop-union/src/lib.rs b/nodrop-union/src/lib.rs index 16fd941..9c54734 100644 --- a/nodrop-union/src/lib.rs +++ b/nodrop-union/src/lib.rs @@ -1,3 +1,6 @@ +//! A wrapper type to inhibit drop (destructor). +//! +//! ***Deprecated: Use ManuallyDrop or MaybeUninit instead!*** //! //! **nodrop-union** is the untagged unions (requires Rust nightly channel and //! unstable as of this writing) implementation for the **nodrop** crate. diff --git a/nodrop/Cargo.toml b/nodrop/Cargo.toml index 9428b72..0db7b96 100644 --- a/nodrop/Cargo.toml +++ b/nodrop/Cargo.toml @@ -1,15 +1,19 @@ [package] name = "nodrop" -version = "0.1.13" +version = "0.1.14" authors = ["bluss"] license = "MIT/Apache-2.0" -description = "A wrapper type to inhibit drop (destructor). Use std::mem::ManuallyDrop instead!" +description = """ +A wrapper type to inhibit drop (destructor). + +***Deprecated: Use ManuallyDrop or MaybeUninit instead!*** +""" documentation = "https://docs.rs/nodrop/" repository = "https://github.com/bluss/arrayvec" -keywords = ["container", "drop", "no_std"] +keywords = [] categories = ["rust-patterns"] [features] @@ -33,3 +37,8 @@ optional = true [package.metadata.release] no-dev-version = true +tag-name = "nodrop-{{version}}" + + +[badges.maintenance] +status = "deprecated" diff --git a/nodrop/README.rst b/nodrop/README.rst index 2c2e63f..3886ba6 100644 --- a/nodrop/README.rst +++ b/nodrop/README.rst @@ -5,6 +5,15 @@ nodrop Recent Changes (nodrop) ----------------------- +- 0.1.14 + + - Mark nodrop deprecated + + With the release of arrayvec 0.5, nodrop is unused. + + With the release of Rust 1.36 and MaybeUninit, nodrop has no + purpose (but for older Rust releases). + - 0.1.13 - Update to include license files in the crate by @ignatenkobrain diff --git a/nodrop/src/lib.rs b/nodrop/src/lib.rs index 433905e..a1a1547 100644 --- a/nodrop/src/lib.rs +++ b/nodrop/src/lib.rs @@ -1,3 +1,6 @@ +//! A wrapper type to inhibit drop (destructor). +//! +//! ***Deprecated: Use ManuallyDrop or MaybeUninit instead!*** //! //! The **nodrop** crate has the following cargo feature flags: //!