known-schemes

Crates.ioknown-schemes
lib.rsknown-schemes
version0.2.1
created_at2025-05-08 21:22:00.352422+00
updated_at2025-07-08 19:59:30.611721+00
descriptionWell-known URI/IRI schemes.
homepagehttps://github.com/known-facts/known-schemes
repositoryhttps://github.com/known-facts/known-schemes
max_upload_size
id1665887
size46,571
Arto Bendiken (artob)

documentation

README

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

Commit count: 8

cargo fmt