[package] name = "thin-vec" version = "0.2.16" authors = ["Aria Beingessner "] edition = "2018" rust-version = "1.53" description = "A Vec that takes up less space on the stack." readme = "README.md" homepage = "https://github.com/mozilla/thin-vec" repository = "https://github.com/mozilla/thin-vec" license = "MIT OR Apache-2.0" [features] unstable = [] default = ["std"] std = [] const_new = [] # Gecko specific features. These features cause thin-vec to have the same layout # and behaviour as nsTArray, allowing it to be used in C++ FFI. Requires # the empty header to be statically linked in with the symbol name "sEmptyTArrayHeader" gecko-ffi = [] [dependencies] serde = { version = "1.0", optional = true } malloc_size_of = { version = "0.1", default-features = false, optional = true } [dev-dependencies] serde_test = "1.0" [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_global_oom_handling)'] }