]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Remove `[features]` from workspace Cargo.toml
authorAlex Crichton <alex@alexcrichton.com>
Tue, 2 Oct 2018 05:57:38 +0000 (22:57 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Tue, 2 Oct 2018 05:57:38 +0000 (22:57 -0700)
Unfortunately Cargo doesn't actually parse these! Cargo should probably
print a warning saying they're not used...

src/rust/Cargo.toml

index e399dbb33a22534f712afccd9963198c0f31c8f8..83f96296601ac0cf69c15a256fd931aaabf4526a 100644 (file)
@@ -13,19 +13,3 @@ members = [
 [profile.release]
 debug = true
 panic = "abort"
-
-[features]
-default = []
-# If this feature is enabled, test code which calls Tor C code from Rust will
-# execute with `cargo test`.  Due to numerous linker issues (#25386), this is
-# currently disabled by default.  Crates listed here are those which, in their
-# unittests, doctests, and/or integration tests, call C code.
-test-c-from-rust = [
-    "crypto/test-c-from-rust",
-]
-
-# We have to define a feature here because doctests don't get cfg(test),
-# and we need to disable some C dependencies when running the doctests
-# because of the various linker issues.  See
-# https://github.com/rust-lang/rust/issues/45599
-test_linking_hack = []