-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Description
Are there any plans on supporting enums larger than u8? I'm currently developing a language identifier that has 238 variants for the language codes and will probably surpass that amount in the future when more languages are added.
Also, I found the error a bit confusing
error: enums with more than 256 variants are not supported
--> src/main.rs:10:10
|
10 | pub enum Lang {
| ^^^^
because it does not say anything about what is causing the error. So I did not know if it was a limitation from the language, the strum derives or the bitcode derives.
Thank you very much for your library. It was one of the main optimizations I did for my tool and was able to cut down the model loading time more than a half.
finnbear and caibear
Metadata
Metadata
Assignees
Labels
No labels