The Interplanetary File System (IPFS), implemented in Rust
Table of Contents
This repository is a fork of rust-ipfs, which contains the crates for the IPFS core implementation which includes a blockstore, a libp2p integration which includes DHT content discovery and pubsub support Our goal is to leverage both the unique properties of Rust to create powerful, performant software that works even in resource-constrained environments, while also maximizing interoperability with the other "flavors" of IPFS, namely JavaScript and Go.
Alpha
This project is a WIP and everything is subject to change
For more information about IPFS see: https://docs.ipfs.io/introduction/overview/
Rust IPFS depends on protoc
.
Note: This will change in the future.
First, install the dependencies.
With apt:
bash
$ apt-get install protobuf-compiler libssl-dev zlib1g-dev
With yum:
bash
$ yum install protobuf-compiler libssl-dev zlib1g-dev
rust-ipfs
itselfThe rust-ipfs
binaries can be built from source. Our goal is to always be compatible with the stable release of Rust.
bash
$ git clone https://github.com/dariusc93/rust-ipfs && cd rust-ipfs
$ cargo build --workspace
You will then find the binaries inside of the project root's /target/debug
folder.
We recommend browsing the examples and tests in order to see how to use Rust-IPFS in different scenarios.
Note: Test are a WIP
For information on running test, please see the archived readme. This may be outdated but this section will be updated in the future
See the contributing docs for more info.
If you have any questions on the use of the library or other inquiries, you are welcome to submit an issue.
TBD
For previous completed work, please see the archived readme.
Rust IPFS was originally authored by @dvc94ch and was maintained by @koivunej, and @aphelionz, but now is maintained by @dariusc93.
For maintainers please see the archived readme.
It’s been noted that the Rust-IPFS name and popularity may serve its organization from a "first-mover" perspective. However, alternatives with different philosophies do exist, and we believe that supporting a diverse IPFS community is important and will ultimately help produce the best solution possible.
rust-libp2p
, which does a lot the of heavy lifting hereiroh
- Another rust implementation of IPFSipfs-embed
- An implementation based on sled
rust-ipfs-api
- A Rust client for an existing IPFS HTTP API. Supports both hyper and actix.rust-ipld
- Basic rust ipld library supporting dag-cbor
, dag-json
and dag-pb
formats.rust-ipfs
If you know of another implementation or another cool project adjacent to these efforts, let us know!
For previous/original contributors please see the archived readme.
This project exists thanks to all the people who previously contributed to rust-ipfs. [Contribute].
For previous/original contributors, please see the archived readme.
Dual licensed under MIT or Apache License (Version 2.0). See LICENSE-MIT and LICENSE-APACHE for more details.
The Rust logo and wordmark are trademarks owned and protected by the Mozilla Foundation. The Rust and Cargo logos (bitmap and vector) are owned by Mozilla and distributed under the terms of the Creative Commons Attribution license (CC-BY).