Skip to content

Latest commit

 

History

History
8 lines (6 loc) · 753 Bytes

File metadata and controls

8 lines (6 loc) · 753 Bytes

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.