#cbor #binary-format #binary-encoding #binary #format #encoding #events

cbor_event

The CBOR Event library. There are no dependencies, all platforms are supported and it is wasm compatible.

8 stable releases

Uses old Rust 2015

2.4.0 Jan 11, 2023
2.2.0 May 19, 2022
2.1.3 Jun 11, 2019
2.1.2 Jan 6, 2019
1.0.0 Sep 18, 2018

#824 in Parser implementations

Download history 481/week @ 2024-05-29 439/week @ 2024-06-05 468/week @ 2024-06-12 576/week @ 2024-06-19 594/week @ 2024-06-26 399/week @ 2024-07-03 491/week @ 2024-07-10 424/week @ 2024-07-17 462/week @ 2024-07-24 656/week @ 2024-07-31 575/week @ 2024-08-07 645/week @ 2024-08-14 569/week @ 2024-08-21 641/week @ 2024-08-28 543/week @ 2024-09-04 431/week @ 2024-09-11

2,381 downloads per month
Used in 27 crates (16 directly)

MIT/Apache

120KB
2.5K SLoC

CBOR Event library

Build Status MIT or APACHE-2 licensed crates.io

This library provides a simple, yet efficient CBOR binary parser/serialiser.

While some libraries provide an intermediate type representation, this crate has zero dependencies (and should not need any in the future). This is a design choice in order to guarantee as much compatibility as possible across multiple platforms.

Supported targets

rustup target add aarch64-apple-ios # or any target below
Target test
aarch64-unknown-linux-gnu
aarch64-linux-android
aarch64-apple-ios
arm-unknown-linux-gnueabi
arm-linux-androideabi
armv7-unknown-linux-gnueabihf
armv7-linux-androideabi
i686-unknown-linux-gnu
i686-unknown-linux-musl
i686-unknown-freebsd
i686-linux-android
x86_64-unknown-linux-gnu
x86_64-unknown-linux-musl
x86_64-linux-android
x86_64-apple-darwin
x86_64-apple-ios
x86_64-unknown-freebsd
wasm32-unknown-emscripten
wasm32-unknown-unknown

supported compiler versions

Rust test
stable
beta
nightly

We will always aim to support the current stable version. However, it is likely that an older version of the Rust compiler is also supported.

License

This project is licensed under either of the following licenses:

Please choose the licence you want to use.

No runtime deps