Debian Codegraph @

.cargo/vendor/smallvec/Cargo.toml.orig

raw
1 [package]
2 name = "smallvec"
3 version = "1.13.2"
4 edition = "2018"
5 authors = ["The Servo Project Developers"]
6 license = "MIT OR Apache-2.0"
7 repository = "https://github.com/servo/rust-smallvec"
8 description = "'Small vector' optimization: store up to a small number of items on the stack"
9 keywords = ["small", "vec", "vector", "stack", "no_std"]
10 categories = ["data-structures"]
11 readme = "README.md"
12 documentation = "https://docs.rs/smallvec/"
13
14 [features]
15 const_generics = []
16 const_new = ["const_generics"]
17 write = []
18 union = []
19 specialization = []
20 may_dangle = []
21 drain_filter = []
22 drain_keep_rest = ["drain_filter"]
23
24 # UNSTABLE FEATURES (requires Rust nightly)
25 # Enable to use the #[debugger_visualizer] attribute.
26 debugger_visualizer = []
27
28 [dependencies]
29 serde = { version = "1", optional = true, default-features = false }
30 arbitrary = { version = "1", optional = true }
31
32 [dev_dependencies]
33 bincode = "1.0.1"
34 debugger_test = "0.1.0"
35 debugger_test_parser = "0.1.0"
36
37 [package.metadata.docs.rs]
38 all-features = true
39 rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]
40
41 [[test]]
42 name = "debugger_visualizer"
43 path = "tests/debugger_visualizer.rs"
44 required-features = ["debugger_visualizer"]
45 # Do not run these tests by default. These tests need to
46 # be run with the additional rustc flag `--test-threads=1`
47 # since each test causes a debugger to attach to the current
48 # test process. If multiple debuggers try to attach at the same
49 # time, the test will fail.
50 test = false