Registry / networking / ipfs-api

ipfs-api

JSON →
library0.17.0rscratesunverified

Implementation of an IPFS HTTP API client.

# Cargo.toml [dependencies] ipfs-api = "0.17.0"
INSTALL
IMPORT
SIG · IPFS-API
I
ipfs-api
networkingrustv0.17.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

IpfsClient
use ipfs_api::IpfsClient;

Creates an IPFS client and fetches the version.

use ipfs_api::IpfsClient; #[tokio::main] async fn main() { let client = IpfsClient::default(); let version = client.version().await.unwrap(); println!("{}", version); }
Debug
Known issues
gotchaRequires an async runtime like tokio.
fix
Add tokio as a dependency and use #[tokio::main].
affects: >=0.17.0
Upgrade
Version history
0.17.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
ipfs-api — cargo add ipfs-api · libregistry