mirror of
https://github.com/n0-computer/iroh.git
synced 2026-12-03 08:01:40 +00:00
fe97e4d154b0c15007f067241c6d2961ea346f4e
Before going into the loop we may as well make sure to reserve enough space for the entire buffer. Otherwise we could be allocating multiple times. This does not change the total allocated size. Though this does add a missing limit to the allocated size.
iroh
IPFS reimagined.
Usage
Cli
Sending data
$ ./iroh provide <file>
Receiving data
$ ./iroh get <hash>
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
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.
Description
IP addresses break, dial keys instead. A library that adds QUIC + NAT Traversal to your apps.
Readme
435 MiB
Languages
Rust
99.6%
Shell
0.3%