Skip to main content

vunsigned_varint/
lib.rs

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