| 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 = "2024" |
| 14 |
rust-version = "1.85" |
| 15 |
name = "ordermap" |
| 16 |
version = "1.2.0" |
| 17 |
build = false |
| 18 |
autolib = false |
| 19 |
autobins = false |
| 20 |
autoexamples = false |
| 21 |
autotests = false |
| 22 |
autobenches = false |
| 23 |
description = "A hash table with consistent order and fast iteration." |
| 24 |
documentation = "https://docs.rs/ordermap/" |
| 25 |
readme = "README.md" |
| 26 |
keywords = [ |
| 27 |
"hashmap", |
| 28 |
"no_std", |
| 29 |
] |
| 30 |
categories = [ |
| 31 |
"data-structures", |
| 32 |
"no-std", |
| 33 |
] |
| 34 |
license = "Apache-2.0 OR MIT" |
| 35 |
repository = "https://github.com/indexmap-rs/ordermap" |
| 36 |
|
| 37 |
[package.metadata.release] |
| 38 |
allow-branch = ["main"] |
| 39 |
sign-tag = true |
| 40 |
tag-name = "{{version}}" |
| 41 |
|
| 42 |
[package.metadata.docs.rs] |
| 43 |
features = [ |
| 44 |
"arbitrary", |
| 45 |
"serde", |
| 46 |
"rayon", |
| 47 |
"sval", |
| 48 |
] |
| 49 |
rustdoc-args = [ |
| 50 |
"--cfg", |
| 51 |
"docsrs", |
| 52 |
] |
| 53 |
|
| 54 |
[features] |
| 55 |
arbitrary = [ |
| 56 |
"dep:arbitrary", |
| 57 |
"indexmap/arbitrary", |
| 58 |
] |
| 59 |
default = ["std"] |
| 60 |
rayon = [ |
| 61 |
"dep:rayon", |
| 62 |
"indexmap/rayon", |
| 63 |
] |
| 64 |
serde = [ |
| 65 |
"dep:serde_core", |
| 66 |
"dep:serde", |
| 67 |
"indexmap/serde", |
| 68 |
] |
| 69 |
std = ["indexmap/std"] |
| 70 |
sval = [ |
| 71 |
"dep:sval", |
| 72 |
"indexmap/sval", |
| 73 |
] |
| 74 |
|
| 75 |
[lib] |
| 76 |
name = "ordermap" |
| 77 |
path = "src/lib.rs" |
| 78 |
bench = false |
| 79 |
|
| 80 |
[[test]] |
| 81 |
name = "equivalent_trait" |
| 82 |
path = "tests/equivalent_trait.rs" |
| 83 |
|
| 84 |
[[test]] |
| 85 |
name = "macros_full_path" |
| 86 |
path = "tests/macros_full_path.rs" |
| 87 |
|
| 88 |
[[test]] |
| 89 |
name = "tests" |
| 90 |
path = "tests/tests.rs" |
| 91 |
|
| 92 |
[[disabled.bench]] |
| 93 |
name = "bench" |
| 94 |
path = "benches/bench.rs" |
| 95 |
|
| 96 |
[[disabled.bench]] |
| 97 |
name = "faststring" |
| 98 |
path = "benches/faststring.rs" |
| 99 |
|
| 100 |
[dependencies.arbitrary] |
| 101 |
version = "1.0" |
| 102 |
optional = true |
| 103 |
default-features = false |
| 104 |
|
| 105 |
[dependencies.borsh] |
| 106 |
version = "1.5.6" |
| 107 |
optional = true |
| 108 |
default-features = false |
| 109 |
|
| 110 |
[dependencies.indexmap] |
| 111 |
version = "2.14.0" |
| 112 |
default-features = false |
| 113 |
|
| 114 |
[dependencies.quickcheck] |
| 115 |
version = "1.0" |
| 116 |
optional = true |
| 117 |
default-features = false |
| 118 |
|
| 119 |
[dependencies.rayon] |
| 120 |
version = "1.9" |
| 121 |
optional = true |
| 122 |
|
| 123 |
[dependencies.serde_core] |
| 124 |
version = "1.0.220" |
| 125 |
optional = true |
| 126 |
default-features = false |
| 127 |
|
| 128 |
[dependencies.sval] |
| 129 |
version = "2" |
| 130 |
optional = true |
| 131 |
default-features = false |
| 132 |
|
| 133 |
[dev-dependencies.fastrand] |
| 134 |
version = "2" |
| 135 |
default-features = false |
| 136 |
|
| 137 |
[dev-dependencies.fnv] |
| 138 |
version = "1.0" |
| 139 |
|
| 140 |
[dev-dependencies.itertools] |
| 141 |
version = "0.14" |
| 142 |
|
| 143 |
[dev-dependencies.serde] |
| 144 |
version = "1.0" |
| 145 |
features = ["derive"] |
| 146 |
default-features = false |
| 147 |
|
| 148 |
[target."cfg(any())".dependencies.serde] |
| 149 |
version = "1.0.220" |
| 150 |
optional = true |
| 151 |
default-features = false |
| 152 |
|
| 153 |
[lints.clippy] |
| 154 |
style = "allow" |
| 155 |
|
| 156 |
[lints.rust] |
| 157 |
private-bounds = "deny" |
| 158 |
private-interfaces = "deny" |
| 159 |
rust-2018-idioms = "warn" |
| 160 |
unnameable-types = "deny" |
| 161 |
unreachable-pub = "deny" |
| 162 |
unsafe-code = "deny" |
| 163 |
|
| 164 |
[profile.bench] |
| 165 |
debug = 2 |