FEAT: nodrop: No odds dependency
Copy the required unreachable and debug assertion; saves us dependency on odds. We could also depend on crate unreachable, but that adds dep on 2 microcrates.
This commit is contained in:
+1
-5
@@ -17,7 +17,7 @@ default = ["std"]
|
||||
|
||||
# Default, requires Rust 1.6+ to disable
|
||||
# Use libstd
|
||||
std = ["odds/std"]
|
||||
std = []
|
||||
|
||||
# Optional, Rust 1.21.0
|
||||
# Use `needs_drop` to skip overwriting if not necessary
|
||||
@@ -26,10 +26,6 @@ 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"
|
||||
version = "0.1.8"
|
||||
|
||||
Reference in New Issue
Block a user