cargo icon indicating copy to clipboard operation
cargo copied to clipboard

The Rust package manager

Results 746 cargo issues
Sort by recently updated
recently updated
newest added

### Problem Cargo emits confusing errors when trying to use example crates ### Steps When you have an example crate, and define it in the main crate's cargo.toml with ```...

C-bug
A-diagnostics
S-accepted

### Problem The GNU make jobserver protocol leaks threads if a process dies while holding a token. For example: 1. Parent process creates the pipe and puts 2 tokens into...

C-feature-request
S-needs-design
A-jobserver

**Describe the problem you are trying to solve** When creating a new cargo project using the `cargo new` subcommand inside an existing git repository, cargo does not create a `.gitignore`...

Command-new
C-feature-request
S-needs-design

FCP: https://github.com/rust-lang/cargo/pull/16284#issuecomment-3563644951 # Stabilization report ## Summary The `include` key in Cargo configuration files allows loading additional config files, enabling better organization, sharing, and management of Cargo configurations across projects...

A-documenting-cargo-itself
A-configuration
T-cargo
final-comment-period
disposition-merge
S-waiting-on-review
Z-config-include
A-unstable

rust-analyzer analyzes `cfg(rust_analyzer)`, but rustc warns it ```rust #[cfg_attr(rust_analyzer, doc(notable_trait))] pub trait Foo { type Out; } ```

S-triage
A-check-cfg

Like RUSTFLAGS, build scripts are an important escape hatch. Like RUSTFLAGS (#12739), we should find replacements for common uses of build scripts so people don't have to reach to this...

A-build-scripts
C-tracking-issue

### What does this PR try to resolve? Cargo should not load configuration twice if the config is symlinked resolves #16206 ### How to test and review this PR? >...

A-configuration

Implementation: - [x] #15848 - [x] #15947 Documentation: https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#build-dir-new-layout ## Known issues - As a side effect, we pass a lot more parameters to rustc, likely making `cargo -vv` more...

C-cleanup
S-needs-design
A-layout

### Problem Since cargo 1.89.0 including current version (1.91.0) cargo is unable to download the registry manifest or crates. We are seeing spurious network warning when cargo tries to update...

C-bug
A-networking
S-triage

### What does this PR try to resolve? Add a new `cargo::imprecise_version_requirements` lint: Only check if dependency has a single caret requirement. All other requirements (multiple, tilde, wildcard) are not...

A-documenting-cargo-itself
A-workspaces
S-waiting-on-review