There are several pathways to funding work in the Rust project and this blog post highlights a relatively new way of bringing corporations and Rust maintainers together: Project Goals. In this post we get insight into why a Rust maintainer would want to create a Project Goal, and how this new structured way of presenting this desired work has been redesigned over the last year to add in a fiscal sponsorship component. The Project Goals Team has taken an idea of onboarding a new contributor to work on a specific piece of Rust into a collaborative and marketable ‘product’ with infrastructure and collaboration built in, but I’m getting a bit ahead of myself here. Let me hand it over to Jynn Nelson, Compiler Team Lead at Ferrous Systems, and Rustc-Dev-Guide Team member (among many other hats they wear in the Project) to discuss more about why project goals are important for the Rust Project, and for companies building with Rust.
The following section is authored by Jynn Nelson.
Why do project goals exist?
Rust is one of the largest open source projects in the world. It is the 7th-most active repository on GitHub, with dozens of corporate sponsors, hundreds of contributors, thousands of hours of CI-time a day, and millions of lines of code.
Despite this, something seems to be wrong. Tracking issues stagnate, RFCs don’t get merged, and people burn out or leave the project. Why?
Why are things bad for contributors?
Although Rust has quite a lot of funding in aggregate, the money is not evenly distributed. The features that are “flashy” tend to suck up all the air in the room, and getting long-term funding is difficult even for top contributors. This results in a large proportion of work being done by volunteers (for example, the Rustfmt team is currently entirely unfunded); by full-time engineers who work on the project in 10% open source time; or by individuals who are self-funded or independently wealthy.
Why are things bad for companies?
One of the reasons this is a self-sustaining feedback loop is because Rust, and Open Source in general, is heavily built on trust. It’s not enough to have code that works and is tested. Project maintainers want to have confidence that contributors will stick around for months and years into the future to maintain the code that they write. In other words, the hard part isn’t writing the code, it’s getting it merged.
This is a major culture gap between developers and companies, because companies tend to treat open source contributions as contract work that is “one-and-done”. They want to pay1 for an assurance that work will be done, not for developer time directly; after all, they’re already paying for their own employees. This doesn’t work well for open source volunteers. As apenwarr, CEO of tailscale, says:
Here’s the thing about gifts: the sender chooses them, not the recipient.
What are Project Goals?
Project Goals are a way to bridge this gap. Goals have four parts:
- A statement of work
- Opportunity for funding from one or more sponsors
- A “goal owner” who is responsible for making sure the work gets done
- An indication of support from one or more “champions” on existing teams in the Rust project
How do Goals help companies?
This last part—indication of support—is what makes Goals different from earlier Foundation Grants. Grants had the other three parts (the funder was always the Foundation itself), but because there was no indication of support, the grant recipient didn’t know where to start, and sometimes would end up with nothing at all to show for their grant other than some unmerged code.
Goals fix this by reaching out to teams ahead of time and making sure that the work is desired by both companies and maintainers. This makes it much more likely that the work actually ends up in a stable Rust release.
How do goals help maintainers?
A common theme in the project is that there just aren’t enough people. Responsibilities end up being shouldered by the same ten people over and over again, because no one else has time, experience, and interest.
This is bad for all the people who are overwhelmed, but it’s also bad for the project as a whole, because it means we have no route for people to join the project, and the cycle repeats again. In practice, people join today through backrooms, personal connections, or months or years of laborious work that show maintainers that a new contributor can be trusted.
Project goals are a way to onboard people by introducing an intermediate step between “unknown contributor” and “team member”. They show that a goal owner plans to stick around for a long time, and give both the owner and maintainers a say in what work gets done, without “backloading” the work to a giant PR that appears out of the blue.
Why open a project goal?
I’ve talked so far about why goals exist, and how they help companies and maintainers. But how do we find owners to work on them? Sometimes maintainers can do the implementation work, but often they are stretched between many projects and don’t have the time to concentrate on one full-time.
This is where I come in. I have a long history of work in the Rust project, helping maintainers trust me; an independent company that logistically allows me to do contract work, giving me the time to work on this; and connections with the Foundation and funders that help me find sponsors for my work.
I do not want to say that people need to be an insider to open a project goal. Instead, I want to work with the Funding and project management teams to open up this work to anyone, so that we can find owners to onboard into the Rust project. More than that, I want to use my position to directly mentor people to work on my goal, so they can open goals of their own in the future.
I think it’s very important to have positive visions of the future. My vision for the future of the Rust project is a collaboration between companies and maintainers to build a toolchain we can all be proud of. To that end, I’ve opened my own project goal focused on reducing target directory size when building Rust programs, both with Cargo and with other build systems. You can see more details here.
Footnotes
Next Steps for the Foundation
As Project Goals have added a funding component the next piece of the puzzle is making companies aware that Project Goals exist, that Roadmaps exist, and that there are teams of contributors and maintainers standing by ready to get to work. The Rust Foundation helps facilitate the initial interactions with the sponsor and can be used as a fiscal sponsor of the project goal creating the contract and collecting the payment from the company and then paying the contractor. Why this matters – corporations do not have to manage the relationship with the maintainers, they trust the Foundation to create the contract with agreed upon terms and conditions by both the Project Goal maintainer and the company, and the Foundation will execute it and provide the necessary reporting etc. that is outlined in the agreed statement of work.
The Foundation is working on creating an easier to digest ‘menu’ if you will to share with members, the Rust Commercial Network, and companies interested in funding development. Look for updates coming from the Foundation as we build up our marketing efforts with the Project Goals Team. Until then feel free to reach out to Project Goal Team Lead Tomáš Šedovič via our contact email address.