summaryrefslogtreecommitdiffstats
path: root/vendor/tinyvec/Cargo.toml
blob: 6c9c35e19c64b678c54a8944c828696716607a10 (plain)
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
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2018"
name = "tinyvec"
version = "1.6.0"
authors = ["Lokathor <zefria@gmail.com>"]
description = "`tinyvec` provides 100% safe vec-like data structures."
readme = "README.md"
keywords = [
    "vec",
    "no_std",
    "no-std",
]
categories = [
    "data-structures",
    "no-std",
]
license = "Zlib OR Apache-2.0 OR MIT"
repository = "https://github.com/Lokathor/tinyvec"

[package.metadata.docs.rs]
features = [
    "alloc",
    "std",
    "grab_spare_slice",
    "rustc_1_40",
    "rustc_1_55",
    "serde",
]
rustdoc-args = [
    "--cfg",
    "docs_rs",
]

[package.metadata.playground]
features = [
    "alloc",
    "std",
    "grab_spare_slice",
    "rustc_1_40",
    "rustc_1_55",
    "serde",
]

[profile.bench]
debug = 2

[profile.test]
opt-level = 3

[[test]]
name = "tinyvec"
required-features = [
    "alloc",
    "std",
]

[[bench]]
name = "macros"
harness = false
required-features = ["alloc"]

[[bench]]
name = "smallvec"
harness = false
required-features = [
    "alloc",
    "real_blackbox",
]

[dependencies.arbitrary]
version = "1"
optional = true

[dependencies.serde]
version = "1.0"
optional = true
default-features = false

[dependencies.tinyvec_macros]
version = "0.1"
optional = true

[dev-dependencies.criterion]
version = "0.3.0"

[dev-dependencies.serde_test]
version = "1.0"

[dev-dependencies.smallvec]
version = "1"

[features]
alloc = ["tinyvec_macros"]
default = []
experimental_write_impl = []
grab_spare_slice = []
nightly_slice_partition_dedup = []
real_blackbox = ["criterion/real_blackbox"]
rustc_1_40 = []
rustc_1_55 = ["rustc_1_40"]
rustc_1_57 = ["rustc_1_55"]
std = ["alloc"]