Skip to content

Commit

Permalink
More on format limitations
Browse files Browse the repository at this point in the history
  • Loading branch information
jwodder committed Oct 30, 2023
1 parent 9351361 commit fc60b57
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,14 @@
//!
//! The following format-specific limitations are currently known:
//!
//! - RON does not support internally tagged enums, untagged enums, or the
//! `serde(flatten)` attribute.
//! - RON has limited support for internally tagged enums with fields, untagged
//! enums with fields, and the `serde(flatten)` attribute.
//!
//! - TOML does not support the unit type `()`.
//! - TOML does not support the unit tuple `()`, unit (fieldless) structs, maps
//! with non-string keys, or top-level types that do not serialize to tables.
//!
//! - YAML does not support bytes.
//! - YAML does not support bytes or nested enums (e.g.,
//! `Enum::Variant(AnotherEnum)`, where `AnotherEnum` is "fat").
//!
//! Example
//! =======
Expand Down

0 comments on commit fc60b57

Please sign in to comment.