github ipetkov/crane v0.3.0

latest releases: v0.19.0, v0.18.1, v0.18.0...
2 years ago

0.3.0 - 2022-02-11

Added

  • downloadCargoPackageFromGit has been added to handle downloading and
    unpacking a cargo workspace from a git repository
  • vendorCargoRegistries has been added to handle vendoring crates from all
    registries used in a Cargo.lock file
  • vendorGitDeps has been added to handle vendoring crates from all git sources
    used in a Cargo.lock file

Changed

  • vendorCargoDeps now automatically handles git dependencies by default
    • Git dependencies will be vendored as another source in the output derivation
    • The cargo configuration is done such that the sources are available to use
      when it decides, without overriding that crate for the entire workspace
      • For example, if your workspace contains a crate only used for testing
        which has a git dependency of a crate used by other parts of the
        workspace, then only that crate will use the git dependency. The rest of
        the workspace will continue to use the crates.io version, just like cargo
        behaves when used outside of Nix.

Don't miss a new crane release

NewReleases is sending notifications on new releases.