async-eris

Crates.ioasync-eris
lib.rsasync-eris
version
sourcesrc
created_at2025-03-10 22:55:06.178927+00
updated_at2025-03-10 22:55:06.178927+00
descriptionAsync ERIS encoding library
homepage
repository
max_upload_size
id1587296
Cargo.toml error:TOML parse error at line 17, column 1 | 17 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Katharina Fey (spacekookie)

documentation

README

async-eris

Async Rust version of the ERIS specification v1.0.0. Both block encoding and decoding happens via asynchronous streams.

To use this functionality you have to implement the BlockStorage async-trait for your storage backend. eris::encode(..) takes an AsyncRead + Unpin type.

Note because async-eris is being written for Irdest specifically we MAY add out-of-specification block sizes to experiment with different transport slicing mechanisms. We are also in close contact with the authors of the specification, so any block size that is deemed usful MAY becobe part of a future spec version. Keep this in mind when potentially using an un-supported block size and inter-operating with another ERIS implementation!

Tests

Some tests are included in this library. You can run them via cargo test, or running one of the examples via cargo run --example hello-world

Questions?

Want to adapt async-eris in your project but have questions about something? Come by our Matrix channel to talk about!

Commit count: 0

cargo fmt