2 unstable releases

0.2.0 Dec 21, 2022
0.1.3 Nov 28, 2022

#14 in #uds

29 downloads per month
Used in iroh-embed

Apache-2.0/MIT

1MB
18K SLoC

iroh one

crates.io Released API docs MIT/Apache-2.0 licensed CI

Single binary of iroh services (gateway, p2p, store) communicating via mem channels. This is an alternative to deploying the iroh services as micro services.

Running / Building

cargo run --release -- -p 10000 --store-path=tmpstore

Options

  • Run with cargo run --release -- -h for details
  • -wcf Writeable, Cache, Fetch (options to toggle write enable, caching mechanics and fetching from the network); currently exists but is not implemented
  • -p Port the gateway should listen on
  • --store-path Path for the iroh-store

Features

  • http-uds-gateway - enables the usage and binding of the http gateway over UDS. This is independent from the rpc control endpoint which uses the same default and configuration as iroh-gateway.

Reference

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~77–120MB
~2.5M SLoC