No description
Find a file
2025-09-10 00:49:51 +02:00
crates Initial commit; added enum feature-crate 2025-09-10 00:49:51 +02:00
src Initial commit; added enum feature-crate 2025-09-10 00:49:51 +02:00
.gitignore Initial commit; added enum feature-crate 2025-09-10 00:49:51 +02:00
Cargo.lock Initial commit; added enum feature-crate 2025-09-10 00:49:51 +02:00
Cargo.toml Initial commit; added enum feature-crate 2025-09-10 00:49:51 +02:00
LICENSE Initial commit; added enum feature-crate 2025-09-10 00:49:51 +02:00
readme.md Initial commit; added enum feature-crate 2025-09-10 00:49:51 +02:00

ninox-std

A suit of creates to aid in development.

License

This project is licensed under AGPL-3.0-only. For more informations see the LICENSE file inside the repository here.

Usage

This project can either be used via the big ninox-std crate, which contains all feature-creates guarded by features, or you can depend on the feature-crates you want directly.

Feature-crates:

  • ninox-std-enum: Helpers to work with enum's. This contains the following derive macros and/or traits:

    • TryFromRepr: Implements TryFrom<...> for an enum's scalar representation type. Requires that the enum has an attribute like #[repr(u32)].

    • EnumMeta: Trait and derive macro to implement some metadata about enums, like it's MIN and MAX variants.