iroh

Crates.ioiroh
lib.rsiroh
version0.20.0
sourcesrc
created_at2022-03-10 08:26:58.654652
updated_at2024-07-09 12:44:19.374024
descriptionBytes. Distributed.
homepage
repositoryhttps://github.com/n0-computer/iroh
max_upload_size
id547448
size546,352
Friedel Ziegelmayer (dignifiedquire)

documentation

README

iroh

The iroh crate defines both the iroh library and iroh command-line interface (CLI).

For more details on Iroh, see https://iroh.computer.

Building the CLI

Simply run cargo build from the project root, it produces the iroh CLI by default.

Using as a rust crate

Because iroh builds the CLI by default, you should disable default-features when importing the iroh crate via cargo:

[dependencies]
iroh = { version = "...", default-features = false }

Running Examples

Examples are located in iroh/examples. Run them with cargo run --features=examples --example. eg: cargo run --features=examples --example hello-world. At the top of each example file is a comment describing how to run the example.

License

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.

Commit count: 1371

cargo fmt