You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+29Lines changed: 29 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,34 @@
1
1
# Changelog
2
2
3
+
## 0.27.2
4
+
5
+
*[#141](https://github.com/Peternator7/strum/pull/141): Adding support for doc comments on `EnumDiscriminants` generated type.
6
+
* The doc comment will be copied from the variant on the type itself.
7
+
*[#435](https://github.com/Peternator7/strum/pull/435):allow discriminants on empty enum.
8
+
*[#443](https://github.com/Peternator7/strum/pull/443): Change enum table callbacks to FnMut.
9
+
*[#444](https://github.com/Peternator7/strum/pull/444): Add `#[automatically_derived]` to the `impl`s by @dandedotdev in https://github.com/Peternator7/strum/pull/444
10
+
* This should make the linter less noisy with warnings in generated code.
11
+
*[#440](https://github.com/Peternator7/strum/pull/440): Implement a `suffix` attribute for serialization of enum variants.
12
+
13
+
```rust
14
+
#[derive(strum::Display)]
15
+
#[strum(suffix=".json")]
16
+
#[strum(serialize_all="snake_case")]
17
+
enumStorageConfiguration {
18
+
PostgresProvider,
19
+
S3StorageProvider,
20
+
AzureStorageProvider,
21
+
}
22
+
23
+
fnmain() {
24
+
letresponse=SurveyResponse::Other("It was good".into());
0 commit comments