Crates.io | yosemite |
lib.rs | yosemite |
version | 0.1.0 |
source | src |
created_at | 2024-10-23 17:18:21.912525 |
updated_at | 2024-10-23 17:18:21.912525 |
description | Asynchronous SAMv3 library |
homepage | |
repository | https://github.com/altonen/yosemite |
max_upload_size | |
id | 1420405 |
size | 96,765 |
yosemite
is a SAMv3 client library for interacting with the I2P network.
It provides both synchronous and asynchronous APIs which are configurable via sync
and async
feature flags, respectively.
Read
/Write
for synchronous streamsAsyncRead
/AsyncWrite
for asynchronous streamsasync
is enabled by default, giving access to asynchronous APIs:
yosemite = "0.1.0"
sync
enables synchronous APIs:
yosemite = { version = "0.1.0", default-features = false, features = ["sync"] }
sync
and async
are mutually exclusive, only one or the other can be enabled. The APIs are otherwise the same but async
requires blocking calls to .await
.
See examples/
for instructions on how to use yosemite
.
MIT