1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#![allow(clippy::integer_arithmetic)]
//! Utilities for the [borsh] serialization format, version 0.10.
//!
//! [borsh]: https://borsh.io/
use crate::borsh::{
    impl_get_instance_packed_len, impl_get_packed_len, impl_try_from_slice_unchecked,
};

impl_get_packed_len!(borsh);
impl_try_from_slice_unchecked!(borsh);
impl_get_instance_packed_len!(borsh);

#[cfg(test)]
mod tests {
    use crate::borsh::impl_tests;
    impl_tests!(borsh);
}