4 releases (2 breaking)
| 0.3.0 | Jul 26, 2021 |
|---|---|
| 0.2.1 | Sep 22, 2020 |
| 0.2.0 | Aug 3, 2020 |
| 0.1.0 | Jul 2, 2020 |
#2611 in Filesystem
28 downloads per month
Used in ftp2mfs
13KB
328 lines
A somewhat more convenient interface to IPFS's files API.
lib.rs:
Small wrapper crate for ipfs_api.
Mostly exists because I do not want any part of the failure crate to appear in my code.
Quick example:
let mfs = Mfs::new("http://127.0.0.1:5001").unwrap();
mfs.put(Path::new("/demo"), futures::io::Cursor::new("Hello ipfs files")).await.ok();
The relevant functions are exposted through the main Mfs struct.
Dependencies
~15–22MB
~305K SLoC