2 unstable releases

Uses new Rust 2024

new 0.1.0 May 9, 2025
0.0.0 May 8, 2025

#1113 in Rust patterns

44 downloads per month

Unlicense

7KB

Known Types

License Compatibility Package Documentation

Well-known types for Rust.

✨ Features

  • 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.85+ (2024 edition)

⬇️ Installation

Installation via Cargo

cargo add known-types

Installation in Cargo.toml (with all features enabled)

[dependencies]
known-types = "0.1"

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

[dependencies]
known-types = { version = "0.1", default-features = false, features = ["serde"] }

👉 Examples

Importing the library

use known_types;

📚 Reference

https://docs.rs/known-types/

👨‍💻 Development

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

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

No runtime deps

Features