Become a sponsor toDavid Tolnay
💡Tip:If you are open to suggestions who to sponsor so that your money makes the biggest difference in Rust being awesome, you should be sponsoringlcnr andWaffleLapkin.
- I work on theRust standard library API team reviewing every API change to the standard library.
- I maintain foundational Rust crates includingserde,syn,quote that practically everyone working with Rust will use. As of 2025, 65% of all published crates on crates.io depend transitively on syn; 43% depend transitively on serde; 45% dependdirectly on at least one crate by me.
- I create teaching material for advanced Rust concepts including mycase studies project,procedural macro workshop, andRust quiz.
- I set an example for thoughtful Rust library design, as seen inanyhow orthiserror.
- I have earned a reputation for regularly coming up with highly creative, odd but ultimately highly valuable ideas.
- Some examples of interesting projects:
- Watt, a runtime for executing Rust procedural macros compiled as WebAssembly designed to provide faster compilation, isolation, and determinism.
- Async-trait, a macro for using async functions in Rust traits with dynamic dispatch.
- No-panic, make the compiler verify it's impossible for a function to panic.
- Cargo-expand, Cargo subcommand to show the result of macro expansion.
- Trybuild, a library for testing the diagnostics a user would see from an incorrect macro call.
- Prettyplease, a lightweight pretty-printer that is well suited to generated code and much faster than rustfmt.
Featured work
- dtolnay/cxx
Safe interop between Rust and C++
Rust 6,169 - dtolnay/anyhow
Flexible concrete Error type built on std::error::Error
Rust 5,809 - dtolnay/thiserror
derive(Error) for struct and enum error types
Rust 4,795 - dtolnay/proc-macro-workshop
Learn to write Rust procedural macros [Rust Latam conference, Montevideo Uruguay, March 2019]
Rust 4,398 - dtolnay/syn
Parser for Rust source code
Rust 3,022 - dtolnay/cargo-expand
Subcommand to show result of macro expansion
Rust 2,797
$1 a month
SelectI am an individual fan.
$100 a month
SelectMy small company has benefited from @dtolnay's contributions and we would like to incentivize his ongoing valuable work.
$350 a month
Select@dtolnay's contributions have saved my small company some engineering effort and we would like to recognize that with a one time bonus.
$1,000 a month
SelectMy large company has benefited quite a bit from @dtolnay's contributions and we would like to incentivize his ongoing valuable work.
$3,500 a month
Select@dtolnay's contributions have saved my large company a substantial amount of engineering effort and we would like to recognize that with a one time bonus.