36 releases (breaking)
new 0.28.1 | Nov 4, 2024 |
---|---|
0.27.0 | Oct 21, 2024 |
0.21.0 | Jul 22, 2024 |
0.13.0 | Mar 25, 2024 |
0.1.0 | Mar 10, 2022 |
#366 in Network programming
2,571 downloads per month
Used in 3 crates
1.5MB
31K
SLoC
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
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
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.
Dependencies
~50–90MB
~1.5M SLoC