Skip to content

Commit

Permalink
Release v0.20.0
Browse files Browse the repository at this point in the history
  • Loading branch information
qryxip committed Aug 6, 2023
1 parent be8b178 commit 5e323ef
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
20 changes: 10 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,42 +1,42 @@
# Changelog

## [Unreleased]
## [0.20.0] - 2023-08-06Z

### Added

- Added `--exclude_atcoder-202301-crates`.
- Added `--exclude-atcoder-202301-crates`. ([#197](https://github.com/qryxip/cargo-equip/pull/197))

```console
--exclude-atcoder-202301-crates Alias for `--exclude {crates available on AtCoder 202301}`
```

- Added `--toolchain-for-proc-macro-srv`.
- Added `--toolchain-for-proc-macro-srv`. ([#195](https://github.com/qryxip/cargo-equip/pull/195))

```console
--toolchain-for-proc-macro-srv <TOOLCHAIN> Toolchain for expanding procedural macros
```

### Changed

- Updated the embedded Rust Analyzer to `2023-07-31` (`0.0.166`).
- Updated the embedded Rust Analyzer to `2023-07-31` (`0.0.166`). ([#195](https://github.com/qryxip/cargo-equip/pull/195))

For Rust <1.64, `--toolchain-for-proc-macro-srv` is required for macro expansion.
For Rust \<1.64, `--toolchain-for-proc-macro-srv` is required for macro expansion.

```console
❯ cargo +1.42.0 equip 2>&1 | tail -n 2
❯ cargo +1.42.0 equip 2>&1 | tail -n 1
Rust ≧1.64.0 is required for expanding procedural macros. Specify one with `--toolchain-for-proc-macro-srv`
```

This update should fix the issue where macro expansion segfaults.

- `--toolchain` was renamed to `--toolchain-for-udeps`.
- Renamed `--toolchain` to `--toolchain-for-udeps`. ([#195](https://github.com/qryxip/cargo-equip/pull/195))

```console
❯ cargo equip --toolchain nightly
warning: `--toolchain` was renamed to `--toolchain-for-udeps`
```

- cargo-equip now warns for `resolver = "2"` and `edition = "2015"`.
- cargo-equip now warns for `resolver = "2"` and `edition = "2015"`. ([#196](https://github.com/qryxip/cargo-equip/pull/196))

Note that both has been unsupported.

Expand All @@ -54,9 +54,9 @@

Now cargo-equip built with recent Rust works.

- Adapted [the new reserving syntax in Rust 2021](https://doc.rust-lang.org/edition-guide/rust-2021/reserving-syntax.html) when minifying. ([qryxip/rustminify#7](https://github.com/qryxip/rustminify/pull/7) by [@mizar](https://github.com/mizar)).
- Adapted [the new reserving syntax in Rust 2021](https://doc.rust-lang.org/edition-guide/rust-2021/reserving-syntax.html) when minifying. ([qryxip/rustminify#7](https://github.com/qryxip/rustminify/pull/7) by [@mizar](https://github.com/mizar), [#198](https://github.com/qryxip/cargo-equip/pull/198)).

This fix affects Rust 2018. The output might be few characters longer.
This fix also affects Rust 2018. The output might be few characters longer.

## [0.19.0] - 2022-03-26Z

Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cargo-equip"
version = "0.19.0"
version = "0.20.0"
edition = "2018"
license = "MIT OR Apache-2.0"
description = "A Cargo subcommand to bundle your code into one `.rs` file for competitive programming."
Expand Down

0 comments on commit 5e323ef

Please sign in to comment.