hns-encoding 0.3.1

Strict bounded binary encoding for Handshake wire protocols
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# hns-encoding

Strict, allocation-bounded binary encoding for Handshake wire protocols.

This crate provides little-endian integers, canonical compact sizes, bounded
variable-length byte strings, and complete-input decoding. It is runtime
independent and shared by the protocol crates in the
[`hns-rs`](https://github.com/handshake-rs/hns-rs) workspace.

```bash
cargo add hns-encoding
```

The minimum supported Rust version is 1.89. API documentation is available on
[docs.rs](https://docs.rs/hns-encoding).

Licensed under either Apache-2.0 or MIT.