-
Notifications
You must be signed in to change notification settings - Fork 206
Expand file tree
/
Copy pathCargo.toml
More file actions
57 lines (48 loc) · 1.52 KB
/
Copy pathCargo.toml
File metadata and controls
57 lines (48 loc) · 1.52 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
[package]
name = "smallvec"
version = "2.0.0-alpha.12"
edition = "2024"
rust-version = "1.86"
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"]
exclude = [".gitignore", "tests/", "fuzz/", "benches/", ".github/"]
[features]
std = []
specialization = []
may_dangle = []
serde = ["dep:serde_core"]
internals = []
borsh = ["dep:borsh"]
[dependencies]
arbitrary = { version = "=1.4.2", optional = true, default-features = false }
borsh = { version = "=1.8.1", optional = true, features = ["derive", "unstable__schema"], default-features = false }
bytes = { version = "=1.12.1", optional = true, default-features = false }
defmt = { version = "=1.1.1", optional = true, default-features = false }
serde_core = { version = "=1.0.229", optional = true, default-features = false }
malloc_size_of = { version = "=0.1.1", optional = true, default-features = false }
[dev-dependencies]
serde_test = "=1.0.177"
criterion = "=0.8.2"
[[test]]
name = "arbitrary"
required-features = ["arbitrary"]
[[test]]
name = "bytes"
required-features = ["bytes"]
[[test]]
name = "serde"
required-features = ["serde"]
[[test]]
name = "std"
required-features = ["std"]
[[bench]]
name = "bench"
path = "benches/bench.rs"
harness = false
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]