From c3fe68a3214b398db617e687e5244371661a77f7 Mon Sep 17 00:00:00 2001 From: derekpierre Date: Tue, 22 Aug 2023 14:25:40 -0400 Subject: [PATCH] SharedSecret wasm-binding now derives AsRef. --- ferveo/src/bindings_wasm.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ferveo/src/bindings_wasm.rs b/ferveo/src/bindings_wasm.rs index 3b582ba8..a8b1f7c7 100644 --- a/ferveo/src/bindings_wasm.rs +++ b/ferveo/src/bindings_wasm.rs @@ -273,7 +273,7 @@ pub fn ferveo_encrypt( } #[wasm_bindgen] -#[derive(Clone, Debug, Serialize, Deserialize)] +#[derive(Clone, Debug, Serialize, Deserialize, derive_more::AsRef)] pub struct SharedSecret(api::SharedSecret); generate_common_methods!(SharedSecret);