Releases: killercup/cargo-edit
Releases · killercup/cargo-edit
v0.3.2
v0.3.1
v0.3.0
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:
v0.3.0 Beta 1
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
- Don't mess up
Cargo.tomlstructure too much (#181) - Add proxy support via env variable (#179)
- Improved error handling (#167)
- Lots of other improvements
First time contributors
Thanks @ibabushkin!
v0.3.0 Alpha 1
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_stringto format the Cargo.toml (#163) - Add
--allow-prereleaseflag to cargo upgrade (#164)
Contributors
Thank you, @nikhotine, @vitiral, @bjgill, @ordian, and @Eijebong!
v0.2.0
- 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.tomlfiles, sorry)
v0.1.6
v0.1.5
- 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
v0.1.3
- 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.tomlfile (#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)