From db4d3c054f575c394bb103e74a917f00e3d35b04 Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Tue, 3 Sep 2024 09:18:31 +0200 Subject: [PATCH] Drop unstable__schema --- src/borsh.rs | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/borsh.rs b/src/borsh.rs index 12580cb..5617bce 100644 --- a/src/borsh.rs +++ b/src/borsh.rs @@ -40,19 +40,3 @@ impl BorshDeserialize for SmolStr { } } } - -#[cfg(feature = "borsh/unstable__schema")] -mod schema { - use alloc::collections::BTreeMap; - use borsh::schema::{Declaration, Definition}; - use borsh::BorshSchema; - impl BorshSchema for SmolStr { - fn add_definitions_recursively(definitions: &mut BTreeMap) { - str::add_definitions_recursively(definitions) - } - - fn declaration() -> Declaration { - str::declaration() - } - } -}