[package]
edition = "2024"
rust-version = "1.85"
name = "ordermap"
version = "1.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A hash table with consistent order and fast iteration."
documentation = "https://docs.rs/ordermap/"
readme = "README.md"
keywords = [
"hashmap",
"no_std",
]
categories = [
"data-structures",
"no-std",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/indexmap-rs/ordermap"
[package.metadata.release]
allow-branch = ["main"]
sign-tag = true
tag-name = "{{version}}"
[package.metadata.docs.rs]
features = [
"arbitrary",
"quickcheck",
"serde",
"borsh",
"rayon",
"sval",
]
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
arbitrary = [
"dep:arbitrary",
"indexmap/arbitrary",
]
borsh = [
"dep:borsh",
"borsh/indexmap",
]
default = ["std"]
quickcheck = [
"dep:quickcheck",
"indexmap/quickcheck",
]
rayon = [
"dep:rayon",
"indexmap/rayon",
]
serde = [
"dep:serde_core",
"dep:serde",
"indexmap/serde",
]
std = ["indexmap/std"]
sval = [
"dep:sval",
"indexmap/sval",
]
[lib]
name = "ordermap"
path = "src/lib.rs"
bench = false
[[test]]
name = "equivalent_trait"
path = "tests/equivalent_trait.rs"
[[test]]
name = "macros_full_path"
path = "tests/macros_full_path.rs"
[[test]]
name = "quick"
path = "tests/quick.rs"
[[test]]
name = "tests"
path = "tests/tests.rs"
[[bench]]
name = "bench"
path = "benches/bench.rs"
[[bench]]
name = "faststring"
path = "benches/faststring.rs"
[dependencies.arbitrary]
version = "1.0"
optional = true
default-features = false
[dependencies.borsh]
version = "1.5.6"
optional = true
default-features = false
[dependencies.indexmap]
version = "2.14.0"
default-features = false
[dependencies.quickcheck]
version = "1.0"
optional = true
default-features = false
[dependencies.rayon]
version = "1.9"
optional = true
[dependencies.serde_core]
version = "1.0.220"
optional = true
default-features = false
[dependencies.sval]
version = "2"
optional = true
default-features = false
[dev-dependencies.fastrand]
version = "2"
default-features = false
[dev-dependencies.fnv]
version = "1.0"
[dev-dependencies.itertools]
version = "0.14"
[dev-dependencies.quickcheck]
version = "~1.0"
default-features = false
[dev-dependencies.serde]
version = "1.0"
features = ["derive"]
default-features = false
[target."cfg(any())".dependencies.serde]
version = "1.0.220"
optional = true
default-features = false
[lints.clippy]
style = "allow"
[lints.rust]
private-bounds = "deny"
private-interfaces = "deny"
rust-2018-idioms = "warn"
unnameable-types = "deny"
unreachable-pub = "deny"
unsafe-code = "deny"
[profile.bench]
debug = 2