/iroh

Sync anywhere

Primary LanguageRustApache License 2.0Apache-2.0

iroh

https://iroh.computer

Bytes, Distributed.

Crates.io version Download docs.rs docs

Iroh is a protocol for syncing & moving bytes. Bytes of any size, on any device. At its core, it's a peer-2-peer network built on a magic socket that establishes QUIC connections between peers. Peers request and provide blobs of opaque bytes that are incrementally verified by their BLAKE3 hash during transfer.

Using Iroh

Iroh is delivered as a Rust library and a CLI. Run cargo build to build the iroh CLI. To use iroh in your project, check out https://iroh.computer/docs/install to get started.

As a library

Disable default features when using iroh as a library: iroh = { version = "...", default-features = false }

This removes dependencies that are only relevant when using iroh as a cli.

License

Copyright 2023 N0, INC.

This project is licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.