| Crates.io | sensitive_url |
| lib.rs | sensitive_url |
| version | 0.1.0 |
| created_at | 2025-11-05 16:43:03.640129+00 |
| updated_at | 2025-11-05 16:43:03.640129+00 |
| description | Automatically redact sensitive information from URLs. |
| homepage | |
| repository | https://github.com/sigp/sensitive_url |
| max_upload_size | |
| id | 1918235 |
| size | 21,056 |
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.