Debian Codegraph @

third_party/rust/tinyvec/Cargo.toml

raw
1 # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2 #
3 # When uploading crates to the registry Cargo will automatically
4 # "normalize" Cargo.toml files for maximal compatibility
5 # with all versions of Cargo and also rewrite `path` dependencies
6 # to registry (e.g., crates.io) dependencies.
7 #
8 # If you are reading this file be aware that the original Cargo.toml
9 # will likely look very different (and much more reasonable).
10 # See Cargo.toml.orig for the original contents.
11
12 [package]
13 edition = "2018"
14 name = "tinyvec"
15 version = "1.9.0"
16 authors = ["Lokathor <[email protected]>"]
17 build = false
18 exclude = [
19 "/.github",
20 "/*.py",
21 "/*.sh",
22 "/src-backup",
23 ]
24 autolib = false
25 autobins = false
26 autoexamples = false
27 autotests = false
28 autobenches = false
29 description = "`tinyvec` provides 100% safe vec-like data structures."
30 readme = "README.md"
31 keywords = [
32 "vec",
33 "no_std",
34 "no-std",
35 ]
36 categories = [
37 "data-structures",
38 "no-std",
39 ]
40 license = "Zlib OR Apache-2.0 OR MIT"
41 repository = "https://github.com/Lokathor/tinyvec"
42
43 [package.metadata.docs.rs]
44 features = [
45 "alloc",
46 "std",
47 "grab_spare_slice",
48 "latest_stable_rust",
49 "serde",
50 "borsh",
51 ]
52 rustdoc-args = [
53 "--cfg",
54 "docs_rs",
55 ]
56
57 [package.metadata.playground]
58 features = [
59 "alloc",
60 "std",
61 "grab_spare_slice",
62 "latest_stable_rust",
63 "serde",
64 "borsh",
65 ]
66
67 [features]
68 alloc = ["tinyvec_macros"]
69 debugger_visualizer = []
70 default = []
71 experimental_write_impl = []
72 grab_spare_slice = []
73 latest_stable_rust = ["rustc_1_61"]
74 nightly_slice_partition_dedup = []
75 real_blackbox = ["criterion/real_blackbox"]
76 rustc_1_40 = []
77 rustc_1_55 = ["rustc_1_40"]
78 rustc_1_57 = ["rustc_1_55"]
79 rustc_1_61 = ["rustc_1_57"]
80 std = ["alloc"]
81
82 [lib]
83 name = "tinyvec"
84 path = "src/lib.rs"
85
86 [[test]]
87 name = "arrayvec"
88 path = "tests/arrayvec.rs"
89
90 [[test]]
91 name = "debugger_visualizer"
92 path = "tests/debugger_visualizer.rs"
93 test = false
94 required-features = ["debugger_visualizer"]
95
96 [[test]]
97 name = "tinyvec"
98 path = "tests/tinyvec.rs"
99 required-features = [
100 "alloc",
101 "std",
102 ]
103
104 [[bench]]
105 name = "macros"
106 path = "benches/macros.rs"
107 harness = false
108 required-features = ["alloc"]
109
110 [[bench]]
111 name = "smallvec"
112 path = "benches/smallvec.rs"
113 harness = false
114 required-features = [
115 "alloc",
116 "real_blackbox",
117 ]
118
119 [dependencies.arbitrary]
120 version = "1"
121 optional = true
122
123 [dependencies.borsh]
124 version = "1.2.0"
125 optional = true
126 default-features = false
127
128 [dependencies.generic-array]
129 version = "1.1.1"
130 optional = true
131 default-features = false
132
133 [dependencies.serde]
134 version = "1.0"
135 optional = true
136 default-features = false
137
138 [dependencies.tinyvec_macros]
139 version = "0.1"
140 optional = true
141
142 [dev-dependencies.criterion]
143 version = "0.3.0"
144
145 [dev-dependencies.debugger_test]
146 version = "0.1"
147
148 [dev-dependencies.debugger_test_parser]
149 version = "0.1"
150
151 [dev-dependencies.serde_test]
152 version = "1.0"
153
154 [dev-dependencies.smallvec]
155 version = "1"
156
157 [profile.bench]
158 debug = 2