cargo
cargo copied to clipboard
The Rust package manager
### Summary Original issue: #8424, #14258 Implementation: #14388 Documentation: https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#warnings Allows control over warnings via a new Cargo configuration option `build.warnings`. ### Unresolved Issues - [ ] What operations should...
This issue is intended for tracking performance related discussion and benchmarks for #14136. #14136 itself is for overall progress reports. Useful cargo script to summarize number and size of files...
### What does this PR try to resolve? Before, [`resolve_all_features()`](https://github.com/rust-lang/cargo/blob/13695497cd3060ba2700a5552b3397c451456a89/src/cargo/ops/cargo_compile/mod.rs#L1001-L1032) isn't filtering dependencies, as it uses the set returned by [`Resolve::deps()`](https://github.com/rust-lang/cargo/blob/0f14d9d2fa4ca7ebee982e6015e98b0d28495390/src/cargo/core/resolver/resolve.rs#L327-L330) directly which is mostly unfiltered. This PR fixes it...
If I set `crate-type=["dylib"]` in `Cargo.toml`, I would expect it to not only compile the top-level crate as dynamic, but also all its transitive dependencies, and link with them dynamically...
### Problem We have many situations where people would find additional information useful for new users at the cost of output blot. Potential cases - `cargo new`s `see more `Cargo.toml`...
### What does this PR try to resolve? Adds `proc_macro` information to the index. Opening as draft as this is still an experiment and isn't ready for merge, especially the...
Add `value_hint` for the global `--config` argument to allow completing its value. The related https://github.com/rust-lang/cargo/pull/16245#issuecomment-3524529383 adds partial support to `src/etc/cargo.bashcomp.sh`. ### What does this PR try to resolve? Currently, `native-completions`...
### Problem In xshell, my macos builds fail fairly frequently with ``` command was terminated by a signal `cargo test --workspace --no-run`: 9 ``` See, eg https://github.com/matklad/xshell/runs/5529460783?check_suite_focus=true#step:4:22 What specifically happens...
### Problem Users may want to install a rust binary crate to `/usr/local/bin`, not to `$HOME/.cargo/bin`, and this can be archived by `--root` flag of `cargo install`. And normal users...
### Problem I'd like to treat some crates in my workspace as independent packages because they will be built in the Cloud independently from the other crates in the workspace....