Skip to content

Commit 6af4d0d

Browse files
authored
Merge pull request #179 from zeenix/patch-1
Document that most enums representations require `std` or `alloc` features
2 parents 417157e + 6bc9cf1 commit 6af4d0d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

_src/enum-representations.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ In JSON and other self-describing formats, the externally tagged representation
4040
is often not ideal for readability. Serde provides attributes to select three
4141
other possible representations.
4242

43+
**Note**: This is the only enums representation that requires neither `std` nor `alloc` Cargo features to be enabled.
44+
4345
## Internally tagged
4446

4547
```rust

0 commit comments

Comments
 (0)