sensitive_url 0.1.0

Automatically redact sensitive information from URLs.
Documentation
  • Coverage
  • 90%
    9 out of 10 items documented1 out of 6 items with examples
  • Size
  • Source code size: 20.58 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.25 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 33s Average build duration of successful builds.
  • all releases: 33s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • sigp/sensitive_url
    3 1 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • macladson

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.