msgpackin 0.0.4

Msgpackin pure Rust MessagePack encoding / decoding library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
/// Msgpackin config for encoders / decoders
#[non_exhaustive]
#[derive(Debug, Clone)]
pub struct Config {
    /// maximum container depth when encoding / decoding
    pub max_depth: usize,
}

impl Default for Config {
    fn default() -> Self {
        Self { max_depth: 1024 }
    }
}