[[bench]]
harness = false
name = "faststr"
path = "benches/faststr.rs"
[dependencies.bytes]
default-features = false
version = "1"
[dependencies.itoa]
optional = true
version = "1"
[dependencies.redis]
default-features = false
optional = true
version = "0.26"
[dependencies.ryu]
optional = true
version = "1"
[dependencies.serde]
default-features = false
optional = true
version = "1"
[dependencies.simdutf8]
default-features = false
features = ["aarch64_neon"]
version = "0.1"
[dev-dependencies.criterion]
features = ["html_reports"]
version = "0.5"
[dev-dependencies.static_assertions]
version = "1"
[features]
default = ["std"]
redis = ["std", "dep:redis", "itoa", "ryu"]
redis-unsafe = ["redis"]
serde = ["serde/alloc"]
serde-unsafe = ["serde"]
std = ["bytes/std", "simdutf8/std", "serde?/std"]
[lib]
name = "faststr"
path = "src/lib.rs"
[package]
authors = ["Volo Team <volo@cloudwego.io>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
description = "Faststr is a string library that reduces the cost of clone."
edition = "2021"
keywords = ["string", "str", "volo"]
license = "MIT OR Apache-2.0"
name = "faststr"
readme = "README.md"
repository = "https://github.com/volo-rs/faststr"
version = "0.2.23"
[profile.bench]
debug = 2
lto = true
opt-level = 3