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

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -