[package]
edition = "2024"
rust-version = "1.85.0"
name = "str-newtype"
version = "2.0.0"
authors = ["Timothée Haudebourg <author@haudebourg.net>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Derive macro to define safe wrappers around string types"
documentation = "https://docs.rs/str-newtype"
readme = "README.md"
keywords = [
"parsing",
"abnf",
"derive",
"grammar",
"regular",
]
categories = ["parsing"]
license = "MIT/Apache-2.0"
repository = "https://github.com/timothee-haudebourg/str-newtype-rs"
[features]
default = ["std"]
std = []
[lib]
name = "str_newtype"
path = "src/lib.rs"
[[example]]
name = "iri"
path = "examples/iri.rs"
[dependencies.str-newtype-derive]
version = "2.0.0"
[dev-dependencies.static-automata]
version = "1.0"