Apr 2026
13 Mon
14 Tue
15 Wed
16 Thu
17 Fri
18 Sat 09:00 AM – 06:00 PM IST
19 Sun 09:00 AM – 06:00 PM IST
Submitted Mar 13, 2026
Rust’s type system is often discussed in the context of memory safety, but one of its most practical strengths is API design. In this talk, I’ll show how Rust’s type system can help us design APIs that are easier to use correctly, harder to misuse, and clearer about what is and is not valid.
This talk explores how Rust’s type system can be used not just for memory safety, but for designing better APIs. Using Feluda—a Rust-based dependency and license analysis tool—as a running case study, I’ll show how patterns like enums, typestate, capability modeling, and progressive builders can make APIs easier to use correctly and harder to misuse. The focus is on practical lessons for real-world Rust tools, libraries, and developer platforms.
Attendees will learn:
How to move API constraints from runtime checks and documentation into Rust types.
Practical patterns for designing safer APIs using enums, typestate, capability modeling, and progressive builders.
How lessons from building a real Rust tool like Feluda can be applied to CLIs, internal platforms, and reusable libraries.
Rust developers building libraries, CLIs, internal tools, or backend services
Engineers who want to improve API ergonomics and correctness
Intermediate developers who know basic Rust and want to design better abstractions
Farhaan Bukhsh is an open-source contributor and software engineer working across Rust, Python, and developer tooling. He has been involved in building community and production-oriented software in the open, and is particularly interested in API design, systems thinking, and creating tools. He works at OpenCraft and has been maintaining multiple projects under the Open edX umbrella. He is also a Release Manager with Open edX.
Hosted by
{{ gettext('Login to leave a comment') }}
{{ gettext('Post a comment…') }}{{ errorMsg }}
{{ gettext('No comments posted yet') }}