Floris Bruynooghe fe97e4d154 ref: micro-optimise by reserving buffer size (#803)
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.
2023-03-01 11:07:38 +01:00
2023-01-09 17:37:25 +01:00
2023-02-22 15:24:34 +01:00
2023-01-18 11:18:04 +01:00
2023-01-18 11:18:04 +01:00
2023-02-24 11:00:33 +01:00

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

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.

S
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%