Announcing Rust IPFS, and a call for contributors
by Mark Robert Henderson and Molly Mackinlay on 2020-03-18
Calling all rustaceans, rustafarians, ferrosities, and rustlers - we’ve got an exciting update!
Active full time work on a Rust-IPFS implementation has commenced, building on the great work by
rust-libp2p. Equilbrium is spearheading the new community and
implementation with support from Protocol Labs, and is looking for additional Rust devs itching
to help build a new language implementation of the InterPlanetary File System combining the
performance and resource utilization benefits of Rust with a keen eye on conformance to the IPFS spec. Read more on the Equilibrium Labs blog!
Why Rust IPFS? Why Now?
Rust, the programming language, has enjoyed a recent spike in popularity. This is due both to its inclusive community, and also being a safe systems language with performance comparable to C and C++. An IPFS implementation written in Rust only makes sense. Additionally, the community has been asking for a while now, for a number of use cases:
- Usage in resource-constrained systems such as Industrial Internet-of-Things (IIoT) controllers
- Portability of certain subsets of the IPFS stack into WebAssembly
- Usage of IPFS functionality and APIs via native Rust function calls via inclusion as a Rust crate.
Given that, it’s no surprise that Rust-IPFS was also one of the IPFS 2020 Theme Proposals suggested in our community-driven IPFS 2020 Roadmapping Process - and that the community quickly rose to the challenge. Equilibrium, an active participant in many dweb infrastructure projects, stepped up to take on core implementation and stewardship of this new language implementation, with support through the new IPFS DevGrants program to provide coordination and maintainership for passionate developers in the wider Rust community.
With both community demand and active participation, the time was ripe for the Rust-IPFS effort to be revitalized and reborn!
Leveraging Community Efforts
The IPFS community is a talented group of people with an impressive array of high quality work in the Rust space already. There’s the aforementioned rust-libp2p, which is already used by the likes of Polkadot, Substrate, and Lighthouse; there’s ferrismtg’s rust-ipfs-api which is already doing wonders in providing a bridge from the Rust world; and of course David Craven’s rust-ipfs, which is the foundational work behind this latest endeavor.
Instead of forking and/or starting fresh, this project aims to support and build on the impressive amount of progress that’s already been made, helping carry the torch across the finish line while incorporating and including the community of passionate Rust contributors in the process.
What can be expected, and when?
As you can see in the Rust-IPFS DevGrant Roadmap implementation work
takes place mostly over early Q2 2020 and covers the use case of IPLD applications,
targeting the low-level blockstore, libp2p integration, and IPLD-related functionality
ipfs dag put and
ipfs dag get.
To learn more about the effort, you can:
You can help!
Community participation in making Rust-IPFS a reality is encouraged and welcomed! If you want to pitch in, here are a few ways:
- Star and watch the GitHub repo
- Take on the development efforts associated with IPFS APIs deemed out of scope for the initial grant milestones
- Look for
help-wantedissues that are marked as needing help from the community
- Back IPFS Rust on OpenCollective