[package]
edition = "2024"
name = "strid"
version = "8.0.0"
authors = ["Marcus Griep <marcus@griep.us>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Improve and strengthen your strings by making them strongly-typed with less boilerplate"
readme = "README.md"
keywords = [
"string",
"newtype",
"validation",
"normalization",
]
categories = [
"data-structures",
"rust-patterns",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/bearcove/strid"
[package.metadata.docs.rs]
rustdoc-args = [
"--cfg",
"docsrs",
]
[package.metadata."docs.rs"]
rustdoc-args = [
"--html-in-header",
"arborium-header.html",
]
[features]
alloc = []
default = ["alloc"]
[lib]
name = "strid"
path = "src/lib.rs"
[[test]]
name = "basic"
path = "tests/basic.rs"
[[test]]
name = "jumble"
path = "tests/jumble.rs"
[[test]]
name = "normalized"
path = "tests/normalized.rs"
[[test]]
name = "too_many_braids"
path = "tests/too_many_braids.rs"
[[test]]
name = "validated"
path = "tests/validated.rs"
[dependencies.facet]
version = "0.43"
features = ["bytes"]
[dependencies.strid-macros]
version = "8.0.0"
[dev-dependencies.bytes]
version = "1"
[dev-dependencies.bytestring]
version = "1.5"
[dev-dependencies.compact_str]
version = "0.9"
[dev-dependencies.quickcheck]
version = "1"
[dev-dependencies.quickcheck_macros]
version = "1.1.0"
[dev-dependencies.serde]
version = "1"
features = ["derive"]
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.smartstring]
version = "1"
[dev-dependencies.static_assertions]
version = "1"