uv/crates/uv-redacted/Cargo.toml
konsti de64f1dfa8
Use ref-cast for DisplaySafeUrl (#13696)
By default, Rust does not support safe cast from `&U` to `&T` for
`#[repr(transparent)] T(U)` even if the newtype opts in. The dtolnay
ref-cast crate fills this gap, allowing to remove `DisplaySafeUrlRef`.
2025-05-28 11:28:28 +00:00

25 lines
523 B
TOML

[package]
name = "uv-redacted"
version = "0.0.1"
edition = { workspace = true }
rust-version = { workspace = true }
homepage = { workspace = true }
documentation = { workspace = true }
repository = { workspace = true }
authors = { workspace = true }
license = { workspace = true }
[lib]
doctest = false
[lints]
workspace = true
[dependencies]
ref-cast = { workspace = true }
schemars = { workspace = true, optional = true }
serde = { workspace = true }
url = { workspace = true }
[features]
schemars = ["dep:schemars"]