Mo :ferris: :tux: @ FOSDEM on Nostr: Did you know about the `rust-version` field in the Cargo.toml file? 🤔 It specifies ...
Did you know about the `rust-version` field in the Cargo.toml file? 🤔
It specifies the minimum Rust version that your crate supports.
If users try to compile your crate with an older version, Cargo will give them a helpful error message ❗️
This avoids confusing errors that are caused by the usage of new language features 😅
Guilty of not using it in #Rustlings until now 😬
#RustLang
It specifies the minimum Rust version that your crate supports.
If users try to compile your crate with an older version, Cargo will give them a helpful error message ❗️
This avoids confusing errors that are caused by the usage of new language features 😅
Guilty of not using it in #Rustlings until now 😬
#RustLang