cargo-edit v0.8.0 Release Notes

Release Date: 2021-09-22 // over 2 years ago
  • ๐Ÿ’ฅ Breaking Changes

    Many programmatic APIs changed

    cargo-add

    • Dependency paths are now relative to current working directory, rather than affect crate root (#497)
    • 0๏ธโƒฃ Sane defaults when adding a dependency from within the workspace (#504)

    ๐Ÿ”‹ Features

    • ๐Ÿ†• New vendored-openssl crate feature (#447)
    • ๐Ÿ†• New vendored-libgit2 crate feature (#488)
    • ๐Ÿ‘Œ Support for dotted keys in TOML (#491)

    cargo-set-version

    • ๐Ÿ†• New command to bump crate versions (#482)
    • โšก๏ธ Automatically update all workspace dependents (#506)

    โฌ†๏ธ cargo-upgrade

    • โž• Add --exclude (#446)

    ๐Ÿ›  Fixes

    • ๐Ÿ›  Fixed various bugs when interacting with the registry (e.g. #433, #484)
    • Read config files with extensions as added with Rust 1.39 (#439)
    • rustsec
      • Removed unmaintained dirs dependency (#440)
      • Remove dependency on old hyper v0.13 (#431)
    • โšก๏ธ Respect --quiet when updating the index (#462)
    • Lookup pkg id's relative to --manifest-path rather than current working directory (#505)

    cargo-add

    • Look up versions after updating the index (#483)
    • ๐Ÿ‘ Allow optional build dependencies (#494)
    • Dependency paths are now relative to current working directory, rather than affect crate root (#497)
    • Prevent cargo add . from working (#501)
    • 0๏ธโƒฃ Sane defaults when adding a dependency from within the workspace (#504)

    โฌ†๏ธ cargo-upgrade

    • โšก๏ธ Update optional dependencies with --to-lockfile (#427)
    • โฌ†๏ธ Actually report upgrade when package key is used (#409)

    cargo-rm

    • โœ‚ Remove references among features to crate being removed (#500)