[package] name = "smallvec" version = "1.16.1" edition = "2018" authors = ["The Servo Project Developers"] license = "MIT OR Apache-2.0" repository = "https://github.com/servo/rust-smallvec" description = "'Small vector' optimization: store up to a small number of items on the stack" keywords = ["small", "vec", "vector", "stack", "no_std"] categories = ["data-structures"] readme = "README.md" documentation = "https://docs.rs/smallvec/" include = ["Cargo.toml", "LICENSE-MIT", "LICENSE-APACHE", "README.md", "src/**/*.rs"] [features] const_generics = [] const_new = ["const_generics"] write = [] union = [] specialization = [] may_dangle = [] drain_filter = [] drain_keep_rest = ["drain_filter"] impl_bincode = ["bincode", "unty"] [dependencies] serde = { version = "1", optional = true, default-features = false } malloc_size_of = { version = "0.1", optional = true, default-features = false } arbitrary = { version = "1", optional = true } bincode = { version = "2", optional = true, default-features = false } unty = { version = "0.0.4", optional = true, default-features = false } [dev-dependencies] bincode1 = { package = "bincode", version = "1.0.1" } [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]