Commit graph

2163 commits

Author SHA1 Message Date
Ed Page
17b003e8f2 fix(varcon)!: Parse verified/level 2024-08-23 13:43:44 -05:00
Ed Page
6e39b516fb fix(varcon)!: Make cluster header required 2024-08-23 13:35:30 -05:00
Ed Page
19ed24a45f
Merge pull request #1084 from epage/update
feat(varcon): Update to Version 2020.12.07
2024-08-23 13:30:20 -05:00
Ed Page
292418c588 style: Make clippy happy 2024-08-23 13:20:12 -05:00
Ed Page
dd3e1018f8 feat(varcon): Update to Version 2020.12.07 2024-08-23 13:00:37 -05:00
Ed Page
d35e0fe68c refactor(varcon): Directly assign 2024-08-23 12:59:34 -05:00
Ed Page
187d992ef4 refactor(varcon): Pull out note parser 2024-08-23 12:59:34 -05:00
Ed Page
11d6e1d968 fix(varcon)!: Track entry note separate from comment 2024-08-23 12:59:24 -05:00
Ed Page
0d2c99e494 refactor(varcon): Reorder entry fields 2024-08-23 11:44:04 -05:00
Ed Page
ffcca9ff99 refactor(varcon): Consolidate description start with description 2024-08-23 11:41:46 -05:00
Ed Page
c1644d8876 refactor(varcon): Mutate, rather than initialize 2024-08-23 11:41:18 -05:00
Ed Page
62aab867ab refactor(varcon): Reduce boilerplate 2024-08-23 11:40:37 -05:00
Ed Page
0068450bf1 refactor(varcon): Pull out entry parser 2024-08-23 11:39:12 -05:00
Ed Page
1e9d9813a0 refactor(varcon): Flatten description parsing 2024-08-23 11:38:49 -05:00
Ed Page
095c7aecc2 fix(varcon): Catch bad Pos values 2024-08-23 11:33:29 -05:00
Ed Page
6ab147af94 fix(varcon)!: Add Preposition support 2024-08-23 11:33:22 -05:00
Ed Page
40fc92a6fc fix(varcon)!: Add Interjection support 2024-08-23 11:30:42 -05:00
Ed Page
c32240302d fix(varcon): Swallow abbr annotations 2024-08-23 11:26:25 -05:00
Ed Page
e85562501a test(varcon): Show basic abbr parsing 2024-08-23 11:25:08 -05:00
Ed Page
3b2dd279b7 fix(varcon): Swallow plural annotations 2024-08-23 11:13:18 -05:00
Ed Page
5e00c161a6 test(varcon): Show basic plural parsing 2024-08-23 11:13:09 -05:00
Ed Page
198f9d80e5 test(varcon): Show bad Pos parsing 2024-08-23 09:37:25 -05:00
Ed Page
a4494fe54f fix(varcon)!: Shift delimiter parsing out of Pos
BREAKING CHANGE: `Pos::parse` now parses `A` instead of `<A>`
2024-08-23 09:35:46 -05:00
Ed Page
855ac08da3 refactor(token): Resolve deprecations 2024-08-23 09:16:46 -05:00
Ed Page
95552cb48f test(varcon): Make it easier to update tests 2024-08-23 09:15:35 -05:00
Ed Page
8b729e1d89 docs(ref): Link to ripsecret 2024-08-22 10:43:10 -05:00
Ed Page
cbb98c663b chore: Release 2024-08-22 10:37:16 -05:00
Ed Page
f05de67f96 docs: Update changelog 2024-08-22 10:36:51 -05:00
Ed Page
c87c2dae38
Merge pull request #1082 from epage/locale
fix(config): Don't overwrite locale and tokenizer config
2024-08-22 10:26:30 -05:00
Ed Page
0c11a25f73 fix(config): Don't overwrite locale and tokenizer config
This was broken in #882
2024-08-22 10:17:18 -05:00
Ed Page
5bb1eeac23
Merge pull request #1078 from jayvdb/fixup-display
Fix BinaryFile display
2024-08-17 19:25:09 -05:00
John Vandenberg
5062c092de fix: BinaryFile display 2024-08-18 07:29:30 +08:00
Ed Page
10a72c9e52
Merge pull request #1077 from jayvdb/update-derive-more
chore(deps): Update derive_more to v1.0
2024-08-16 08:29:12 -05:00
John Vandenberg
9cfa3d376d chore(deps): Update derive_more to v1.0 2024-08-16 20:16:07 +08:00
Ed Page
88c74632b6
Merge pull request #1072 from crate-ci/renovate/maturin-1.x
chore(deps): Update dependency maturin to >=1.7,<1.8
2024-08-01 10:26:36 -05:00
renovate[bot]
9ab07a28ac
chore(deps): Update compatible (#1071)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [anstream](https://togithub.com/rust-cli/anstyle) | dependencies |
patch | `0.6.14` -> `0.6.15` |
| [anstyle](https://togithub.com/rust-cli/anstyle) | dependencies |
patch | `1.0.7` -> `1.0.8` |
| [assert_fs](https://togithub.com/assert-rs/assert_fs) |
dev-dependencies | patch | `1.1.1` -> `1.1.2` |
| [bstr](https://togithub.com/BurntSushi/bstr) | dependencies | minor |
`1.9.1` -> `1.10.0` |
| [clap](https://togithub.com/clap-rs/clap) | dependencies | patch |
`4.5.8` -> `4.5.13` |
|
[clap-verbosity-flag](https://togithub.com/clap-rs/clap-verbosity-flag)
| dependencies | patch | `2.2.0` -> `2.2.1` |
| [codegenrs](https://togithub.com/crate-ci/codegenrs) |
dev-dependencies | patch | `3.0.1` -> `3.0.2` |
| [colorchoice-clap](https://togithub.com/rust-cli/anstyle) |
dependencies | patch | `1.0.4` -> `1.0.5` |
| [env_logger](https://togithub.com/rust-cli/env_logger) | dependencies
| patch | `0.11.3` -> `0.11.5` |
| [human-panic](https://togithub.com/rust-cli/human-panic) |
dependencies | patch | `2.0.0` -> `2.0.1` |
| [indexmap](https://togithub.com/indexmap-rs/indexmap) |
dev-dependencies | minor | `2.2.6` -> `2.3.0` |
| [kstring](https://togithub.com/cobalt-org/kstring) | dependencies |
patch | `2.0.0` -> `2.0.2` |
| [proc-exit](https://togithub.com/rust-cli/proc-exit) | dependencies |
patch | `2.0.1` -> `2.0.2` |
| [serde](https://serde.rs)
([source](https://togithub.com/serde-rs/serde)) | dependencies | patch |
`1.0.203` -> `1.0.204` |
| [serde_json](https://togithub.com/serde-rs/json) | dependencies |
patch | `1.0.119` -> `1.0.121` |
|
[snapbox](https://togithub.com/assert-rs/trycmd/tree/main/crates/snapbox)
([source](https://togithub.com/assert-rs/trycmd)) | dev-dependencies |
patch | `0.6.11` -> `0.6.16` |
| [thiserror](https://togithub.com/dtolnay/thiserror) | dependencies |
patch | `1.0.61` -> `1.0.63` |
| [toml](https://togithub.com/toml-rs/toml) | dependencies | patch |
`0.8.14` -> `0.8.19` |
| [trycmd](https://togithub.com/assert-rs/trycmd) | dev-dependencies |
patch | `0.15.4` -> `0.15.6` |
| [winnow](https://togithub.com/winnow-rs/winnow) | dependencies | patch
| `0.6.13` -> `0.6.18` |

---

### Release Notes

<details>
<summary>rust-cli/anstyle (anstream)</summary>

###
[`v0.6.15`](https://togithub.com/rust-cli/anstyle/compare/anstream-v0.6.14...anstream-v0.6.15)

[Compare
Source](https://togithub.com/rust-cli/anstyle/compare/anstream-v0.6.14...anstream-v0.6.15)

</details>

<details>
<summary>assert-rs/assert_fs (assert_fs)</summary>

###
[`v1.1.2`](https://togithub.com/assert-rs/assert_fs/blob/HEAD/CHANGELOG.md#112---2024-07-25)

[Compare
Source](https://togithub.com/assert-rs/assert_fs/compare/v1.1.1...v1.1.2)

##### Compatibility

-   Update MSRV to 1.74.0

</details>

<details>
<summary>BurntSushi/bstr (bstr)</summary>

###
[`v1.10.0`](https://togithub.com/BurntSushi/bstr/compare/1.9.2...1.10.0)

[Compare
Source](https://togithub.com/BurntSushi/bstr/compare/1.9.2...1.10.0)

###
[`v1.9.2`](https://togithub.com/BurntSushi/bstr/compare/1.9.1...1.9.2)

[Compare
Source](https://togithub.com/BurntSushi/bstr/compare/1.9.1...1.9.2)

</details>

<details>
<summary>clap-rs/clap (clap)</summary>

###
[`v4.5.13`](https://togithub.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#4513---2024-07-31)

[Compare
Source](https://togithub.com/clap-rs/clap/compare/v4.5.12...v4.5.13)

##### Fixes

- *(derive)* Improve error message when `#[flatten]`ing an optional
`#[group(skip)]`
-   *(help)* Properly wrap long subcommand descriptions in help

###
[`v4.5.12`](https://togithub.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#4512---2024-07-31)

[Compare
Source](https://togithub.com/clap-rs/clap/compare/v4.5.11...v4.5.12)

###
[`v4.5.11`](https://togithub.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#4511---2024-07-25)

[Compare
Source](https://togithub.com/clap-rs/clap/compare/v4.5.10...v4.5.11)

###
[`v4.5.10`](https://togithub.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#4510---2024-07-23)

[Compare
Source](https://togithub.com/clap-rs/clap/compare/v4.5.9...v4.5.10)

###
[`v4.5.9`](https://togithub.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#459---2024-07-09)

[Compare
Source](https://togithub.com/clap-rs/clap/compare/v4.5.8...v4.5.9)

##### Fixes

- *(error)* When defining a custom help flag, be sure to suggest it like
we do the built-in one

</details>

<details>
<summary>clap-rs/clap-verbosity-flag (clap-verbosity-flag)</summary>

###
[`v2.2.1`](https://togithub.com/clap-rs/clap-verbosity-flag/blob/HEAD/CHANGELOG.md#221---2024-07-25)

[Compare
Source](https://togithub.com/clap-rs/clap-verbosity-flag/compare/v2.2.0...v2.2.1)

##### Compatibility

-   Raised MSRV to 1.74

</details>

<details>
<summary>crate-ci/codegenrs (codegenrs)</summary>

###
[`v3.0.2`](https://togithub.com/crate-ci/codegenrs/blob/HEAD/CHANGELOG.md#302---2024-07-25)

[Compare
Source](https://togithub.com/crate-ci/codegenrs/compare/v3.0.1...v3.0.2)

##### Compatibility

-   Update MSRV to 1.74

</details>

<details>
<summary>rust-cli/env_logger (env_logger)</summary>

###
[`v0.11.5`](https://togithub.com/rust-cli/env_logger/blob/HEAD/CHANGELOG.md#0115---2024-07-25)

[Compare
Source](https://togithub.com/rust-cli/env_logger/compare/v0.11.4...v0.11.5)

###
[`v0.11.4`](https://togithub.com/rust-cli/env_logger/blob/HEAD/CHANGELOG.md#0114---2024-07-23)

[Compare
Source](https://togithub.com/rust-cli/env_logger/compare/v0.11.3...v0.11.4)

</details>

<details>
<summary>rust-cli/human-panic (human-panic)</summary>

###
[`v2.0.1`](https://togithub.com/rust-cli/human-panic/blob/HEAD/CHANGELOG.md#201---2024-07-25)

[Compare
Source](https://togithub.com/rust-cli/human-panic/compare/v2.0.0...v2.0.1)

##### Compatibility

-   Update MSV to 1.74

</details>

<details>
<summary>indexmap-rs/indexmap (indexmap)</summary>

###
[`v2.3.0`](https://togithub.com/indexmap-rs/indexmap/blob/HEAD/RELEASES.md#230)

[Compare
Source](https://togithub.com/indexmap-rs/indexmap/compare/2.2.6...2.3.0)

- Added trait `MutableEntryKey` for opt-in mutable access to map entry
keys.
- Added method `MutableKeys::iter_mut2` for opt-in mutable iteration of
map
    keys and values.

</details>

<details>
<summary>cobalt-org/kstring (kstring)</summary>

###
[`v2.0.2`](https://togithub.com/cobalt-org/kstring/blob/HEAD/CHANGELOG.md#202---2024-07-25)

[Compare
Source](https://togithub.com/cobalt-org/kstring/compare/v2.0.1...v2.0.2)

###
[`v2.0.1`](https://togithub.com/cobalt-org/kstring/blob/HEAD/CHANGELOG.md#201---2024-07-22)

[Compare
Source](https://togithub.com/cobalt-org/kstring/compare/v2.0.0...v2.0.1)

##### Compatibility

-   MSRV is now 1.73

##### Fixes

-   Future-proof unsafe code from things the compiler could do

</details>

<details>
<summary>rust-cli/proc-exit (proc-exit)</summary>

###
[`v2.0.2`](https://togithub.com/rust-cli/proc-exit/blob/HEAD/CHANGELOG.md#202---2024-07-25)

[Compare
Source](https://togithub.com/rust-cli/proc-exit/compare/v2.0.1...v2.0.2)

##### Compatibility

-   Updated MSRV to 1.74

</details>

<details>
<summary>serde-rs/serde (serde)</summary>

###
[`v1.0.204`](https://togithub.com/serde-rs/serde/releases/tag/v1.0.204)

[Compare
Source](https://togithub.com/serde-rs/serde/compare/v1.0.203...v1.0.204)

- Apply #\[diagnostic::on_unimplemented] attribute on Rust 1.78+ to
suggest adding serde derive or enabling a "serde" feature flag in
dependencies
([#&#8203;2767](https://togithub.com/serde-rs/serde/issues/2767), thanks
[@&#8203;weiznich](https://togithub.com/weiznich))

</details>

<details>
<summary>serde-rs/json (serde_json)</summary>

###
[`v1.0.121`](https://togithub.com/serde-rs/json/releases/tag/v1.0.121)

[Compare
Source](https://togithub.com/serde-rs/json/compare/v1.0.120...v1.0.121)

- Optimize position search in error path
([#&#8203;1160](https://togithub.com/serde-rs/json/issues/1160), thanks
[@&#8203;purplesyringa](https://togithub.com/purplesyringa))

###
[`v1.0.120`](https://togithub.com/serde-rs/json/releases/tag/v1.0.120)

[Compare
Source](https://togithub.com/serde-rs/json/compare/v1.0.119...v1.0.120)

- Correctly specify required version of `indexmap` dependency
([#&#8203;1152](https://togithub.com/serde-rs/json/issues/1152), thanks
[@&#8203;cforycki](https://togithub.com/cforycki))

</details>

<details>
<summary>assert-rs/trycmd (snapbox)</summary>

###
[`v0.6.16`](https://togithub.com/assert-rs/trycmd/compare/snapbox-v0.6.15...snapbox-v0.6.16)

[Compare
Source](https://togithub.com/assert-rs/trycmd/compare/snapbox-v0.6.15...snapbox-v0.6.16)

###
[`v0.6.15`](https://togithub.com/assert-rs/trycmd/compare/snapbox-v0.6.14...snapbox-v0.6.15)

[Compare
Source](https://togithub.com/assert-rs/trycmd/compare/snapbox-v0.6.14...snapbox-v0.6.15)

###
[`v0.6.14`](https://togithub.com/assert-rs/trycmd/compare/snapbox-v0.6.13...snapbox-v0.6.14)

[Compare
Source](https://togithub.com/assert-rs/trycmd/compare/snapbox-v0.6.13...snapbox-v0.6.14)

###
[`v0.6.13`](https://togithub.com/assert-rs/trycmd/compare/snapbox-v0.6.12...snapbox-v0.6.13)

[Compare
Source](https://togithub.com/assert-rs/trycmd/compare/snapbox-v0.6.12...snapbox-v0.6.13)

###
[`v0.6.12`](https://togithub.com/assert-rs/trycmd/compare/snapbox-v0.6.11...snapbox-v0.6.12)

[Compare
Source](https://togithub.com/assert-rs/trycmd/compare/snapbox-v0.6.11...snapbox-v0.6.12)

</details>

<details>
<summary>dtolnay/thiserror (thiserror)</summary>

###
[`v1.0.63`](https://togithub.com/dtolnay/thiserror/releases/tag/1.0.63)

[Compare
Source](https://togithub.com/dtolnay/thiserror/compare/1.0.62...1.0.63)

-   Documentation improvements

###
[`v1.0.62`](https://togithub.com/dtolnay/thiserror/releases/tag/1.0.62)

[Compare
Source](https://togithub.com/dtolnay/thiserror/compare/1.0.61...1.0.62)

- Support referring to nested tuple struct fields inside `#[error("…",
…)]` attribute
([#&#8203;309](https://togithub.com/dtolnay/thiserror/issues/309))

</details>

<details>
<summary>toml-rs/toml (toml)</summary>

###
[`v0.8.19`](https://togithub.com/toml-rs/toml/compare/toml-v0.8.18...toml-v0.8.19)

[Compare
Source](https://togithub.com/toml-rs/toml/compare/toml-v0.8.18...toml-v0.8.19)

###
[`v0.8.18`](https://togithub.com/toml-rs/toml/compare/toml-v0.8.17...toml-v0.8.18)

[Compare
Source](https://togithub.com/toml-rs/toml/compare/toml-v0.8.17...toml-v0.8.18)

###
[`v0.8.17`](https://togithub.com/toml-rs/toml/compare/toml-v0.8.16...toml-v0.8.17)

[Compare
Source](https://togithub.com/toml-rs/toml/compare/toml-v0.8.16...toml-v0.8.17)

###
[`v0.8.16`](https://togithub.com/toml-rs/toml/compare/toml-v0.8.15...toml-v0.8.16)

[Compare
Source](https://togithub.com/toml-rs/toml/compare/toml-v0.8.15...toml-v0.8.16)

###
[`v0.8.15`](https://togithub.com/toml-rs/toml/compare/toml-v0.8.14...toml-v0.8.15)

[Compare
Source](https://togithub.com/toml-rs/toml/compare/toml-v0.8.14...toml-v0.8.15)

</details>

<details>
<summary>winnow-rs/winnow (winnow)</summary>

###
[`v0.6.18`](https://togithub.com/winnow-rs/winnow/blob/HEAD/CHANGELOG.md#0618---2024-07-31)

[Compare
Source](https://togithub.com/winnow-rs/winnow/compare/v0.6.17...v0.6.18)

###
[`v0.6.17`](https://togithub.com/winnow-rs/winnow/blob/HEAD/CHANGELOG.md#0617---2024-07-31)

[Compare
Source](https://togithub.com/winnow-rs/winnow/compare/v0.6.16...v0.6.17)

##### Features

-   Make `Checkpoint`s comparable

###
[`v0.6.16`](https://togithub.com/winnow-rs/winnow/blob/HEAD/CHANGELOG.md#0616---2024-07-25)

[Compare
Source](https://togithub.com/winnow-rs/winnow/compare/v0.6.15...v0.6.16)

###
[`v0.6.15`](https://togithub.com/winnow-rs/winnow/blob/HEAD/CHANGELOG.md#0615---2024-07-22)

[Compare
Source](https://togithub.com/winnow-rs/winnow/compare/v0.6.14...v0.6.15)

##### Compatibility

-   Deprecated `Parser::recognize` in favor of `Parser::take`
-   Deprecated `Parser::with_recognized` in favor of `Parser::taken`

##### Fixes

- Renamed `Parser::recognize` to `Parser::take` to be consistent with
other `take` parsers
- Renamed `Parser::with_recognized` to `Parser::with_taken` to be
consistent with other `take` parsers

###
[`v0.6.14`](https://togithub.com/winnow-rs/winnow/blob/HEAD/CHANGELOG.md#0614---2024-07-19)

[Compare
Source](https://togithub.com/winnow-rs/winnow/compare/v0.6.13...v0.6.14)

##### Fixes

-   Removed unused `I: Clone` bound on `Parser::parse`

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 5am on the first day of the
month" (UTC), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job log](https://developer.mend.io/github/crate-ci/typos).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-01 01:43:39 +00:00
renovate[bot]
a96f7868f3
chore(deps): Update dependency maturin to >=1.7,<1.8 2024-08-01 01:34:30 +00:00
Ed Page
935271f020 chore: Release 2024-07-31 11:42:59 -05:00
Ed Page
7dbdf8c01c chore: Release 2024-07-31 11:40:32 -05:00
Ed Page
be714bc5ef docs: Update changelog 2024-07-31 11:39:46 -05:00
Ed Page
a87cf89ab1
Merge pull request #1070 from epage/july
fix(dict): July updates
2024-07-31 11:38:11 -05:00
Ed Page
12a33e21f4 fix(dict): July updates
Fixes #1051
2024-07-31 11:28:00 -05:00
renovate[bot]
0d9c778a8c
chore(deps): Update Rust Stable to v1.80 (#1064)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [STABLE](https://togithub.com/rust-lang/rust) | minor | `1.79` ->
`1.80` |

---

### Release Notes

<details>
<summary>rust-lang/rust (STABLE)</summary>

###
[`v1.80`](https://togithub.com/rust-lang/rust/blob/HEAD/RELEASES.md#Version-1800-2024-07-25)

[Compare
Source](https://togithub.com/rust-lang/rust/compare/1.79.0...1.80.0)

\==========================

<a id="1.80-Language"></a>

## Language

- [Document maximum allocation
size](https://togithub.com/rust-lang/rust/pull/116675/)
- [Allow zero-byte offsets and ZST read/writes on arbitrary
pointers](https://togithub.com/rust-lang/rust/pull/117329/)
- [Support C23's variadics without a named
parameter](https://togithub.com/rust-lang/rust/pull/124048/)
- [Stabilize `exclusive_range_pattern`
feature](https://togithub.com/rust-lang/rust/pull/124459/)
- [Guarantee layout and ABI of `Result` in some
scenarios](https://togithub.com/rust-lang/rust/pull/124870)

<a id="1.80-Compiler"></a>

## Compiler

- [Update cc crate to v1.0.97 allowing additional spectre mitigations on
MSVC targets](https://togithub.com/rust-lang/rust/pull/124892/)
- [Allow field reordering on types marked
`repr(packed(1))`](https://togithub.com/rust-lang/rust/pull/125360/)
- [Add a lint against never type fallback affecting unsafe
code](https://togithub.com/rust-lang/rust/pull/123939/)
- [Disallow cast with trailing braced macro in
let-else](https://togithub.com/rust-lang/rust/pull/125049/)
- [Expand `for_loops_over_fallibles` lint to lint on fallibles behind
references.](https://togithub.com/rust-lang/rust/pull/125156/)
- [self-contained linker: retry linking without `-fuse-ld=lld` on CCs
that don't support it](https://togithub.com/rust-lang/rust/pull/125417/)
- [Do not parse CVarArgs (`...`) as a type in trait
bounds](https://togithub.com/rust-lang/rust/pull/125863/)
- Improvements to LLDB formatting
[#&#8203;124458](https://togithub.com/rust-lang/rust/pull/124458)
[#&#8203;124500](https://togithub.com/rust-lang/rust/pull/124500)
- [For the wasm32-wasip2 target default to PIC and do not use
`-fuse-ld=lld`](https://togithub.com/rust-lang/rust/pull/124858/)
- [Add x86\_64-unknown-linux-none as a tier 3
target](https://togithub.com/rust-lang/rust/pull/125023/)
- [Lint on `foo.into_iter()` resolving to `&Box<[T]>:
IntoIterator`](https://togithub.com/rust-lang/rust/pull/124097/)

<a id="1.80-Libraries"></a>

## Libraries

- [Add `size_of` and `size_of_val` and `align_of` and `align_of_val` to
the prelude](https://togithub.com/rust-lang/rust/pull/123168/)
- [Abort a process when FD ownership is
violated](https://togithub.com/rust-lang/rust/pull/124210/)
- [io::Write::write_fmt: panic if the formatter fails when the stream
does not fail](https://togithub.com/rust-lang/rust/pull/125012/)
- [Panic if `PathBuf::set_extension` would add a path
separator](https://togithub.com/rust-lang/rust/pull/125070/)
- [Add assert_unsafe_precondition to
unchecked\_{add,sub,neg,mul,shl,shr}
methods](https://togithub.com/rust-lang/rust/pull/121571/)
- [Update `c_char` on AIX to use the correct
type](https://togithub.com/rust-lang/rust/pull/122986/)
- [`offset_of!` no longer returns a
temporary](https://togithub.com/rust-lang/rust/pull/124484/)
- [Handle sigma in `str.to_lowercase`
correctly](https://togithub.com/rust-lang/rust/pull/124773/)
- [Raise `DEFAULT_MIN_STACK_SIZE` to at least
64KiB](https://togithub.com/rust-lang/rust/pull/126059/)

<a id="1.80-Stabilized-APIs"></a>

## Stabilized APIs

- [`impl Default for
Rc<CStr>`](https://doc.rust-lang.org/beta/alloc/rc/struct.Rc.html#impl-Default-for-Rc%3CCStr%3E)
- [`impl Default for
Rc<str>`](https://doc.rust-lang.org/beta/alloc/rc/struct.Rc.html#impl-Default-for-Rc%3Cstr%3E)
- [`impl Default for
Rc<[T]>`](https://doc.rust-lang.org/beta/alloc/rc/struct.Rc.html#impl-Default-for-Rc%3C%5BT%5D%3E)
- [`impl Default for
Arc<str>`](https://doc.rust-lang.org/beta/alloc/sync/struct.Arc.html#impl-Default-for-Arc%3Cstr%3E)
- [`impl Default for
Arc<CStr>`](https://doc.rust-lang.org/beta/alloc/sync/struct.Arc.html#impl-Default-for-Arc%3CCStr%3E)
- [`impl Default for
Arc<[T]>`](https://doc.rust-lang.org/beta/alloc/sync/struct.Arc.html#impl-Default-for-Arc%3C%5BT%5D%3E)
- [`impl IntoIterator for
Box<[T]>`](https://doc.rust-lang.org/beta/alloc/boxed/struct.Box.html#impl-IntoIterator-for-Box%3C%5BI%5D,+A%3E)
- [`impl FromIterator<String> for
Box<str>`](https://doc.rust-lang.org/beta/alloc/boxed/struct.Box.html#impl-FromIterator%3CString%3E-for-Box%3Cstr%3E)
- [`impl FromIterator<char> for
Box<str>`](https://doc.rust-lang.org/beta/alloc/boxed/struct.Box.html#impl-FromIterator%3Cchar%3E-for-Box%3Cstr%3E)
-
[`LazyCell`](https://doc.rust-lang.org/beta/core/cell/struct.LazyCell.html)
-
[`LazyLock`](https://doc.rust-lang.org/beta/std/sync/struct.LazyLock.html)
-
[`Duration::div_duration_f32`](https://doc.rust-lang.org/beta/std/time/struct.Duration.html#method.div_duration_f32)
-
[`Duration::div_duration_f64`](https://doc.rust-lang.org/beta/std/time/struct.Duration.html#method.div_duration_f64)
-
[`Option::take_if`](https://doc.rust-lang.org/beta/std/option/enum.Option.html#method.take_if)
-
[`Seek::seek_relative`](https://doc.rust-lang.org/beta/std/io/trait.Seek.html#method.seek_relative)
-
[`BinaryHeap::as_slice`](https://doc.rust-lang.org/beta/std/collections/struct.BinaryHeap.html#method.as_slice)
-
[`NonNull::offset`](https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.offset)
-
[`NonNull::byte_offset`](https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.byte_offset)
-
[`NonNull::add`](https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.add)
-
[`NonNull::byte_add`](https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.byte_add)
-
[`NonNull::sub`](https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.sub)
-
[`NonNull::byte_sub`](https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.byte_sub)
-
[`NonNull::offset_from`](https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.offset_from)
-
[`NonNull::byte_offset_from`](https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.byte_offset_from)
-
[`NonNull::read`](https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.read)
-
[`NonNull::read_volatile`](https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.read_volatile)
-
[`NonNull::read_unaligned`](https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.read_unaligned)
-
[`NonNull::write`](https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.write)
-
[`NonNull::write_volatile`](https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.write_volatile)
-
[`NonNull::write_unaligned`](https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.write_unaligned)
-
[`NonNull::write_bytes`](https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.write_bytes)
-
[`NonNull::copy_to`](https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.copy_to)
-
[`NonNull::copy_to_nonoverlapping`](https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.copy_to_nonoverlapping)
-
[`NonNull::copy_from`](https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.copy_from)
-
[`NonNull::copy_from_nonoverlapping`](https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.copy_from_nonoverlapping)
-
[`NonNull::replace`](https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.replace)
-
[`NonNull::swap`](https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.swap)
-
[`NonNull::drop_in_place`](https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.drop_in_place)
-
[`NonNull::align_offset`](https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.align_offset)
-
[`<[T]>::split_at_checked`](https://doc.rust-lang.org/beta/std/primitive.slice.html#method.split_at_checked)
-
[`<[T]>::split_at_mut_checked`](https://doc.rust-lang.org/beta/std/primitive.slice.html#method.split_at_mut_checked)
-
[`str::split_at_checked`](https://doc.rust-lang.org/beta/std/primitive.str.html#method.split_at_checked)
-
[`str::split_at_mut_checked`](https://doc.rust-lang.org/beta/std/primitive.str.html#method.split_at_mut_checked)
-
[`str::trim_ascii`](https://doc.rust-lang.org/beta/std/primitive.str.html#method.trim_ascii)
-
[`str::trim_ascii_start`](https://doc.rust-lang.org/beta/std/primitive.str.html#method.trim_ascii_start)
-
[`str::trim_ascii_end`](https://doc.rust-lang.org/beta/std/primitive.str.html#method.trim_ascii_end)
-
[`<[u8]>::trim_ascii`](https://doc.rust-lang.org/beta/core/primitive.slice.html#method.trim_ascii)
-
[`<[u8]>::trim_ascii_start`](https://doc.rust-lang.org/beta/core/primitive.slice.html#method.trim_ascii_start)
-
[`<[u8]>::trim_ascii_end`](https://doc.rust-lang.org/beta/core/primitive.slice.html#method.trim_ascii_end)
-
[`Ipv4Addr::BITS`](https://doc.rust-lang.org/beta/core/net/struct.Ipv4Addr.html#associatedconstant.BITS)
-
[`Ipv4Addr::to_bits`](https://doc.rust-lang.org/beta/core/net/struct.Ipv4Addr.html#method.to_bits)
-
[`Ipv4Addr::from_bits`](https://doc.rust-lang.org/beta/core/net/struct.Ipv4Addr.html#method.from_bits)
-
[`Ipv6Addr::BITS`](https://doc.rust-lang.org/beta/core/net/struct.Ipv6Addr.html#associatedconstant.BITS)
-
[`Ipv6Addr::to_bits`](https://doc.rust-lang.org/beta/core/net/struct.Ipv6Addr.html#method.to_bits)
-
[`Ipv6Addr::from_bits`](https://doc.rust-lang.org/beta/core/net/struct.Ipv6Addr.html#method.from_bits)
- [`Vec::<[T;
N]>::into_flattened`](https://doc.rust-lang.org/beta/alloc/vec/struct.Vec.html#method.into_flattened)
- [`<[[T;
N]]>::as_flattened`](https://doc.rust-lang.org/beta/core/primitive.slice.html#method.as_flattened)
- [`<[[T;
N]]>::as_flattened_mut`](https://doc.rust-lang.org/beta/core/primitive.slice.html#method.as_flattened_mut)

These APIs are now stable in const contexts:

-
[`<[T]>::last_chunk`](https://doc.rust-lang.org/beta/core/primitive.slice.html#method.last_chunk)
-
[`BinaryHeap::new`](https://doc.rust-lang.org/beta/std/collections/struct.BinaryHeap.html#method.new)

<a id="1.80-Cargo"></a>

## Cargo

- [Stabilize `-Zcheck-cfg` as always
enabled](https://togithub.com/rust-lang/cargo/pull/13571/)
- [Warn, rather than fail publish, if a target is
excluded](https://togithub.com/rust-lang/cargo/pull/13713/)
- [Add special `check-cfg` lint config for the `unexpected_cfgs`
lint](https://togithub.com/rust-lang/cargo/pull/13913/)
- [Stabilize `cargo update --precise
<yanked>`](https://togithub.com/rust-lang/cargo/pull/13974/)
- [Don't change file permissions on `Cargo.toml` when using `cargo
add`](https://togithub.com/rust-lang/cargo/pull/13898/)
- [Support using `cargo fix` on IPv6-only
networks](https://togithub.com/rust-lang/cargo/pull/13907/)

<a id="1.80-Rustdoc"></a>

## Rustdoc

- [Allow searching for
references](https://togithub.com/rust-lang/rust/pull/124148/)
- [Stabilize `custom_code_classes_in_docs`
feature](https://togithub.com/rust-lang/rust/pull/124577/)
- [fix: In cross-crate scenarios show enum variants on type aliases of
enums](https://togithub.com/rust-lang/rust/pull/125300/)

<a id="1.80-Compatibility-Notes"></a>

## Compatibility Notes

- [rustfmt estimates line lengths differently when using non-ascii
characters](https://togithub.com/rust-lang/rustfmt/issues/6203)
- [Type aliases are now handled correctly in orphan
check](https://togithub.com/rust-lang/rust/pull/117164/)
- [Allow instructing rustdoc to read from stdin via
`-`](https://togithub.com/rust-lang/rust/pull/124611/)
- [`std::env::{set_var, remove_var}` can no longer be converted to safe
function pointers and no longer implement the `Fn` family of
traits](https://togithub.com/rust-lang/rust/pull/124636)
- [Warn (or error) when `Self` constructor from outer item is referenced
in inner nested item](https://togithub.com/rust-lang/rust/pull/124187/)
- [Turn `indirect_structural_match` and `pointer_structural_match` lints
into hard errors](https://togithub.com/rust-lang/rust/pull/124661/)
- [Make `where_clause_object_safety` lint a regular object safety
violation](https://togithub.com/rust-lang/rust/pull/125380/)
- [Turn `proc_macro_back_compat` lint into a hard
error.](https://togithub.com/rust-lang/rust/pull/125596/)
- [Detect unused structs even when implementing private
traits](https://togithub.com/rust-lang/rust/pull/122382/)
- [`std::sync::ReentrantLockGuard<T>` is no longer `Sync` if `T:
!Sync`](https://togithub.com/rust-lang/rust/pull/125527) which means
[`std::io::StdoutLock` and `std::io::StderrLock` are no longer
Sync](https://togithub.com/rust-lang/rust/issues/127340)

<a id="1.80-Internal-Changes"></a>

## Internal Changes

These changes do not affect any public interfaces of Rust, but they
represent
significant improvements to the performance or internals of rustc and
related
tools.

- Misc improvements to size of generated html by rustdoc e.g.
[#&#8203;124738](https://togithub.com/rust-lang/rust/pull/124738/) and
[#&#8203;123734](https://togithub.com/rust-lang/rust/pull/123734/)
- [MSVC targets no longer depend on
libc](https://togithub.com/rust-lang/rust/pull/124050/)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "* * * * *" (UTC), Automerge - At any
time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job log](https://developer.mend.io/github/crate-ci/typos).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzguMCIsInVwZGF0ZWRJblZlciI6IjM3LjQzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-26 23:58:00 +00:00
Ed Page
ebbe2a1b19
Merge pull request #1066 from epage/template
chore: Update from _rust/main template
2024-07-26 16:29:51 -05:00
Ed Page
9dc8c88844 chore(ci): Don't check minimal versions for bins 2024-07-26 16:08:28 -05:00
Ed Page
267121b5d6 style: Make clippy happy 2024-07-26 16:08:02 -05:00
Ed Page
063ac6d4b5 chore: Update from _rust/main template 2024-07-26 16:07:19 -05:00
Ed Page
266ead1e38
Merge pull request #22 from joshtriplett/clippy-uninlined-format-args
Have clippy warn about uninlined format arguments
2024-07-26 15:45:14 -05:00
Josh Triplett
553258af51 Have clippy warn about uninlined format arguments
This makes clippy warn about `format!("{}", var)`, with a
machine-applicable fix converting to `format!("{var}")`.
2024-07-26 13:27:29 -07:00
Ed Page
87d9ae55c7 chore: Fix clippy::lint_groups_priority for 1.80 2024-07-25 15:48:09 -05:00