[workspace]
resolver = "2"
[workspace.package]
license = "MIT OR Apache-2.0"
edition = "2021"
rust-version = "1.73"
include = [
"build.rs",
"src/**/*",
"Cargo.toml",
"Cargo.lock",
"LICENSE*",
"README.md",
"benches/**/*",
"examples/**/*"
]
[package]
name = "kstring"
version = "2.0.2"
description = "Key String: optimized for map keys"
authors = ["Ed Page <eopage@gmail.com>"]
repository = "https://github.com/cobalt-org/kstring"
documentation = "https://docs.rs/kstring"
readme = "README.md"
license.workspace = true
edition.workspace = true
rust-version.workspace = true
include.workspace = true
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[package.metadata.release]
pre-release-replacements = [
{file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1},
{file="CHANGELOG.md", search="\\.\\.\\.HEAD", replace="...{{tag_name}}", exactly=1},
{file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1},
{file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## [Unreleased] - ReleaseDate\n", exactly=1},
{file="CHANGELOG.md", search="<!-- next-url -->", replace="<!-- next-url -->\n[Unreleased]: https://github.com/cobalt-org/kstring/compare/{{tag_name}}...HEAD", exactly=1},
]
[features]
default = ["std", "unsafe"]
std = []
arc = []
max_inline = []
unsafe = []
unstable_bench_subset = []
[dependencies]
static_assertions = "1.1.0"
serde = { version = "1.0", optional = true }
document-features = { version = "0.2", optional = true }
[dev-dependencies]
criterion = "0.5"
proptest = "1.4.0"
[[bench]]
name = "clone"
harness = false
[[bench]]
name = "access"
harness = false
[profile.release]
debug = 1