[package]
edition = "2021"
rust-version = "1.84.0"
name = "cold-string"
version = "0.1.0"
authors = ["tomtomwombat"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A 1-word SSO string that saves up to 23 bytes over String."
homepage = "https://github.com/tomtomwombat/cold-string/"
readme = "README.md"
keywords = [
"string",
"compact",
"small",
"memory",
]
categories = [
"encoding",
"parsing",
"memory-management",
"text-processing",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/tomtomwombat/cold-string/"
[badges.maintenance]
status = "actively-developed"
[features]
default = ["std"]
serde = ["dep:serde"]
std = []
[lib]
name = "cold_string"
path = "src/lib.rs"
[[test]]
name = "common"
path = "tests/common.rs"
[[test]]
name = "memory"
path = "tests/memory.rs"
[[test]]
name = "property"
path = "tests/property.rs"
[[bench]]
name = "bench"
path = "benches/bench.rs"
harness = false
[[bench]]
name = "eq"
path = "benches/eq.rs"
harness = false
[dependencies.serde]
version = "1.0.228"
optional = true
[dev-dependencies.compact_str]
version = "0.9.0"
[dev-dependencies.compact_string]
version = "0.1.0"
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.fastrand]
version = "2.3.0"
[dev-dependencies.proptest]
version = "1.9.0"
[dev-dependencies.rand]
version = "0.8"
[dev-dependencies.serde_test]
version = "1.0.177"
[dev-dependencies.smol_str]
version = "0.3.5"
[dev-dependencies.sysinfo]
version = "0.38.2"