[package]
edition = "2024"
rust-version = "1.85.1"
name = "pct-str"
version = "3.0.0"
authors = ["Timothée Haudebourg <author@haudebourg.net>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Percent-encoded strings for URL, URI, IRI, etc."
documentation = "https://docs.rs/pct-str"
readme = "README.md"
keywords = [
"percent",
"percent-encoded",
"encode",
"decode",
"string",
]
categories = [
"web-programming",
"encoding",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/timothee-haudebourg/pct-str"
[features]
default = ["std"]
std = ["utf8-decode/std"]
[lib]
name = "pct_str"
path = "src/lib.rs"
[[example]]
name = "encode"
path = "examples/encode.rs"
[[example]]
name = "str"
path = "examples/str.rs"
[[example]]
name = "string"
path = "examples/string.rs"
[dependencies.thiserror]
version = "1.0.40"
[dependencies.utf8-decode]
version = "2.0.0"
default-features = false