Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make commands in dependencies available to run #9833

Closed
wants to merge 3 commits into from

Commits on Aug 30, 2021

  1. cargo-run-deps: Testcases for cargo run -p <dev-dependency-pkgid>

    TDD testcases for allowing `cargo run` to be invoked
    on dependencies of the workspace members via their
    corresponding pkgid.
    
    Relates to rust-lang#2267, rust-lang#872.
    tchernobog committed Aug 30, 2021
    Configuration menu
    Copy the full SHA
    440cfad View commit details
    Browse the repository at this point in the history
  2. cargo-run-deps: Make commands in dependencies available to run

    This approach teaches `cargo run` to handle also binary
    targets in dependencies. In turn, it allows using cargo as a shim
    when needing to invoke a specific package version from the
    set of dependencies, without resorting to install a user-wide
    version of a binary.
    
    Users of e.g. `mdbook` should rejoice.
    
    Fixes rust-lang#2267.
    tchernobog committed Aug 30, 2021
    Configuration menu
    Copy the full SHA
    f5114a4 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2021

  1. Configuration menu
    Copy the full SHA
    fb5d0b4 View commit details
    Browse the repository at this point in the history