Skip to content

Releases: killercup/cargo-edit

v0.3.2

04 Jun 10:22

Choose a tag to compare

New features:

  • add multiple local packages (#295)
  • support for --no-default-features flag (#290)
  • rm multiple crates (#289)

Bug fixes:

  • strip semver metadata on versions (#304)

All changes

v0.3.1

25 Sep 08:13

Choose a tag to compare

Update dependencies, which fixes issues with OpenSSL 1.1.1 (#245)

Changes since 0.3.0

v0.3.0

25 Sep 08:13

Choose a tag to compare

A lot has happened since the last stable release!

The most important feature sure is that we try to not mess up your Cargo.toml files anymore!
While we are not 100% there yet, cargo add foo should give you much nicer edits now.

Other cool features:

  • Add proxy support via env variable (#179)
  • Allow simultaneous specification of both version and path
    (thanks, @dherman!)
  • Add specific error for a missing crate (thanks, @bjgill!)
  • cargo-upgrade now supports --precise, --dry-run, and has nicer output

v0.3.0 Beta 1

18 Dec 23:07

Choose a tag to compare

v0.3.0 Beta 1 Pre-release
Pre-release

Beta pre-release version to test out style (mostly) preserving TOML parser.

You can install this with cargo install cargo-edit --vers 0.3.0-beta.1 (add --force to overwrite an older version).

Changes

First time contributors

Thanks @ibabushkin!

v0.3.0 Alpha 1

15 Aug 10:09

Choose a tag to compare

v0.3.0 Alpha 1 Pre-release
Pre-release

Pre-release version to test out the new TOML pretty printing!

Changes

  • When the version of a dependency, cargo-upgrade now outputs "Upgrading crate vOld -> vNew" with the same text style as cargo update. (#143)
  • Add basic workspace support with cargo upgrade --all (#153)
  • Support selecting which binaries to install (#156) with cargo install cargo-edit --no-default-features --features "add upgrade"
  • Use the newly added toml::pretty_string to format the Cargo.toml (#163)
  • Add --allow-prerelease flag to cargo upgrade (#164)

Contributors

Thank you, @nikhotine, @vitiral, @bjgill, @ordian, and @Eijebong!

v0.2.0

24 Jul 14:34

Choose a tag to compare

  • Add cargo-upgrade, a brand new subcommand for all your upgrading needs
  • Deprecate cargo-list, use the cargo-tree crate instead
  • Refactorings and dependency updates
    • No more curl (we use reqwest now)
    • serde 1.0
    • toml 0.4 (still messing up your carefully formatted Cargo.toml files, sorry)

v0.1.6

05 Jan 13:58

Choose a tag to compare

  • From now on, cargo add will not add pre-release versions like 0.6.0-alpha by default, instead choosing the latest stable release (e.g. 0.5.2). If you want to fetch a pre-release, pass the --allow-prerelease flag. (#104 by @sebasgarcep)

v0.1.5

03 Jan 11:01

Choose a tag to compare

  • Add the correct crate name (e.g., with a dash instead of an underscore, as seen on crates.io) notify user (#98 by @sinkuu)
  • Fix bug to allow adding multiple crates at once (#99 by @sebasgarcep)
  • Don't add yanked versions (#100 by @sebasgarcep)
  • Update dependencies

v0.1.4

03 Jan 10:27

Choose a tag to compare

Update dependencies and remove lint to make it compile with Rust 1.15 beta.

v0.1.3

23 Jul 11:19

Choose a tag to compare

  • Add multiple crates at the same time: cargo add regex nom (#59, #76)
  • Fix some problem when installing with cargo install cargo-edit (#68, #77)
  • Better errors when parsing an invalid Cargo.toml file (#81)
  • Automatically infer crates names when adding Github/Gitlab/path crates (#14, #83)
  • Add target-specific crates: cargo add --target i686-unknown-linux-gnu my-package1 (#13, #84)
  • Specify the SemVer range: cargo add nom@=1.0.1 (#61, #89)