]> git.proxmox.com Git - cargo.git/commit
Detect `cargo add foo` will inherit a workspace dependency
authorScott Schafer <schaferjscott@gmail.com>
Tue, 26 Apr 2022 21:41:12 +0000 (16:41 -0500)
committerEd Page <eopage@gmail.com>
Wed, 27 Apr 2022 21:02:10 +0000 (16:02 -0500)
commit9ee3cffb9efea1a4c23862fe53f043dfa27acc2c
tree7a955f9c54522dd519d259a0cc421e5c0dce4d06
parent036145b2eae6c174d6f944cbc992de0db9c98320
Detect `cargo add foo` will inherit a workspace dependency
32 files changed:
src/cargo/ops/cargo_add/mod.rs
tests/snapshots/add/detect_workspace_inherit.in/Cargo.toml [new file with mode: 0644]
tests/snapshots/add/detect_workspace_inherit.in/dependency/Cargo.toml [new file with mode: 0644]
tests/snapshots/add/detect_workspace_inherit.in/dependency/src/lib.rs [new file with mode: 0644]
tests/snapshots/add/detect_workspace_inherit.in/primary/Cargo.toml [new file with mode: 0644]
tests/snapshots/add/detect_workspace_inherit.in/primary/src/lib.rs [new file with mode: 0644]
tests/snapshots/add/detect_workspace_inherit.out/Cargo.toml [new file with mode: 0644]
tests/snapshots/add/detect_workspace_inherit.out/dependency/Cargo.toml [new file with mode: 0644]
tests/snapshots/add/detect_workspace_inherit.out/primary/Cargo.toml [new file with mode: 0644]
tests/snapshots/add/detect_workspace_inherit.stderr [new file with mode: 0644]
tests/snapshots/add/detect_workspace_inherit.stdout [new file with mode: 0644]
tests/snapshots/add/detect_workspace_inherit_features.in/Cargo.toml [new file with mode: 0644]
tests/snapshots/add/detect_workspace_inherit_features.in/dependency/Cargo.toml [new file with mode: 0644]
tests/snapshots/add/detect_workspace_inherit_features.in/dependency/src/lib.rs [new file with mode: 0644]
tests/snapshots/add/detect_workspace_inherit_features.in/primary/Cargo.toml [new file with mode: 0644]
tests/snapshots/add/detect_workspace_inherit_features.in/primary/src/lib.rs [new file with mode: 0644]
tests/snapshots/add/detect_workspace_inherit_features.out/Cargo.toml [new file with mode: 0644]
tests/snapshots/add/detect_workspace_inherit_features.out/dependency/Cargo.toml [new file with mode: 0644]
tests/snapshots/add/detect_workspace_inherit_features.out/primary/Cargo.toml [new file with mode: 0644]
tests/snapshots/add/detect_workspace_inherit_features.stderr [new file with mode: 0644]
tests/snapshots/add/detect_workspace_inherit_features.stdout [new file with mode: 0644]
tests/snapshots/add/detect_workspace_inherit_optional.in/Cargo.toml [new file with mode: 0644]
tests/snapshots/add/detect_workspace_inherit_optional.in/dependency/Cargo.toml [new file with mode: 0644]
tests/snapshots/add/detect_workspace_inherit_optional.in/dependency/src/lib.rs [new file with mode: 0644]
tests/snapshots/add/detect_workspace_inherit_optional.in/primary/Cargo.toml [new file with mode: 0644]
tests/snapshots/add/detect_workspace_inherit_optional.in/primary/src/lib.rs [new file with mode: 0644]
tests/snapshots/add/detect_workspace_inherit_optional.out/Cargo.toml [new file with mode: 0644]
tests/snapshots/add/detect_workspace_inherit_optional.out/dependency/Cargo.toml [new file with mode: 0644]
tests/snapshots/add/detect_workspace_inherit_optional.out/primary/Cargo.toml [new file with mode: 0644]
tests/snapshots/add/detect_workspace_inherit_optional.stderr [new file with mode: 0644]
tests/snapshots/add/detect_workspace_inherit_optional.stdout [new file with mode: 0644]
tests/testsuite/cargo_add.rs