-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy pathCargo.toml
More file actions
32 lines (27 loc) · 957 Bytes
/
Cargo.toml
File metadata and controls
32 lines (27 loc) · 957 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
[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"
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)'] }