From c735043c8673c706f780c8aaba2a6eae695d666b Mon Sep 17 00:00:00 2001 From: Jeremy Drouillard Date: Thu, 21 Jan 2021 13:21:03 -0800 Subject: [PATCH] Update serde compatability documentation --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6120b2e..7e9afc7 100644 --- a/README.md +++ b/README.md @@ -53,9 +53,11 @@ When running `cargo test`, the TypeScript bindings will be exported to the file - flatten structs/interfaces - generate necessary imports when exporting to multiple files -## serde compatibility layer -With the `serde-compat` feature enabled, ts-rs tries parsing serde attributes. -Please note that not all serde attributes are supported yet. +## Serde Compatability +Serde representations are supported for enums and structs. The serde tags supported on enums are: +- tag & content +- untagged + ## todo