[workspace]
members = [
".",
"iri-string-tests",
"iri-string-benches",
]
[package]
name = "iri-string"
version = "0.7.7"
authors = ["YOSHIOKA Takuma <nop_thread@nops.red>"]
edition = "2021"
rust-version = "1.60"
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
rustdoc-args = ["--cfg", "docsrs"]
[lib]
bench = false
[features]
default = ["std"]
alloc = ["serde?/alloc"]
std = ["alloc", "memchr?/std", "serde?/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]
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"]