known-languages 0.0.1

Well-known languages.
Documentation

Known Languages

License Compatibility Package Documentation

Well-known languages for Rust.

[Features] | [Prerequisites] | [Installation] | [Examples] | [Reference] | [Development]

✨ Features

  • Exports an enum for all well-known human languages.
  • Plays nice with others: interoperates with Borsh, BSON, and Serde.
  • 100% pure and safe Rust with minimal dependencies and no bloat.
  • Supports no_std environments from the get-go.
  • Supports opting out of any feature using comprehensive feature flags.
  • Adheres to the Rust API Guidelines in its naming conventions.
  • Cuts red tape: 100% free and unencumbered public domain software.

🛠️ Prerequisites

  • Rust 1.85+ (2024 edition)

⬇️ Installation

Installation via Cargo

cargo add known-languages

Installation in Cargo.toml

Enable all default features:

[dependencies]
known-languages = "0.0"

Enable only specific features:

[dependencies]
known-languages = { version = "0.0", default-features = false, features = ["serde"] }

👉 Examples

Importing the Library

use known_languages;

📚 Reference

docs.rs/known-languages

Feature Flags

Interoperability

Feature Version Summary
borsh 1.6 Derives borsh::{BorshSerialize, BorshDeserialize}
bson 3.1 Implements From<T> for bson::Bson
serde 1.0 Derives serde::{Serialize, Deserialize}

See Also

Package Crate Docs
known-errors Package Documentation
known-facts Package Documentation
known-languages Package Documentation
known-paths Package Documentation
known-schemes Package Documentation
known-types Package Documentation

👨‍💻 Development

git clone https://github.com/it-is-known/known-languages.git

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