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