Crates.io | sn_client |
lib.rs | sn_client |
version | 0.108.0 |
source | src |
created_at | 2020-12-07 15:16:56.221026 |
updated_at | 2024-07-08 15:57:11.340852 |
description | Safe Network Client |
homepage | https://maidsafe.net |
repository | https://github.com/maidsafe/safe_network |
max_upload_size | |
id | 320521 |
size | 513,393 |
sn_client
- SAFE Network Client LibraryThe sn_client
library provides the core functionalities for interacting with the SAFE Network. It handles tasks such as connecting to the network, managing concurrency, and performing various network operations like data storage and retrieval.
To include sn_client
in your Rust project, add the following to your Cargo.toml
:
[dependencies]
sn_client = "latest_version_here"
To use sn_client
, you first need to instantiate a client. Here's a simple example:
use sn_client::Client;
let client = Client::new(signer, peers, req_response_timeout, custom_concurrency_limit).await?;
Please refer to the Contributing Guidelines from the main directory for details on how to contribute to this project.
We follow the Conventional Commits specification for commit messages. Please adhere to this standard when contributing.
This Safe Network repository is licensed under the General Public License (GPL), version 3 (LICENSE http://www.gnu.org/licenses/gpl-3.0.en.html).