📄️ Structuring Your Rust Application
In this module, you'll learn how to structure larger Rust applications using modules and the Ports and Adapters architecture pattern (also known as Hexagonal Architecture). For you as a .NET developer, this is comparable to organizing your solution with Clean Architecture principles, separating core business logic from infrastructure concerns.
📄️ Rust's Module System
Rust provides a module system that allows you to organize code into logical units and control visibility. Unlike namespaces in C#, Rust modules also control item visibility through access modifiers.
📄️ Structuring Code Base
Look at how you can restructure your application using modules and the Ports and Adapters architecture:
📄️ Challenge
Now it's time to apply what you've learned about modular architecture! In this module's challenge, you'll: