indexland_derive

Crates.ioindexland_derive
lib.rsindexland_derive
version
sourcesrc
created_at2025-03-07 00:52:29.974831+00
updated_at2025-03-07 03:30:47.531043+00
descriptionDerive Macros for indexland
homepage
repositoryhttps://github.com/cmrschwarz/indexland
max_upload_size
id1582093
Cargo.toml error:TOML parse error at line 19, column 1 | 19 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Christian Schwarz (cmrschwarz)

documentation

README

indexland_derive

Provides derive macros for indexland. For better ergonomics add the "derive" feature to indexland instead of depending on this directly.

Example

// [`indexland_derive::Idx`](indexland_derive::Idx) is re-exported by indexland
use indexland::Idx;

#[derive(Idx)]
struct NodeId(u32);

#[derive(Idx)]
enum PrimaryColor {
    Red,
    Green,
    Blue,
};

License

MIT

Commit count: 0

cargo fmt