1
0
mirror of https://github.com/danog/strum.git synced 2024-11-30 04:28:59 +01:00
Commit Graph

20 Commits

Author SHA1 Message Date
Peter Glotfelty
5d733fd1f3 Update package version to include patches 2021-11-20 11:34:26 -08:00
Peter Glotfelty
5272fcea91 Tweak docs to format correctly and update crates to the newest version 2021-11-16 22:24:17 -08:00
Peter Glotfelty
08583fcb11
Make changes necessary for version 0.22 (#181)
* Make changes necessary for version 0.22

* Update changelog

Co-authored-by: Peter Glotfelty <peter@glotfelty.us>
2021-10-10 20:47:24 -07:00
Peter Glotfelty
5326d3229f
publishing version 0.21.1 to handle #164 (#165)
Co-authored-by: Peter Glotfelty <peter@glotfelty.us>
2021-06-02 08:50:35 -07:00
Peter Glotfelty
c5a4b5e932
Update docs for 0.21 (#163)
Co-authored-by: Peter Glotfelty <peter@glotfelty.us>
2021-06-01 18:32:56 -07:00
Peter Glotfelty 🚀
96ee0a9a30 Updated changelog for strum 0.20 2020-11-21 20:13:44 +00:00
Peter Glotfelty 🚀
441316121b Updated changelog and readme with new version as well as tweaked docs slightly. 2020-10-07 05:52:12 +00:00
Peter Glotfelty
3299622842
Fixes a panic caused by unwrapping an option (#105)
* Fixes a panic caused by unwrapping an option

* updating to 0.19.2 to fix regression 104
2020-08-05 21:36:47 -07:00
Peter Glotfelty 🚀
9508a31f4b Didn't actually change enum variant names in the 0.19 like I meant to. 2020-08-02 00:07:38 +00:00
Peter Glotfelty
7e5b5e43e8
Peternator7/0.19 (#101)
* Changelog for 0.19

* Updated version in Cargo.toml
2020-08-01 16:54:43 -07:00
Peter Glotfelty
c5fc096ece
Pulled some of the core logic out of plugins (#100)
* Major refactor of code.

* More minor refactorings

* renamed variables

* add repository link
2020-07-29 09:36:48 -07:00
root
fd96b62516 updated changelog 2020-03-02 00:01:53 +00:00
t-mw
043b60f6d8
Apply serialize_all casing to get_serializations (#84)
* Apply serialize_all casing to get_serializations

* Update changelog

* Fix grammar
2020-02-10 15:55:18 -08:00
Azriel Hoh
2b83eceba6
Bugfix/73/whitelist variant attributes to copy (#82)
* Whitelist attributes to copy to `EnumDiscriminants`' variants.

* Updated `CHANGELOG.md`.
2020-02-08 10:54:44 -08:00
Peter Glotfelty
98b41a5354 Fixed an issue with EnumIter overflowing 2019-12-20 02:28:30 +00:00
Peter Glotfelty
6ba428fd1a Updating readme to reflect new version 2019-12-19 23:18:17 +00:00
Peter Glotfelty
9310855c82
Refactoring code and updating syn + quote (#71)
* Upgrading Syn and Quote to 1.0 and performing refactoring of helpers

* added newlines at the end of some files

* Did additional refactoring and added helpful trait methods to improve readability

* Shortened README and moved content to the wiki

* Updated README and changelog

* ran cargo fmt
2019-09-18 11:24:14 -07:00
Peter Glotfelty
970b5cec40
Macro renames (#46)
* 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
2019-03-26 20:44:39 -07:00
Peter Glotfelty 🚀
e79a6fea80 Updated documents 2018-12-24 08:58:14 -08:00
Azriel Hoh
1c00f6cfa5 Feature/33/derive enum variants (#34)
* 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
2018-09-26 12:13:45 -07:00