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
Post a Comment