Ed Page
36891bacfd
refactor(toml): Move unique name validation out of resolving
2024-04-05 13:12:41 -05:00
Ed Page
943f9bc871
refactor(toml): Track paths in TomlTarget, rather than next to it
2024-04-05 13:12:41 -05:00
Ed Page
c699941d13
refactor(toml): Move bin resolving up a level
2024-04-05 13:12:41 -05:00
Ed Page
72ee140548
refactor(toml): Split bin discovery from Target creation
2024-04-05 13:12:41 -05:00
Ed Page
b061bc5e83
refactor(toml): Abstract out bin name validation
2024-04-05 13:12:41 -05:00
Ed Page
f2b0678436
refactor(toml): Pull out legacy_bin_path
2024-04-05 13:12:41 -05:00
Ed Page
b08d19779c
refactor(toml): Move lib resolving up a level
2024-04-05 13:12:41 -05:00
Ed Page
f900b3f776
refactor(toml): Split lib discovery from Target creation
2024-04-05 13:12:41 -05:00
Ed Page
019bae2efb
refactor(toml): Consolidate lib discovery
2024-04-05 13:12:41 -05:00
Ed Page
6ef9779752
refactor(toml): Abstract out lib name validation
2024-04-05 13:12:41 -05:00
Ed Page
74e8d760f0
refactor(toml): Simplify lib resolving
2024-04-05 13:12:41 -05:00
Ed Page
b86b4b4fe5
refactor(toml): Clarify conversion nature of target fn's
2024-04-05 13:12:41 -05:00
Ed Page
d3cfa7fc75
refactor(toml): Clarify which manifest is being used
2024-04-05 13:12:41 -05:00
Ed Page
cc9710e957
refactor(toml): Be consistent in readme resolve name
2024-04-05 13:12:41 -05:00
Ed Page
71e362fb17
test(package): Clean up a build.rs test
2024-04-05 13:12:41 -05:00
bors
157066631b
Auto merge of #13706 - WaffleLapkin:don't-the-err, r=epage
...
Don't depend on `?` affecting type inference in weird ways
This is likely to stop working in the future versions of Rust, see https://github.com/rust-lang/rust/pull/122412#issuecomment-2037813927 .
2024-04-05 00:14:02 +00:00
Maybe Waffle
898969e4a4
Don't depend on ?
affecting type inference in weird ways
2024-04-04 23:56:01 +00:00
bors
a9a0746945
Auto merge of #13703 - epage:toml, r=arlosi
...
test(metadata): Show behavior with TOML-specific types
### What does this PR try to resolve?
The goal is to know if/when these change so we can have a conversation about what to do.
### How should we test and review this PR?
### Additional information
2024-04-04 22:20:15 +00:00
bors
6bb0ba15b9
Auto merge of #13704 - arlosi:path-tracing, r=epage
...
fix: adjust tracing verbosity in list_files_git
Verbosity was set to `warn` for items that did not justify it.
2024-04-04 21:48:38 +00:00
Ed Page
b930f7ad1b
test(metadata): Show behavior with TOML-specific types
...
The goal is to know if/when these change so we can have a conversation
about what to do.
2024-04-04 16:37:39 -05:00
Arlo Siemsen
db6a42b2f3
fix: adjust tracing verbosity in list_files_git
2024-04-04 16:23:32 -05:00
bors
4113935ebd
Auto merge of #13698 - weihanglo:registry-doc, r=ehuss
...
doc: comments on `PackageRegistry`
2024-04-04 03:51:20 +00:00
bors
81ca704784
Auto merge of #13696 - arlosi:gitoxide-list-files-default, r=weihanglo
...
Switch to using gitoxide by default for listing files
### What does this PR try to resolve?
Uses gitoxide by for listing the contents of a git repository by default. Fixes #10150
It's possible out-opt of this change with the environment variable `__CARGO_GITOXIDE_DISABLE_LIST_FILES=1`. This opt-out mechanism is temporary and will be removed before the next release.
### How should we test and review this PR?
The newly added test fails with the `git2` implementation.
2024-04-04 03:21:55 +00:00
Weihang Lo
bbb752088a
doc: comments on PackageRegistry
2024-04-03 23:09:08 -04:00
Arlo Siemsen
312e2aab7f
Use strip_path_canonical for getting the relative path
...
This resolve an issue where the package path contains a symlink that's resolved by git
2024-04-03 12:59:49 -05:00
Arlo Siemsen
45c390a2a5
Switch to using gitoxide by default for listing files
2024-04-03 12:05:26 -05:00
bors
6774b8503c
Auto merge of #13626 - linyihai:pre-update, r=weihanglo
...
Allow precise update to prerelease.
### What does this PR try to resolve?
This is a feature that attempts to support updates to pre-release versions via `cargo update --precise`.
when `precise-pre-release` used, the prerelase version will be taking consider as compatible version. That said, we can update to any compatible pre-release version. The logic of checking the compatibility of pre-release versions is currently tentative and does not take many conditions into account, this part of the logic makes more sense when implemented in semver.
Use `-Zunstable-options` instead of `-Zprecise-pre-release`.
### How should we test and review this PR?
### Additional information
Part of https://github.com/rust-lang/cargo/issues/13290
2024-04-03 15:44:08 +00:00
bors
09d5e964ad
Auto merge of #13693 - epage:resolve-toml, r=Muscraft
...
refactor(toml): Split out an explicit step to resolve `Cargo.toml`
### What does this PR try to resolve?
This builds on #13664 and #13666 . Currently, once we have deserialized `Cargo.toml`, we pass it to a large machinery (`to_real_manifest`, `to_virtual_manifest`) so that
- `Cargo.toml` is resolved
- `Summary` is created
- `Manifest` is created
This splits out the resolving of `Cargo.toml` which is mostly workspace inheritance today.
While splitting logic conjoined like this can be a bit messy in the short term, the hope is that overall this makes the logic easier to follow (more condensed, focused sections to view; more explicit inputs/outputs).
In particular, I hope that this will make it clearer and easier to shift more logic into the resolving step, specifically the inferring of build targets for #13456 .
### How should we test and review this PR?
This is broken up into very small steps in the hope that it makes it easier to analyze a step.
### Additional information
2024-04-03 14:47:35 +00:00
Lin Yihai
179f2f1066
Allow precise update to prerelease.
2024-04-03 22:44:36 +08:00
bors
f4ea1d16e9
Auto merge of #13675 - rust-lang:renovate/base64-0.x, r=epage
...
chore(deps): update rust crate base64 to 0.22.0
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [base64](https://togithub.com/marshallpierce/rust-base64 ) | workspace.dependencies | minor | `0.21.7` -> `0.22.0` |
---
### Release Notes
<details>
<summary>marshallpierce/rust-base64 (base64)</summary>
### [`v0.22.0`](https://togithub.com/marshallpierce/rust-base64/blob/HEAD/RELEASE-NOTES.md#0220 )
[Compare Source](https://togithub.com/marshallpierce/rust-base64/compare/v0.21.7...v0.22.0 )
- `DecodeSliceError::OutputSliceTooSmall` is now conservative rather than precise. That is, the error will only occur if the decoded output *cannot* fit, meaning that `Engine::decode_slice` can now be used with exactly-sized output slices. As part of this, `Engine::internal_decode` now returns `DecodeSliceError` instead of `DecodeError`, but that is not expected to affect any external callers.
- `DecodeError::InvalidLength` now refers specifically to the *number of valid symbols* being invalid (i.e. `len % 4 == 1`), rather than just the number of input bytes. This avoids confusing scenarios when based on interpretation you could make a case for either `InvalidLength` or `InvalidByte` being appropriate.
- Decoding is somewhat faster (5-10%)
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "before 5am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View repository job log [here](https://developer.mend.io/github/rust-lang/cargo ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->
2024-04-03 02:29:32 +00:00
renovate[bot]
aedc6c7a5d
chore(deps): update rust crate base64 to 0.22.0
2024-04-03 00:25:07 +00:00
bors
0637083df5
Auto merge of #13674 - rust-lang:renovate/compatible, r=epage
...
chore(deps): update compatible
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [anyhow](https://togithub.com/dtolnay/anyhow ) | workspace.dependencies | patch | `1.0.80` -> `1.0.81` |
| [clap](https://togithub.com/clap-rs/clap ) | workspace.dependencies | patch | `4.5.1` -> `4.5.4` |
| [git2](https://togithub.com/rust-lang/git2-rs ) | workspace.dependencies | patch | `0.18.2` -> `0.18.3` |
| [handlebars](https://togithub.com/sunng87/handlebars-rust ) | workspace.dependencies | patch | `5.1.0` -> `5.1.2` |
| [libloading](https://togithub.com/nagisa/rust_libloading ) | workspace.dependencies | patch | `0.8.1` -> `0.8.3` |
| [memchr](https://togithub.com/BurntSushi/memchr ) | workspace.dependencies | patch | `2.7.1` -> `2.7.2` |
| [os_info](https://togithub.com/stanislav-tkach/os_info ) | workspace.dependencies | minor | `3.7.0` -> `3.8.2` |
| [pulldown-cmark](https://togithub.com/raphlinus/pulldown-cmark ) | workspace.dependencies | patch | `0.10.0` -> `0.10.2` |
| [regex](https://togithub.com/rust-lang/regex ) | workspace.dependencies | patch | `1.10.3` -> `1.10.4` |
| [security-framework](https://lib.rs/crates/security_framework ) ([source](https://togithub.com/kornelski/rust-security-framework )) | workspace.dependencies | minor | `2.9.2` -> `2.10.0` |
| [serde_json](https://togithub.com/serde-rs/json ) | workspace.dependencies | patch | `1.0.114` -> `1.0.115` |
| [similar](https://togithub.com/mitsuhiko/similar ) | dev-dependencies | minor | `2.4.0` -> `2.5.0` |
| [snapbox](https://togithub.com/assert-rs/trycmd/tree/main/crates/snapbox ) ([source](https://togithub.com/assert-rs/trycmd )) | workspace.dependencies | patch | `0.5.7` -> `0.5.9` |
| [thiserror](https://togithub.com/dtolnay/thiserror ) | workspace.dependencies | patch | `1.0.57` -> `1.0.58` |
| [toml](https://togithub.com/toml-rs/toml ) | workspace.dependencies | patch | `0.8.10` -> `0.8.12` |
| [tracing-chrome](https://togithub.com/thoren-d/tracing-chrome ) | workspace.dependencies | patch | `0.7.1` -> `0.7.2` |
| [walkdir](https://togithub.com/BurntSushi/walkdir ) | workspace.dependencies | minor | `2.4.0` -> `2.5.0` |
---
### Release Notes
<details>
<summary>dtolnay/anyhow (anyhow)</summary>
### [`v1.0.81`](https://togithub.com/dtolnay/anyhow/releases/tag/1.0.81 )
[Compare Source](https://togithub.com/dtolnay/anyhow/compare/1.0.80...1.0.81 )
- Make backtrace support available when using -Dwarnings ([#​354](https://togithub.com/dtolnay/anyhow/issues/354 ))
</details>
<details>
<summary>clap-rs/clap (clap)</summary>
### [`v4.5.4`](https://togithub.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#454---2024-03-25 )
[Compare Source](https://togithub.com/clap-rs/clap/compare/v4.5.3...v4.5.4 )
##### Fixes
- *(derive)* Allow non-literal `#[arg(id)]` attributes again
### [`v4.5.3`](https://togithub.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#453---2024-03-15 )
[Compare Source](https://togithub.com/clap-rs/clap/compare/v4.5.2...v4.5.3 )
##### Internal
- *(derive)* Update `heck`
### [`v4.5.2`](https://togithub.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#452---2024-03-06 )
[Compare Source](https://togithub.com/clap-rs/clap/compare/v4.5.1...v4.5.2 )
##### Fixes
- *(macros)* Silence a warning
</details>
<details>
<summary>rust-lang/git2-rs (git2)</summary>
### [`v0.18.3`](https://togithub.com/rust-lang/git2-rs/blob/HEAD/CHANGELOG.md#0183---2024-03-18 )
[Compare Source](https://togithub.com/rust-lang/git2-rs/compare/git2-0.18.2...git2-0.18.3 )
[0.18.2...0.18.3](https://togithub.com/rust-lang/git2-rs/compare/git2-0.18.2...git2-0.18.3 )
##### Added
- Added `opts::` functions to get / set libgit2 mwindow options
[#​1035](https://togithub.com/rust-lang/git2-rs/pull/1035 )
##### Changed
- Updated examples to use clap instead of structopt
[#​1007](https://togithub.com/rust-lang/git2-rs/pull/1007 )
</details>
<details>
<summary>sunng87/handlebars-rust (handlebars)</summary>
### [`v5.1.2`](https://togithub.com/sunng87/handlebars-rust/blob/HEAD/CHANGELOG.md#512---2024-03-24 )
[Compare Source](https://togithub.com/sunng87/handlebars-rust/compare/v5.1.1...v5.1.2 )
- \[Changed] Improved error message and syntax rule naming \[[#​638](https://togithub.com/sunng87/handlebars-rust/issues/638 )]
- \[Changed] Updated `heck` to 0.5 \[[#​635](https://togithub.com/sunng87/handlebars-rust/issues/635 )]
### [`v5.1.1`](https://togithub.com/sunng87/handlebars-rust/blob/HEAD/CHANGELOG.md#-511---2024-01-18-Yanked )
[Compare Source](https://togithub.com/sunng87/handlebars-rust/compare/v5.1.0...v5.1.1 )
- \[Changed] Turned off pub access of `chain` in `HelperTemplate`
</details>
<details>
<summary>nagisa/rust_libloading (libloading)</summary>
### [`v0.8.3`](https://togithub.com/nagisa/rust_libloading/compare/0.8.2...0.8.3 )
[Compare Source](https://togithub.com/nagisa/rust_libloading/compare/0.8.2...0.8.3 )
### [`v0.8.2`](https://togithub.com/nagisa/rust_libloading/compare/0.8.1...0.8.2 )
[Compare Source](https://togithub.com/nagisa/rust_libloading/compare/0.8.1...0.8.2 )
</details>
<details>
<summary>BurntSushi/memchr (memchr)</summary>
### [`v2.7.2`](https://togithub.com/BurntSushi/memchr/compare/2.7.1...2.7.2 )
[Compare Source](https://togithub.com/BurntSushi/memchr/compare/2.7.1...2.7.2 )
</details>
<details>
<summary>stanislav-tkach/os_info (os_info)</summary>
### [`v3.8.2`](https://togithub.com/stanislav-tkach/os_info/blob/HEAD/CHANGELOG.md#382-2024-03-22 )
[Compare Source](https://togithub.com/stanislav-tkach/os_info/compare/v3.8.1...v3.8.2 )
- Build on FreeSBD has been fixed once again. ([#​377](https://togithub.com/stanislav-tkach/os_info/issues/377 ))
### [`v3.8.1`](https://togithub.com/stanislav-tkach/os_info/blob/HEAD/CHANGELOG.md#381-2024-03-17 )
[Compare Source](https://togithub.com/stanislav-tkach/os_info/compare/v3.8.0...v3.8.1 )
- Build on FreeSBD has been fixed. ([#​372](https://togithub.com/stanislav-tkach/os_info/issues/372 ))
- Build on Illumos has been fixed. ([#​373](https://togithub.com/stanislav-tkach/os_info/issues/373 ))
- Build on NetBSD has been fixed. ([#​374](https://togithub.com/stanislav-tkach/os_info/issues/374 ))
- Few more regressions introduced in the `3.8.0` release were (hopefully) fixed.
### [`v3.8.0`](https://togithub.com/stanislav-tkach/os_info/blob/HEAD/CHANGELOG.md#380-2024-03-12 )
[Compare Source](https://togithub.com/stanislav-tkach/os_info/compare/v3.7.0...v3.8.0 )
- The `windows-sys` crate instead of `winapi` is now used internally. ([#​341](https://togithub.com/stanislav-tkach/os_info/issues/341 ))
- Architecture information for Windows targets has been added. ([#​345](https://togithub.com/stanislav-tkach/os_info/issues/345 ))
- Artix Linux detection has been fixed. ([#​348](https://togithub.com/stanislav-tkach/os_info/issues/348 ))
- AIX support has been added. ([#​349](https://togithub.com/stanislav-tkach/os_info/issues/349 ))
- Kali Linux support has been added. ([#​350](https://togithub.com/stanislav-tkach/os_info/issues/350 ))
- openSUSE Tumbleweed detection has been fixed. ([#​353](https://togithub.com/stanislav-tkach/os_info/issues/353 ))
- Version parsing from `lsb_release` has been added. ([#​354](https://togithub.com/stanislav-tkach/os_info/issues/354 ))
- HardenedBSD detection has been fixed. ([#​358](https://togithub.com/stanislav-tkach/os_info/issues/358 ))
- Ultramarine Linux support has been added. ([#​359](https://togithub.com/stanislav-tkach/os_info/issues/359 ))
- AlmaLinux and Rocky Linux support has been added. ([#​360](https://togithub.com/stanislav-tkach/os_info/issues/360 ))
- Ultramarine Linux support has been added. ([#​363](https://togithub.com/stanislav-tkach/os_info/issues/363 ))
- Void Linux support has been added. ([#​365](https://togithub.com/stanislav-tkach/os_info/issues/365 ))
</details>
<details>
<summary>raphlinus/pulldown-cmark (pulldown-cmark)</summary>
### [`v0.10.2`](https://togithub.com/pulldown-cmark/pulldown-cmark/releases/tag/v0.10.2 )
New release with some fixes and improvements. Note the 0.10.1 is missing (yanked from crates.io) due to a conflict with the clap version and the Rust minimum version (1.74 now instead of 1.70).
Thanks to all people that contributed to this release!
#### What's Changed
- Limit link def expansion by [`@​notriddle](https://togithub.com/notriddle )` in [https://github.com/pulldown-cmark/pulldown-cmark/pull/845 ](https://togithub.com/pulldown-cmark/pulldown-cmark/pull/845 )
- Do not look for HTML tags that start with backslash by [`@​notriddle](https://togithub.com/notriddle )` in [https://github.com/pulldown-cmark/pulldown-cmark/pull/849 ](https://togithub.com/pulldown-cmark/pulldown-cmark/pull/849 )
- Count a blank line at end of indented code block towards list by [`@​notriddle](https://togithub.com/notriddle )` in [https://github.com/pulldown-cmark/pulldown-cmark/pull/851 ](https://togithub.com/pulldown-cmark/pulldown-cmark/pull/851 )
- Use same limit for refdef as inline links by [`@​notriddle](https://togithub.com/notriddle )` in [https://github.com/pulldown-cmark/pulldown-cmark/pull/854 ](https://togithub.com/pulldown-cmark/pulldown-cmark/pull/854 )
- Don't exit `scan_attribute` with the ix pointing at block quote by [`@​notriddle](https://togithub.com/notriddle )` in [https://github.com/pulldown-cmark/pulldown-cmark/pull/858 ](https://togithub.com/pulldown-cmark/pulldown-cmark/pull/858 )
- Check indentation on the closing fence relative to the line by [`@​notriddle](https://togithub.com/notriddle )` in [https://github.com/pulldown-cmark/pulldown-cmark/pull/862 ](https://togithub.com/pulldown-cmark/pulldown-cmark/pull/862 )
- Adjust strikethrough flanking rule to better fit Rustdoc Crater run by [`@​notriddle](https://togithub.com/notriddle )` in [https://github.com/pulldown-cmark/pulldown-cmark/pull/864 ](https://togithub.com/pulldown-cmark/pulldown-cmark/pull/864 )
- perf: cargo-wizard default recommendations for runtime perf by [`@​Martin1887](https://togithub.com/Martin1887 )` in [https://github.com/pulldown-cmark/pulldown-cmark/pull/868 ](https://togithub.com/pulldown-cmark/pulldown-cmark/pull/868 )
#### New Contributors
- [`@​ehuss](https://togithub.com/ehuss )` made their first contribution in [https://github.com/pulldown-cmark/pulldown-cmark/pull/848 ](https://togithub.com/pulldown-cmark/pulldown-cmark/pull/848 )
- [`@​jimblandy](https://togithub.com/jimblandy )` made their first contribution in [https://github.com/pulldown-cmark/pulldown-cmark/pull/865 ](https://togithub.com/pulldown-cmark/pulldown-cmark/pull/865 )
- [`@​max-heller](https://togithub.com/max-heller )` made their first contribution in [https://github.com/pulldown-cmark/pulldown-cmark/pull/866 ](https://togithub.com/pulldown-cmark/pulldown-cmark/pull/866 )
- [`@​blinxen](https://togithub.com/blinxen )` made their first contribution in [https://github.com/pulldown-cmark/pulldown-cmark/pull/875 ](https://togithub.com/pulldown-cmark/pulldown-cmark/pull/875 )
**Full Changelog**: https://github.com/pulldown-cmark/pulldown-cmark/compare/v0.10.0...v0.10.2
</details>
<details>
<summary>rust-lang/regex (regex)</summary>
### [`v1.10.4`](https://togithub.com/rust-lang/regex/compare/1.10.3...1.10.4 )
[Compare Source](https://togithub.com/rust-lang/regex/compare/1.10.3...1.10.4 )
</details>
<details>
<summary>kornelski/rust-security-framework (security-framework)</summary>
### [`v2.10.0`](https://togithub.com/kornelski/rust-security-framework/compare/v2.9.2...v2.10.0 )
[Compare Source](https://togithub.com/kornelski/rust-security-framework/compare/v2.9.2...v2.10.0 )
</details>
<details>
<summary>serde-rs/json (serde_json)</summary>
### [`v1.0.115`](https://togithub.com/serde-rs/json/releases/tag/v1.0.115 )
[Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.114...v1.0.115 )
- Documentation improvements
</details>
<details>
<summary>mitsuhiko/similar (similar)</summary>
### [`v2.5.0`](https://togithub.com/mitsuhiko/similar/blob/HEAD/CHANGELOG.md#250 )
[Compare Source](https://togithub.com/mitsuhiko/similar/compare/2.4.0...2.5.0 )
- Added support for `TextDiff::iter_inline_changes_deadline`. [#​61](https://togithub.com/mitsuhiko/similar/issues/61 )
- Raise MSRV to 1.60. [#​62](https://togithub.com/mitsuhiko/similar/issues/62 )
- Bump bstr dependency to 1.0. [#​62](https://togithub.com/mitsuhiko/similar/issues/62 )
</details>
<details>
<summary>assert-rs/trycmd (snapbox)</summary>
### [`v0.5.9`](https://togithub.com/assert-rs/trycmd/compare/snapbox-v0.5.8...snapbox-v0.5.9 )
[Compare Source](https://togithub.com/assert-rs/trycmd/compare/snapbox-v0.5.8...snapbox-v0.5.9 )
### [`v0.5.8`](https://togithub.com/assert-rs/trycmd/compare/snapbox-v0.5.7...snapbox-v0.5.8 )
[Compare Source](https://togithub.com/assert-rs/trycmd/compare/snapbox-v0.5.7...snapbox-v0.5.8 )
</details>
<details>
<summary>dtolnay/thiserror (thiserror)</summary>
### [`v1.0.58`](https://togithub.com/dtolnay/thiserror/releases/tag/1.0.58 )
[Compare Source](https://togithub.com/dtolnay/thiserror/compare/1.0.57...1.0.58 )
- Make backtrace support available when using -Dwarnings ([#​292](https://togithub.com/dtolnay/thiserror/issues/292 ))
</details>
<details>
<summary>toml-rs/toml (toml)</summary>
### [`v0.8.12`](https://togithub.com/toml-rs/toml/compare/toml-v0.8.11...toml-v0.8.12 )
[Compare Source](https://togithub.com/toml-rs/toml/compare/toml-v0.8.11...toml-v0.8.12 )
### [`v0.8.11`](https://togithub.com/toml-rs/toml/compare/toml-v0.8.10...toml-v0.8.11 )
[Compare Source](https://togithub.com/toml-rs/toml/compare/toml-v0.8.10...toml-v0.8.11 )
</details>
<details>
<summary>thoren-d/tracing-chrome (tracing-chrome)</summary>
### [`v0.7.2`](https://togithub.com/thoren-d/tracing-chrome/releases/tag/v0.7.2 )
[Compare Source](https://togithub.com/thoren-d/tracing-chrome/compare/v0.7.1...v0.7.2 )
- Support platforms that lack `AtomicU64` support.
</details>
<details>
<summary>BurntSushi/walkdir (walkdir)</summary>
### [`v2.5.0`](https://togithub.com/BurntSushi/walkdir/compare/2.4.0...2.5.0 )
[Compare Source](https://togithub.com/BurntSushi/walkdir/compare/2.4.0...2.5.0 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "before 5am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View repository job log [here](https://developer.mend.io/github/rust-lang/cargo ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->
2024-04-02 23:55:05 +00:00
bors
88d55a89e0
Auto merge of #13682 - Flowrey:fixes-13578, r=epage
...
Maintain sorting of dependency features
Fixes #13578
2024-04-02 21:58:38 +00:00
renovate[bot]
bfbdfa7a17
chore(deps): update compatible
2024-04-02 15:23:20 -05:00
bors
18181c69c4
Auto merge of #13692 - WaffleLapkin:update-der, r=epage
...
Update `der` crate
This soft-blocks some of my work on testing things with the never type, see https://github.com/RustCrypto/formats/pull/1374 .
2024-04-02 19:45:05 +00:00
Maybe Waffle
da291d4f35
Update der
crate
2024-04-02 19:34:04 +00:00
Ed Page
58b6501a48
refactor(toml): Attempt to logically group everything
2024-04-02 14:21:54 -05:00
Ed Page
1e761a1528
refactor(toml): Gather dependency gathering
2024-04-02 12:58:55 -05:00
Ed Page
ecf97cff51
refactor(toml): Simplify dependency validation
2024-04-02 12:55:25 -05:00
Ed Page
70ad920e74
refactor(toml): Prefer making a Manifest from resolved_toml
2024-04-02 12:31:18 -05:00
Ed Page
7640081cda
Group logic for fields dependent on package
...
I'm somewhat tempted to flatten the function call.
The parallel between the package an virtual-manifest cases would help to
keep them in sync.
2024-04-02 12:25:34 -05:00
Ed Page
9eb7c09463
refactor(toml): Scope package-related tables to package scope
2024-04-02 12:17:37 -05:00
Ed Page
2811c15485
refactor(toml): Build up resolved manifest as we go
...
Normally, I prefer directly constructing something but I feel this works
better in this case so I can limit a lot of work that is coupled to a
`package` being present.
Since we still directly construct, just with `None`, I think this still
works.
2024-04-02 12:13:35 -05:00
Ed Page
8a6fa8bcb4
refactor(toml): Extract package resolving
2024-04-02 11:55:07 -05:00
Ed Page
e9d28d8813
refactor(toml): Simplify how we pass around inheritable data
2024-04-01 21:25:06 -05:00
Ed Page
9cc5b90932
refactor(toml): Extract resolve_toml
2024-04-01 21:10:28 -05:00
Ed Page
c921f52b4f
refactor(toml): Centralize creation of workspace_config
2024-04-01 20:53:40 -05:00
Ed Page
0f5b562e62
refactor(toml): Centralize cargo-features parsing
2024-04-01 20:53:04 -05:00
bors
0a5cb8977a
Auto merge of #13686 - scop:fix/cargo-unset-opt-var, r=ehuss
...
fix: bash completion fallback in `nounset` mode
With the shell in `nounset` mode, the intended fallback to filename completion provokes an error:
```
$ cargo foo <TAB>bash: !opt_var: unbound variable
```
2024-04-02 01:27:35 +00:00
Ville Skyttä
c1ffe80d61
fix: bash completion fallback in nounset
mode
...
With the shell in `nounset` mode, the intended fallback to filename
completion provokes an error:
```
$ cargo foo <TAB>bash: !opt_var: unbound variable
```
2024-04-01 21:45:23 +00:00