[go: up one dir, main page]

smol_str 0.3.3

small-string optimized string type with O(1) clone
[[bench]]
harness = false
name = "bench"
path = "benches/bench.rs"

[dependencies.arbitrary]
optional = true
version = "1.3"

[dependencies.borsh]
default-features = false
optional = true
version = "1.4.0"

[dependencies.serde_core]
default-features = false
optional = true
version = "1.0.220"

[dev-dependencies.criterion]
version = "0.7"

[dev-dependencies.proptest]
version = "1.5"

[dev-dependencies.rand]
version = "0.9.2"

[dev-dependencies.serde]
features = ["derive"]
version = "1.0"

[dev-dependencies.serde_json]
version = "1.0"

[features]
default = ["std"]
serde = ["dep:serde_core"]
std = ["serde_core?/std", "borsh?/std"]

[lib]
name = "smol_str"
path = "src/lib.rs"

[package]
authors = ["Aleksey Kladov <aleksey.kladov@gmail.com>", "Lukas Wirth <lukastw97@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "small-string optimized string type with O(1) clone"
edition = "2021"
license = "MIT OR Apache-2.0"
name = "smol_str"
readme = "README.md"
repository = "https://github.com/rust-analyzer/smol_str"
version = "0.3.3"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[profile.bench]
lto = "fat"

[[test]]
name = "test"
path = "tests/test.rs"

[[test]]
name = "tidy"
path = "tests/tidy.rs"