rust - Global feature gates in Cargo -


i enable feature gate entire cargo project. example, #![feature(non_ascii_idents)] added every source file. there place list them in cargo.toml?

no, though don't add feature gates every source file; crate attributes. is, set them on crate, not on every module.


Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

c# - Exception when attempting to modify Dictionary -