I picked up Rust in 2021 the way I learn most things: by working through the material and then building something real with it.
Learning
I worked through the standard material and kept my code in public repositories:
Crates
Then I published a family of five crates on crates.io, a lightweight framework for command query responsibility segregation (CQRS) and event sourcing, with about 39,000 downloads in total:
- cqrs-es2, the core framework (about 20,700 downloads)
- tokio-cqrs-es2-store, an async event store
- cqrs-es2-store, a synchronous event store
- postgres-es2, a PostgreSQL event store
- cqrs-es2-sql, an SQL event store