Licenses in Rust projects
⚓ Rust 📅 2026-04-08 👤 surdeus 👁️ 4Hello!
I am making a new project, and I'd like to license it under the GNU GPL, so it's vital that I carefully check dependency licenses, especially if they're included in my code. I know I need to include/consider licenses of external crates; I have that down already, and I realise that Rust is licensed under Expat OR Apache-2.0, but what about things listed in ~/.rustup/toolchains/.../share/doc/rust/COPYRIGHT(-library).html? How do those crates and their licenses come into play? Is their code included in my linked code or the compiled binary? And what does all this mean in terms of licensing my project? I am rather confused by all this.
Any help is greatly appreciated.
Thanks!
6 posts - 5 participants
🏷️ Rust_feed