1[package] 2name = "smallvec" 3version = "1.13.1" 4edition = "2018" 5authors = ["The Servo Project Developers"] 6license = "MIT OR Apache-2.0" 7repository = "https://github.com/servo/rust-smallvec" 8description = "'Small vector' optimization: store up to a small number of items on the stack" 9keywords = ["small", "vec", "vector", "stack", "no_std"] 10categories = ["data-structures"] 11readme = "README.md" 12documentation = "https://docs.rs/smallvec/" 13 14[features] 15const_generics = [] 16const_new = ["const_generics"] 17write = [] 18union = [] 19specialization = [] 20may_dangle = [] 21drain_filter = [] 22drain_keep_rest = ["drain_filter"] 23 24# UNSTABLE FEATURES (requires Rust nightly) 25# Enable to use the #[debugger_visualizer] attribute. 26debugger_visualizer = [] 27 28[dependencies] 29serde = { version = "1", optional = true, default-features = false } 30arbitrary = { version = "1", optional = true } 31 32[dev_dependencies] 33bincode = "1.0.1" 34debugger_test = "0.1.0" 35debugger_test_parser = "0.1.0" 36 37[package.metadata.docs.rs] 38all-features = true 39rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] 40 41[[test]] 42name = "debugger_visualizer" 43path = "tests/debugger_visualizer.rs" 44required-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. 50test = false 51