iroh

Crates.ioiroh
lib.rsiroh
version0.28.1
sourcesrc
created_at2022-03-10 08:26:58.654652
updated_at2024-11-04 20:04:54.404363
descriptionA toolkit for building distributed applications
homepage
repositoryhttps://github.com/n0-computer/iroh
max_upload_size
id547448
size609,013
iroh-publisher (github:n0-computer:iroh-publisher)

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: 1631

cargo fmt