cargo-edit v0.8.0 Release Notes

Release Date: 2021-09-22 // 4 months 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)

Previous changes from v0.7.0