vunsigned-varint 0.1.0

no_std compatible implementation of the unsigned-varint format
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! `no_std` compatible implementation of the [unsigned-varint](https://github.com/multiformats/unsigned-varint) Format
//!
//! # Features
//!
//! | Feature | Description |
//! |--|---|
//! | `std` | Allows [`Error`] to be converted to [`std::io::Error`] |
#![cfg_attr(not(feature = "std"), no_std)]

mod decode;
mod encode;

pub use decode::{Error, decode};
pub use encode::{encode, encoded_len};