Skip to content

Commit

Permalink
Drop unstable__schema
Browse files Browse the repository at this point in the history
  • Loading branch information
Veykril committed Sep 3, 2024
1 parent 5ee1057 commit db4d3c0
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/borsh.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Declaration, Definition>) {
str::add_definitions_recursively(definitions)
}

fn declaration() -> Declaration {
str::declaration()
}
}
}

0 comments on commit db4d3c0

Please sign in to comment.