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
1,900 downloads per month
Used in 90 crates
(via dogma)
21KB
430 lines
Known Schemes
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
- Rust 1.81+
⬇️ 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
👨💻 Development
git clone https://github.com/known-facts/known-schemes.git
Dependencies
~0–2MB
~35K SLoC