Files
arrayvec/nodrop/Cargo.toml
T
bluss 57348a2677 nodrop: Add nightly feature use_union
Use a separate crate (nodrop-union) so that we can conditionally use the
new union keyword without disrupting compatibility.
2016-09-06 11:41:47 +02:00

35 lines
710 B
TOML

[package]
name = "nodrop"
version = "0.1.7"
authors = ["bluss"]
license = "MIT/Apache-2.0"
description = "A wrapper type to inhibit drop (destructor)."
documentation = "http://bluss.github.io/arrayvec/doc/nodrop"
repository = "https://github.com/bluss/arrayvec"
keywords = ["container", "drop", "no_std"]
[features]
default = ["std"]
# Default, requires Rust 1.6+ to disable
# Use libstd
std = ["odds/std"]
# Optional, nightly channel
# Use `needs_drop` to skip overwriting if not necessary
use_needs_drop = []
# Optional, nightly channel
use_union = ["nodrop-union"]
[dependencies.odds]
version = "0.2.12"
default-features = false
[dependencies.nodrop-union]
path = "../nodrop-union"
optional = true