Global Gate to Cargo

I would like to enable a feature for the entire Cargo project. For example, I would like to add #![feature(non_ascii_idents)]to each source file. Is there a place to list them in Cargo.toml?

+4
source share
1 answer

No, although you do not add functions to each source file; they are attributes of the box. That is, you install them on a box, and not on each module.

+5
source

All Articles