* Support phf crate for faster match on large enums
* comment
* add changelog entry
* add tests, embed phf, and improve lowercase support
* fix doc change
* Refactor & support case insensitive with case sensitive phf match
* more tests, some fixes of new implementation and prep for feature
The implementation simply delegates to `std::str::FromStr`.
To maintain compatibility with Rust 1.32, a new dependency
is introduced which allows us to emit the `TryFrom<&str>`
implementation only for Rust 1.34 and above when
`std::convert::TryFrom` was stabilized.
* Add `EnumVariantNames`
This derive adds a static `variants()` methods yielding the names of
the enum variants. This happens to be exactly what clap [wants][1], and
is the last puzzle piece to use strum with clap/structopt.
[1]: https://docs.rs/clap/2.33.0/clap/macro.arg_enum.html
* Expand readme section for `EnumVariantNames`
* Return slice instead of array
This reduces the risk of breaking the public API by accident when adding
a new variant.
* Fix typo in Readme
* Add generic doc comment to `variants()` method
* Add test case using `variants` in clap/structopt
* Updating the README
* Did lots of updates for the documentation
* Improving formatting in a few places
* Consolidated docs to make it easier to keep up to date
* Updating workspace
* Revved version in docs
* 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
* Did a little bit of refactoring and added some docs around AsStaticStr
* Revving the version in the cargoo.toml
* Managing Cargo.toml is a bit tedious when deploying packages that depend on each other
* Updated Cargo.toml