Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Hi Guys,

This is the forth post I wrote about Learning Rust on Medium. In there, I tried to summarize about,

▸ Modules

    Modules in the same file.

    Modules in a different file in the same directory.

    Modules in a different file in a different directory
▸ Crates

    lib.rs file on the same executable crate

    Dependency crate specified on Cargo.toml (from path, git repo & creating a create for crates.io)
▸ Workspaces

▸ std modules and Preludes

I am a 🇱🇰 Web Developer who lives in 🇻🇳. So I am not a native English speaker and just learning Rust(late nights), If you found any mistake or something that I need to change, even a spelling or a grammar mistake, please let me know.

Thanks.



Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: