Open wjthieme opened 1 month ago
no method named `to_string` found for struct `serde_wasm_bindgen::error::Error` in the current scope items from traits can only be used if the trait is in scope
Example of working code
#[derive(Serialize, Deserialize, Tsify)] #[serde(rename_all = "camelCase")] #[tsify(into_wasm_abi)] pub struct Foo { pub value: u128 }
Example of non-working code
#[derive(Serialize, Deserialize, Tsify)] #[serde(rename_all = "camelCase")] #[tsify(into_wasm_abi, from_wasm_abi)] pub struct Foo { pub value: u128 }
Looks like the issue is no_std. Any way to get this working without std?
no_std
Example of working code
Example of non-working code