[package]
name = "iri-string"
version = "0.5.4"
authors = ["YOSHIOKA Takuma <nop_thread@nops.red>"]
edition = "2021"
rust-version = "1.58"
license = "MIT OR Apache-2.0"
readme = "README.md"
description = "IRI as string types"
repository = "https://github.com/lo48576/iri-string"
keywords = ["IRI", "URI"]
[package.metadata.docs.rs]
all-features = true
rustc-args = ["--cfg", "docsrs"]
[lib]
bench = false
[features]
default = ["std"]
alloc = []
std = ["alloc"]
memchr-std = ["std", "memchr/std"]
serde-alloc = ["alloc", "serde/alloc"]
serde-std = ["serde-alloc", "serde/std", "std"]
[dependencies]
memchr = { version = "2.4.1", default-features = false, optional = true }
serde = { version = "1.0.103", default-features = false, features = ["derive"], optional = true }
[dev-dependencies]
criterion = "0.3.5"
serde_test = "1.0.104"
[badges]
maintenance = { status = "actively-developed" }
[[example]]
name = "flamegraph-resolve"
required-features = ["alloc"]
[[example]]
name = "normalize"
required-features = ["std"]
[[example]]
name = "parse"
required-features = ["std"]
[[example]]
name = "resolve"
required-features = ["std"]
[[bench]]
name = "resolve"
harness = false
required-features = ["alloc"]
[[bench]]
name = "validate"
harness = false