rustbinary 0.1.6

A bounded nextjson binary codec with adaptive frames, zero-allocation paths, schema evolution, and authenticated pipelines
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Minimal stable binary format and resource-policy API.
//!
//! This surface has no dependency on protocol governance or transform
//! features. `std` adds owned vectors and I/O adapters; disabling default
//! features retains caller-buffer encode/decode and `no_std` support.

pub use crate::config::{
    Config, Endian, IntEncoding, Options, TrailingBytes, DEFAULT_COLLECTION_LIMIT,
    DEFAULT_SIZE_LIMIT,
};
pub use crate::error::{Error, ErrorCategory, Result};
pub use crate::writer::{CountWriter, EncodeWriter, SliceWriter};
pub use crate::{deserialize, legacy_options, options, serialize_into_slice, serialized_size};

#[cfg(feature = "alloc")]
pub use crate::serialize;
#[cfg(feature = "std")]
pub use crate::{deserialize_from, serialize_into};