-
Notifications
You must be signed in to change notification settings - Fork 20
/
Cargo.toml
121 lines (99 loc) · 2.51 KB
/
Cargo.toml
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
[package]
name = "staticvec"
description = "Implements a fixed-capacity stack-allocated Vec alternative backed by an array, using const generics."
repository = "https://github.com/slightlyoutofphase/staticvec"
documentation = "https://docs.rs/staticvec/"
license = "MIT OR Apache-2.0"
readme = "README.md"
version = "0.11.9"
authors = ["SlightlyOutOfPhase <[email protected]>"]
keywords = ["vec", "array", "no_std", "vector", "stack"]
categories = ["data-structures", "no-std"]
edition = "2021"
include = ["Cargo.toml", "rustfmt.toml", "src/**/*.rs", "README.md", "LICENSE-APACHE", "LICENSE-MIT"]
[badges.maintenance]
status = "actively-developed"
[badges.appveyor]
repository = "slightlyoutofphase/staticvec"
[package.metadata.docs.rs]
features = ["std", "serde"]
[profile.release]
opt-level = 3
debug = false
rpath = false
lto = true
debug-assertions = false
codegen-units = 1
panic = 'abort'
incremental = false
overflow-checks = false
[profile.dev]
opt-level = 0
debug = true
rpath = false
lto = false
debug-assertions = true
codegen-units = 16
panic = 'unwind'
incremental = false
overflow-checks = true
[profile.bench]
opt-level = 3
debug = false
rpath = false
lto = true
debug-assertions = false
codegen-units = 1
incremental = false
overflow-checks = false
[profile.test]
incremental = false
[features]
std = []
default = ["std"]
[[test]]
name = "test_staticvec"
path = "test/test_staticvec.rs"
[[test]]
name = "test_staticstring"
path = "test/test_staticstring.rs"
[[test]]
name = "test_staticheap"
path = "test/test_staticheap.rs"
[[bench]]
name = "arrayvec_arraystring_suite"
path = "benchmark/arrayvec_arraystring_suite.rs"
[[bench]]
name = "arrayvec_extend_suite"
path = "benchmark/arrayvec_extend_suite.rs"
[[bench]]
name = "clone_suite"
path = "benchmark/clone_suite.rs"
[[bench]]
name = "push_pop_suite"
path = "benchmark/push_pop_suite.rs"
[[bench]]
name = "smallvec_full_suite"
path = "benchmark/smallvec_full_suite.rs"
[[bench]]
name = "heap_suite"
path = "benchmark/heap_suite.rs"
[[example]]
name = "main_demo"
path = "demo/main_demo.rs"
required-features = ["std"]
[[example]]
name = "string_demo"
path = "demo/string_demo.rs"
required-features = ["std"]
[[example]]
name = "serde_support_demo"
path = "demo/serde_support_demo.rs"
required-features = ["std", "serde", "serde_json"]
[dependencies]
serde = { optional = true, version = "1.0", features = ["derive"] }
serde_json = { optional = true, version = "1.0" }
[dev-dependencies]
# These are used in the test suite.
cool_asserts = "1.1.1"
oorandom = "11.1.3"