Source code

Revision control

Copy as Markdown

Other Tools

[package]
name = "thin-vec"
version = "0.2.16"
authors = ["Aria Beingessner <a.beingessner@gmail.com>"]
edition = "2018"
rust-version = "1.53"
description = "A Vec that takes up less space on the stack."
readme = "README.md"
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)'] }