iref 4.0.0

Uniform & Internationalized Resource Identifiers (URIs/IRIs), borrowed and owned.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.89.0"
name = "iref"
version = "4.0.0"
authors = ["Timothée Haudebourg <author@haudebourg.net>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Uniform & Internationalized Resource Identifiers (URIs/IRIs), borrowed and owned."
documentation = "https://docs.rs/iref"
readme = "README.md"
keywords = [
    "iri",
    "uri",
    "url",
    "resource",
    "identifier",
]
categories = [
    "web-programming",
    "internationalization",
]
license = "MIT/Apache-2.0"
repository = "https://github.com/timothee-haudebourg/iref"

[package.metadata.docs.rs]
all-features = true

[features]
default = ["std"]
serde = ["dep:serde"]
std = [
    "pct-str/std",
    "str-newtype/std",
]
url = [
    "dep:url",
    "std",
]

[lib]
name = "iref"
path = "src/lib.rs"

[[example]]
name = "basic"
path = "examples/basic.rs"

[[example]]
name = "buffer"
path = "examples/buffer.rs"

[[example]]
name = "references"
path = "examples/references.rs"

[[example]]
name = "resolution"
path = "examples/resolution.rs"

[[example]]
name = "serde"
path = "examples/serde.rs"
required-features = ["serde"]

[dependencies.pct-str]
version = "3.0.1"
default-features = false

[dependencies.serde]
version = "1.0"
optional = true

[dependencies.smallvec]
version = "1.14.0"

[dependencies.static-automata]
version = "1.0"

[dependencies.str-newtype]
version = "2.0.0"
default-features = false

[dependencies.thiserror]
version = "2.0.12"

[dependencies.url]
version = "2"
optional = true

[dev-dependencies.serde]
version = "1.0"
features = ["derive"]

[dev-dependencies.serde_json]
version = "1.0"