7 releases

new 0.2.1 Jul 8, 2025
0.2.0 Jul 6, 2025
0.1.3 Jul 5, 2025
0.1.2 Jun 16, 2025
0.0.0 May 8, 2025

#491 in Network programming

Download history 207/week @ 2025-05-03 274/week @ 2025-05-10 198/week @ 2025-05-17 217/week @ 2025-05-24 70/week @ 2025-05-31 324/week @ 2025-06-07 417/week @ 2025-06-14 255/week @ 2025-06-21 561/week @ 2025-06-28 663/week @ 2025-07-05

1,900 downloads per month
Used in 90 crates (via dogma)

Unlicense

21KB
430 lines

Known Schemes

License Compatibility Package Documentation

Well-known URI/IRI schemes for Rust.

✨ Features

  • Exports an enum for all well-known URI/IRI schemes (protocols).
  • Integrates seamlessly with popular crates like Serde and Clap.
  • Integrates seamlessly with all URI/IRI crates.
  • Supports opting out of any feature using comprehensive feature flags.
  • Adheres to the Rust API Guidelines in its naming conventions.
  • 100% free and unencumbered public domain software.

🛠️ Prerequisites

⬇️ Installation

Installation via Cargo

cargo add known-schemes

Installation in Cargo.toml (with all features enabled)

[dependencies]
known-schemes = "0.2"

Installation in Cargo.toml (with only specific features enabled)

[dependencies]
known-schemes = { version = "0.2", default-features = false, features = ["serde"] }

👉 Examples

Importing the library

use known_schemes;

📚 Reference

https://docs.rs/known-schemes

👨‍💻 Development

git clone https://github.com/known-facts/known-schemes.git

Share on X Share on Reddit Share on Hacker News Share on Facebook Share on LinkedIn

Dependencies

~0–2MB
~35K SLoC