Skip to content

Commit c110696

Browse files
committed
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).
1 parent 87ad713 commit c110696

File tree

6 files changed

+47
-7
lines changed

6 files changed

+47
-7
lines changed

nodrop-union/Cargo.toml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,22 @@
11
[package]
22
name = "nodrop-union"
3-
version = "0.1.10"
3+
version = "0.1.11"
44
authors = ["bluss"]
55

66
license = "MIT/Apache-2.0"
77

8-
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."
9-
documentation = "http://bluss.github.io/arrayvec/doc/nodrop_union"
8+
description = """
9+
A wrapper type to inhibit drop (destructor). Implementation crate for nodrop, the untagged unions implementation (which is unstable / requires nightly) as of this writing.
10+
11+
***Deprecated: Use ManuallyDrop or MaybeUninit instead!***
12+
"""
1013
repository = "https://github.com/bluss/arrayvec"
1114

12-
keywords = ["container", "drop", "no_std"]
15+
keywords = []
1316

1417
[package.metadata.release]
1518
no-dev-version = true
19+
tag-name = "nodrop-union-{{version}}"
20+
21+
[badges.maintenance]
22+
status = "deprecated"

nodrop-union/README.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22
Recent Changes (nodrop-union)
33
-----------------------
44

5+
- 0.1.11
6+
7+
- Mark nodrop deprecated
8+
9+
With the release of arrayvec 0.5, nodrop is unused.
10+
11+
With the release of Rust 1.36 and MaybeUninit, nodrop-union has no
12+
purpose at all (it was only for nightly releases).
13+
514
- 0.1.10
615

716
- Update to include license files in the crate by @ignatenkobrain

nodrop-union/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
//! A wrapper type to inhibit drop (destructor).
2+
//!
3+
//! ***Deprecated: Use ManuallyDrop or MaybeUninit instead!***
14
//!
25
//! **nodrop-union** is the untagged unions (requires Rust nightly channel and
36
//! unstable as of this writing) implementation for the **nodrop** crate.

nodrop/Cargo.toml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
11
[package]
22
name = "nodrop"
3-
version = "0.1.13"
3+
version = "0.1.14"
44
authors = ["bluss"]
55

66
license = "MIT/Apache-2.0"
77

8-
description = "A wrapper type to inhibit drop (destructor). Use std::mem::ManuallyDrop instead!"
8+
description = """
9+
A wrapper type to inhibit drop (destructor).
10+
11+
***Deprecated: Use ManuallyDrop or MaybeUninit instead!***
12+
"""
913
documentation = "https://docs.rs/nodrop/"
1014
repository = "https://github.com/bluss/arrayvec"
1115

12-
keywords = ["container", "drop", "no_std"]
16+
keywords = []
1317
categories = ["rust-patterns"]
1418

1519
[features]
@@ -33,3 +37,8 @@ optional = true
3337

3438
[package.metadata.release]
3539
no-dev-version = true
40+
tag-name = "nodrop-{{version}}"
41+
42+
43+
[badges.maintenance]
44+
status = "deprecated"

nodrop/README.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,15 @@ nodrop
55
Recent Changes (nodrop)
66
-----------------------
77

8+
- 0.1.14
9+
10+
- Mark nodrop deprecated
11+
12+
With the release of arrayvec 0.5, nodrop is unused.
13+
14+
With the release of Rust 1.36 and MaybeUninit, nodrop has no
15+
purpose (but for older Rust releases).
16+
817
- 0.1.13
918

1019
- Update to include license files in the crate by @ignatenkobrain

nodrop/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
//! A wrapper type to inhibit drop (destructor).
2+
//!
3+
//! ***Deprecated: Use ManuallyDrop or MaybeUninit instead!***
14
//!
25
//! The **nodrop** crate has the following cargo feature flags:
36
//!

0 commit comments

Comments
 (0)