Crates.io | ipfs |
lib.rs | ipfs |
version | 0.2.1 |
source | src |
created_at | 2017-11-09 21:48:43.711368 |
updated_at | 2020-10-08 12:34:07.407709 |
description | IPFS node implementation |
homepage | |
repository | https://github.com/rs-ipfs/rust-ipfs |
max_upload_size | |
id | 38779 |
size | 1,517,178 |
The Interplanetary File System (IPFS), implemented in Rust
This repository contains the crates for the IPFS core implementation which includes a blockstore, a libp2p integration which includes DHT content discovery and pubsub support, and HTTP API bindings. 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
You can see details about what's implemented, what's not, and also learn about other ecosystem projects, at Are We IPFS Yet?
For more information about IPFS see: https://docs.ipfs.io/introduction/overview/
Rust IPFS depends on protoc
and openssl
.
First, install the dependencies.
With apt:
# apt-get install protobuf-compiler libssl-dev zlib1g-dev
With yum
# 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.
$ git clone https://github.com/rs-ipfs/rust-ipfs && cd rust-ipfs
$ cargo build --workspace
You will then find the binaries inside of the project root's /target/debug
folder.
Note: binaries available via cargo install
is coming soon.
We recommend to browse the examples and tests in order to see how to use Rust-IPFS in different scenarios.
Special thanks to the Web3 Foundation and Protocol Labs for their devgrant support.
/pubsub/{publish,subscribe,peers,ls}
/swarm/{connect,peers,addrs,addrs/local,disconnect}
/id
/version
/shutdown
/block/{get,put,rm,stat}
/dag/{put,resolve}
/refs
and /refs/local
/bitswap/{stat,wantlist}
/cat
/get
/resolve
/bootstrap
/dht
/name
/ping
/key
/config
/stats
/files
(regular and mfs)Rust IPFS was originally authored by @dvc94ch and now actively maintained by @koivunej, and @aphelionz. Special thanks is given to Protocol Labs and Equilibrium.
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-ipfs-api
- A Rust client for an existing IPFS HTTP API. Supports both hyper and actix.ipfs-embed
- An implementation based on sled
rust-ipld
- Basic rust ipld library supporting dag-cbor
, dag-json
and dag-pb
formats.rust-ipfs
rust-libp2p
, which does a lot the of heavy lifting hereIf you know of another implementation or another cool project adjacent to these efforts, let us know!
See the contributing docs for more info.
You can also back the project financially by reaching out or by becoming a backer on OpenCollective
This project exists thanks to all the people who contribute. [Contribute].
Become a financial contributor and help us sustain our community. [Contribute]
Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]
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).