The iroh crate defines both the iroh
library and iroh
command-line interface (CLI).
For more details on Iroh, see https://iroh.computer.
Simply run cargo build
from the project root, it produces the iroh
CLI by default.
Because iroh builds the CLI by default, you should disable default-features
when importing the iroh
crate via cargo:
toml
[dependencies]
iroh = { version: "...", default-features = false }
examples are located in iroh/examples
. Some have their own cargo.toml to show different use cases, and as such are shipped as their own packages. For these run them with cargo run --package
. eg: cargo run --package hello-world
This project is licensed under either of
at your option.
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.