From b7962cbfdbd36c31b9dd99494eb98264ee9356d9 Mon Sep 17 00:00:00 2001 From: Isaac Trumper <130265521+itrumper@users.noreply.github.com> Date: Sat, 16 Dec 2023 08:20:39 -0700 Subject: [PATCH] Update README.md with Known Limitations section Documenting that enum variants having the same name as their member type causes an C# error in name resolution. --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 179a034..5ce3bc1 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,12 @@ The following uniffi features are unsupported. - Async functions [#41](https://github.com/NordSecurity/uniffi-bindgen-cs/issues/41) +# Known Limitations + +The following valid Rust type definitions fail to be converted properly, but a simple work-around is given: + +- Enum variants having the same name as their member type [#60](https://github.com/NordSecurity/uniffi-bindgen-cs/issues/60) + # Configuration options It's possible to [configure some settings](docs/CONFIGURATION.md) by passing `--config`