sensitive_url

Crates.iosensitive_url
lib.rssensitive_url
version0.1.0
created_at2025-11-05 16:43:03.640129+00
updated_at2025-11-05 16:43:03.640129+00
descriptionAutomatically redact sensitive information from URLs.
homepage
repositoryhttps://github.com/sigp/sensitive_url
max_upload_size
id1918235
size21,056
Mac L (macladson)

documentation

https://docs.rs/sensitive_url

README

sensitive_url

CI Crates.io Documentation

A Rust library that provides a URL wrapper which automatically redacts sensitive information (credentials, paths, and query parameters) when displaying or debugging URLs. SensitiveUrl stores both the full URL and a redacted version containing only the scheme, host, and port. In order to get the full URL, you must explicitly call expose_full(). This helps prevent accidental leakage of credentials in logs.

Commit count: 0

cargo fmt