1[package] 2name = "smallvec" 3version = "1.10.0" 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 = [] 21 22# UNSTABLE FEATURES (requires Rust nightly) 23# Enable to use the #[debugger_visualizer] attribute. 24debugger_visualizer = [] 25 26[dependencies] 27serde = { version = "1", optional = true, default-features = false } 28arbitrary = { version = "1", optional = true } 29 30[dev_dependencies] 31bincode = "1.0.1" 32debugger_test = "0.1.0" 33debugger_test_parser = "0.1.0" 34 35[package.metadata.docs.rs] 36all-features = true 37rustdoc-args = ["--cfg", "docsrs"] 38 39[[test]] 40name = "debugger_visualizer" 41path = "tests/debugger_visualizer.rs" 42required-features = ["debugger_visualizer"] 43# Do not run these tests by default. These tests need to 44# be run with the additional rustc flag `--test-threads=1` 45# since each test causes a debugger to attach to the current 46# test process. If multiple debuggers try to attach at the same 47# time, the test will fail. 48test = false 49