3 ms·
There are some efforts for lowering the overhead and would be interesting to explore how we could further do it. First, we allow sharing `Cargo.toml` fields ac
by epage 3y ago
There are some efforts for lowering the overhead and would be interesting to explore how we could further do it.
First, we allow sharing `Cargo.toml` fields across the workspace since 1.64.0 [0]. In the upcoming 1.71.0, we extend this so that `cargo new` will automatically inherit fields when creating new `Cargo.toml` files [1].
From a different angle, we are also adding support for single-file packages though this is more meant for binaries [2]
[0] https://doc.rust-lang.org/cargo/reference/workspaces.html#the-package-table https://doc.rust-lang.org/cargo/reference/workspaces.html#th...
[1] https://github.com/rust-lang/cargo/pull/12069 https://github.com/rust-lang/cargo/pull/12069
[2] https://github.com/rust-lang/rfcs/pull/3424 https://github.com/rust-lang/rfcs/pull/3424