[workspace] resolver = "2" [workspace.package] license = "MIT OR Apache-2.0" edition = "2021" rust-version = "1.73" # MSRV 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 "] 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="", replace="\n## [Unreleased] - ReleaseDate\n", exactly=1}, {file="CHANGELOG.md", search="", replace="\n[Unreleased]: https://github.com/cobalt-org/kstring/compare/{{tag_name}}...HEAD", exactly=1}, ] [features] default = ["std", "unsafe"] ## Allow use of `std` std = [] ## O(1) clone support arc = [] ## Inline (stack) strings use the full width of `KString`s max_inline = [] ## Allow unsafe code unsafe = [] unstable_bench_subset = [] [dependencies] static_assertions = "1.1.0" ## `serde` compatibility 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