| 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.6.0" |
| 16 |
authors = ["Lokathor <[email protected]>"] |
| 17 |
description = "`tinyvec` provides 100% safe vec-like data structures." |
| 18 |
readme = "README.md" |
| 19 |
keywords = [ |
| 20 |
"vec", |
| 21 |
"no_std", |
| 22 |
"no-std", |
| 23 |
] |
| 24 |
categories = [ |
| 25 |
"data-structures", |
| 26 |
"no-std", |
| 27 |
] |
| 28 |
license = "Zlib OR Apache-2.0 OR MIT" |
| 29 |
repository = "https://github.com/Lokathor/tinyvec" |
| 30 |
|
| 31 |
[package.metadata.docs.rs] |
| 32 |
features = [ |
| 33 |
"alloc", |
| 34 |
"std", |
| 35 |
"grab_spare_slice", |
| 36 |
"rustc_1_40", |
| 37 |
"rustc_1_55", |
| 38 |
"serde", |
| 39 |
] |
| 40 |
rustdoc-args = [ |
| 41 |
"--cfg", |
| 42 |
"docs_rs", |
| 43 |
] |
| 44 |
|
| 45 |
[package.metadata.playground] |
| 46 |
features = [ |
| 47 |
"alloc", |
| 48 |
"std", |
| 49 |
"grab_spare_slice", |
| 50 |
"rustc_1_40", |
| 51 |
"rustc_1_55", |
| 52 |
"serde", |
| 53 |
] |
| 54 |
|
| 55 |
[profile.bench] |
| 56 |
debug = 2 |
| 57 |
|
| 58 |
[profile.test] |
| 59 |
opt-level = 3 |
| 60 |
|
| 61 |
[[test]] |
| 62 |
name = "tinyvec" |
| 63 |
required-features = [ |
| 64 |
"alloc", |
| 65 |
"std", |
| 66 |
] |
| 67 |
|
| 68 |
[[bench]] |
| 69 |
name = "macros" |
| 70 |
harness = false |
| 71 |
required-features = ["alloc"] |
| 72 |
|
| 73 |
[[bench]] |
| 74 |
name = "smallvec" |
| 75 |
harness = false |
| 76 |
required-features = [ |
| 77 |
"alloc", |
| 78 |
"real_blackbox", |
| 79 |
] |
| 80 |
|
| 81 |
[dependencies.arbitrary] |
| 82 |
version = "1" |
| 83 |
optional = true |
| 84 |
|
| 85 |
[dependencies.serde] |
| 86 |
version = "1.0" |
| 87 |
optional = true |
| 88 |
default-features = false |
| 89 |
|
| 90 |
[dependencies.tinyvec_macros] |
| 91 |
version = "0.1" |
| 92 |
optional = true |
| 93 |
|
| 94 |
[dev-dependencies.criterion] |
| 95 |
version = "0.3.0" |
| 96 |
|
| 97 |
[dev-dependencies.serde_test] |
| 98 |
version = "1.0" |
| 99 |
|
| 100 |
[dev-dependencies.smallvec] |
| 101 |
version = "1" |
| 102 |
|
| 103 |
[features] |
| 104 |
alloc = ["tinyvec_macros"] |
| 105 |
default = [] |
| 106 |
experimental_write_impl = [] |
| 107 |
grab_spare_slice = [] |
| 108 |
nightly_slice_partition_dedup = [] |
| 109 |
real_blackbox = ["criterion/real_blackbox"] |
| 110 |
rustc_1_40 = [] |
| 111 |
rustc_1_55 = ["rustc_1_40"] |
| 112 |
rustc_1_57 = ["rustc_1_55"] |
| 113 |
std = ["alloc"] |