nodrop, nodrop-union: Mark deprecated

With the release of arrayvec 0.5, these crates are unused.

With the release of Rust 1.36 and MaybeUninit, these crates have no
purpose (but for older Rust releases).
This commit is contained in:
bluss
2019-10-09 09:22:33 +02:00
parent 87ad71366c
commit c110696a96
6 changed files with 47 additions and 7 deletions
+12 -3
View File
@@ -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"
+9
View File
@@ -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
+3
View File
@@ -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:
//!