-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
Hello, the issue is quite similar to Compatibility with serde, but for enum
:
#[derive_ReprC]
#[repr(u8)]
#[derive(Serialize, Deserialize, Debug, Clone)]
#[allow(non_camel_case_types)]
pub enum Type {
reg,
mem,
// see issue [Compatibility with serde](https://github.com/getditto/safer_ffi/issues/35)
#[serde(rename = "clear-excl")]
clear_excl,
stop,
}
as you have fixed it for struct
could you please do the same for enum
?
Thanks!
akashgurava
Metadata
Metadata
Assignees
Labels
No labels