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

Generate signatures for Cargo.toml files following rust-toolchain.toml #62

Merged
merged 3 commits into from
Apr 11, 2023

Commits on Apr 11, 2023

  1. Configuration menu
    Copy the full SHA
    e904a60 View commit details
    Browse the repository at this point in the history
  2. feat(tricorders/rust): read rust-toolchain on startup

    Knowing what rust-toolchain has been configured for a project will help
    us understand what signatures need to be emited.
    
    For example, if there are 4 `targets`, then for every library/binary
    that we find in every `Cargo.toml` file, we want to include one
    signature per target.
    
    Also this information helps us configure what channel of the Rust
    toolchain itself needs to be readied.
    leostera committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    cc3f360 View commit details
    Browse the repository at this point in the history
  3. feat(tricorders/rust): scan and analyze lockfiles

    This changeset lets the DependencyManager know the exact versions of the
    dependencies that are currently being used in the projec by scanning,
    parsing, and consolidating `Cargo.lock` files.
    
    It can use some improvements like namespacing of consolidated deps by
    `Cargo.toml` prefix path, or support for Cargo workspaces, but its
    enough of a start to let the generated signatures for `rust_binary` and
    `rust_library` send back _requirements_.
    
    This changeset also builds Requirements based on the Cargo.toml
    dependencies, using the consolidated lockfile information.
    leostera committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    68636f5 View commit details
    Browse the repository at this point in the history