[−][src]Crate mfs
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.
Structs
Mfs | The main struct |
Enums
MfsError |