# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "indexed_valued_enums" version = "1.0.0" authors = ["Jorge Rico Vivas "] description = "Create enums resolving into values, and get their variants back through their values or their discriminant, inspired by Java." readme = "README.md" keywords = [ "valued", "enum", "discriminant", "index", ] categories = [ "no-std", "no-std::no-alloc", "rust-patterns", ] license-file = "LICENSE.txt" repository = "https://github.com/JorgeRicoVivas/indexed_valued_enums" resolver = "1" [lib] crate-type = ["lib"] [dependencies.indexed_valued_enums_derive] version = "1.0.0" optional = true [dependencies.serde] version = "1.0.197" optional = true [dev-dependencies.const-default] version = "1.0.0" [dev-dependencies.indexed_valued_enums_derive] version = "1.0.0" [dev-dependencies.nanoserde] version = "0.1.37" [dev-dependencies.serde] version = "1.0.197" [features] derive = ["dep:indexed_valued_enums_derive"] serde_enums = ["dep:serde"]