bcur
A Rust implementation of Uniform Resources (URs).
URs encode binary payloads as URI-friendly strings for QR codes and unreliable channels, using bytewords and fountain codes for multi-part transfer.
Status (0.2)
Transport: bytewords + fountain + multi-part UR + DecoderLimits.
Typed dCBOR: feature = "dcbor" (Ur, traits, multipart wrappers; implies std).
Features
| Feature | Default | Description |
|---|---|---|
std |
yes | Host / std builds |
dcbor |
no | Typed Ur / traits / multipart wrappers (implies std) |
no_std + alloc: --no-default-features.
Quick start
use ;
let data = b"Ten chars!".repeat;
let mut encoder = bytes.unwrap;
let mut decoder = default;
while !decoder.complete
assert_eq!;
Typed (feature = "dcbor"):
use Ur;
let ur = new.unwrap;
assert_eq!;
License
MIT OR Apache-2.0