mirror of
https://github.com/danog/strum.git
synced 2024-11-30 04:28:59 +01:00
1c00f6cfa5
* Run rustfmt over repository. * Bump `syn` to 0.15 * Implemented ability to `serialize_all` using cases from `heck`. Issue #21 * Use `path` and `version` in dependency specifications. Issue #21 * Updated documentation. Issue #21 * Added `CHANGELOG.md`. * Also convert case when deriving `Display`. Issue #21 * Added `EnumDiscriminants` derive. Issue #33 * Added the ability to rename derived `EnumDiscriminants`. Issue #33 * Updated `README.md` and lib.rs docs. Issue #33 * Updated `CHANGELOG.md`. Issue #33 * WIP: refactoring to allow attributes on discriminants enum. * Use single `strum_discriminants` top level attribute. Issue #33 * Allow multiple declarations of `strum_discriminants` attribute. Issue #33 * Pass through all other attributes to discriminant enum. Issue #33 * Add `impl From<MyEnum> for MyEnumDiscriminants`. Issue #33 * Add `impl<'_enum> From<&'_enum MyEnum> for MyEnumDiscriminants`. Issue #33 * Added complex case test for `From` derivation. Issue #33 * Added docs to some helper functions. * Added docs about `From` impls. Issue #33
24 lines
608 B
TOML
24 lines
608 B
TOML
[package]
|
|
name = "strum_macros"
|
|
version = "0.10.0"
|
|
authors = ["Peter Glotfelty <peglotfe@microsoft.com>"]
|
|
license = "MIT"
|
|
|
|
description = "Helpful macros for working with enums and strings"
|
|
keywords = ["enum", "string", "macros", "proc-macros"]
|
|
categories = ["development-tools::procedural-macro-helpers", "parsing"]
|
|
|
|
documentation = "https://docs.rs/strum"
|
|
homepage = "https://github.com/Peternator7/strum"
|
|
readme = "../README.md"
|
|
|
|
[lib]
|
|
proc-macro = true
|
|
name = "strum_macros"
|
|
|
|
[dependencies]
|
|
heck = "0.3"
|
|
proc-macro2 = "0.4"
|
|
quote = "0.6"
|
|
syn = { version = "0.15", features = ["parsing", "extra-traits"] }
|