19131 Commits

Author SHA1 Message Date
Ed Page
260fcab3b3 refactor(build-rs): Clean up 'use's 2024-12-09 10:10:34 -06:00
Ed Page
5e833bfbbb perf(build-rs): Always emit check-cfg
These didn't require an MSRV bump.  Worse case, some metadata will be
emitted but that shouldn't impact things too negatively.
2024-12-09 10:06:02 -06:00
Ed Page
0f62101676 perf(build-rs): Always emit :: directives
Our MSRV is much higher than 1.77.  Also, as time goes on, there is less
incentive to drop it below 1.77, especially with the MSRV-aware resolver
in 1.84
2024-12-09 10:06:02 -06:00
Ed Page
f9ef2c547c docs(build-rs): Backtick literal values 2024-12-09 09:33:48 -06:00
Ed Page
0f4e698785 docs(build-rs): Make MSRV stick out 2024-12-06 10:01:19 -06:00
Ed Page
19bb28e64d refactor(build-rs): Clarify MSRV policy being added 2024-12-06 09:57:28 -06:00
Ed Page
6c5d2582ea refactor(build-scripts): Use references for creating CARGO_CFG 2024-12-06 09:16:19 -06:00
Weihang Lo
bf79c8b154
SemVer: Add section on RPIT capturing (#14849)
This adds a section on RPIT capturing, added in Rust 1.82, with a note
about how this changes in the 2024 edition.
2024-12-08 18:23:38 +00:00
Eric Huss
f06d53827d Add note about type and const generics 2024-12-08 06:54:36 -08:00
Weihang Lo
20a4432318
fix(fingerprint): Don't throwaway the cache on RUSTFLAGS changes (#14830)
### What does this PR try to resolve?

Fixes #8716

This splits `-C metdata` and `-C extra-filename` and adds `RUSTFLAGS` to
`-C extra-filename` in the hope that we can still make PGO and
reproducible builds work while caching artifacts per RUSTFLAGS used.

### How should we test and review this PR?

### Additional information
2024-12-06 21:56:56 +00:00
Eric Huss
2560340ed1
fix(build-rs)!: Remove meaningless 'cargo_cfg_debug_assertions' (#14901)
### What does this PR try to resolve?

The documentation that was added was pulled straight from a comment in
`custom_build.rs`:

> This cfg is always true and misleading, so avoid setting it.
> That is because Cargo queries rustc without any profile settings.

It is therefore misleading to expose this in the API

### How should we test and review this PR?

### Additional information
2024-12-06 18:36:23 +00:00
Ed Page
71f68dc3c3 fix(build-rs)!: Remove meaningless 'cargo_cfg_debug_assertions'
The documentation that was added was pulled straight from a comment in
`custom_build.rs`.
2024-12-06 09:33:16 -06:00
Ed Page
70a6f011a4 chore(build-rs): Bump major version 2024-12-06 09:33:10 -06:00
Weihang Lo
a4a3651d66
docs(fingerprint): cargo-rustc extra flags do not affect the metadata (#14898)
### What does this PR try to resolve?

As the test updates in this PR show, RUSTFLAGS and extra-flags have the
same
behavior: they don't affect `-Cextra-filename` or `-Cmetadata`.
I also verified this by code inspection.
I'm not sure why the table says this.

### How should we test and review this PR?

### Additional information
2024-12-05 23:17:18 +00:00
Ed Page
29a267a143 fix(fingerprint): Hackily keep --remap-path-prefix binaries reproducible 2024-12-05 16:30:09 -06:00
Ed Page
306d515c08 fix(fingerprint): Don't throwaway the cache on RUSTFLAGS changes
Fixes #8716
2024-12-05 16:11:11 -06:00
Ed Page
2bf35daf94 docs(fingerprint): Track each use of Metadata separately 2024-12-05 16:11:11 -06:00
Ed Page
cdf805e509 refactor(fingerprint): Generate separate c_metadata / c_extra_filename hashes
For now, they should result in the same data.
2024-12-05 16:11:11 -06:00
Ed Page
79333d5d57 refactor(fingerprint): Make the hasher name more specific 2024-12-05 16:11:11 -06:00
Ed Page
a251ee5821 refactor(fingerprint): Separate out Metadata field initialization 2024-12-05 16:11:11 -06:00
Ed Page
43eccbc924 refactor(fingerprint): Hash dependencies at the end 2024-12-05 16:11:11 -06:00
Ed Page
6f937203b4 refactor(fingerprint): Separate Metadata lookup from Metadata::meta_hash lookup 2024-12-05 16:11:11 -06:00
Ed Page
b2aa08bbc6 test(fingerprint): Verify rustc extra flags like RUSTFLAGS
I almost overlooked these
2024-12-05 16:10:47 -06:00
Ed Page
ce74bced32 docs(fingerprint): cargo-rustc extra flags do not affect the metadata
As the prior test updates show, RUSTFLAGS and extra-flags have the same
behavior: they don't affect `-Cextra-filename` or `-Cmetadata`.
I also verified this by code inspection.
I'm not sure why the table says this.
2024-12-05 16:02:06 -06:00
Weihang Lo
9e2c367300
fix(add): Don't select yanked versions when normalizing names (#14895)
### What does this PR try to resolve?

Fixes #14893

In writing a test for this, I had a hard time finding the other tests as
they mixed
- Having an `add_` prefix
- Calling this fuzzy vs normalized

So I made the test names consistent

### How should we test and review this PR?

### Additional information
2024-12-05 21:50:41 +00:00
Ed Page
31a17b62ab test(rustflags): Clarify remap tests
The tests were comparing rustc vs RUSTFLAGS which was obscuring the case
it was trying to test which was that different remaps shouldn't cause
different results.
2024-12-05 15:49:40 -06:00
Ed Page
9fcb5de16e test(rustflags): Pull out metadata extraction 2024-12-05 15:22:18 -06:00
Ed Page
d1375ba70e test(rustflags): Put remap success test first 2024-12-05 15:20:55 -06:00
Weihang Lo
0b3ad41835
fix(fix): Migrate workspace dependencies (#14890)
### What does this PR try to resolve?

Technically, the edition doesn't affect the workspace. We could adjust
this as we're inheriting to not be a problem.

But it feels weird to keep this around in newer editions. We could frame
this as around the what the package is, including inheritance. The nice
thing is that default-features works for all versions that inheritance
works so we're not forcing the users hand with multiple editions in a
workspace.

Fixes #14886

### How should we test and review this PR?

### Additional information
2024-12-05 16:37:25 +00:00
Ed Page
519f069c8b
test(build-std): make mock-std closer to real world (#14896)
### What does this PR try to resolve?

`test_std_on_unsupported_target` never really succeed to build those
targets, due to

* local rustup may not have `{aarch64,x86_64}-unknown-none` installed.
* `core` and `compiler-builtins` mock crate are not `no_std` nor
`no_core`
* the dummy `main.rs` uses `println!` and is not `no_std`.

This commit make it compile, if you have those targets installed.

### How should we test and review this PR?

Change this line to `.build_std_arg(&setup, "core")`.

05f54fdc34/tests/testsuite/standard_lib.rs (L410)

And delete these liens:
05f54fdc34/src/cargo/core/compiler/standard_lib.rs (L75-L84)

Then the test project should compile.
2024-12-05 16:27:44 +00:00
Weihang Lo
fbb5b90fe0
test(build-std): make mock-std closer to real world
`test_std_on_unsupported_target` never really succeed to build those targets, due to

* local rustup may not have `{aarch64,x86_64}-unknown-none` installed.
* `core` and `compiler-builtins` mock crate are not `no_std` nor `no_core`
* the dummy `main.rs` uses `println!` and is not `no_std`.

This commit make it compile, if you have those targets installed.
2024-12-05 10:50:51 -05:00
Ed Page
5df493ecd9 fix(add): Don't select yanked versions when normalizing names
Fixes #14893
2024-12-05 09:48:21 -06:00
Ed Page
737a5e8325 test(add): Verify yanked behavior 2024-12-05 09:24:46 -06:00
Ed Page
e008a39f47 test(add): Check normalization with a yanked package 2024-12-05 09:21:24 -06:00
Ed Page
9bdc777951 test(add): Make name normalization test names consistent 2024-12-05 09:15:17 -06:00
Ed Page
f8468abc76 fix(fix): Migrate workspace dependencies 2024-12-03 15:06:53 -06:00
Ed Page
ccd193a1b0 refactor(fix): Centralize share manifest load/save across Editions 2024-12-03 15:01:42 -06:00
Ed Page
05f54fdc34
test(pgo): only run on nightly (#14887)
### What does this PR try to resolve?

Only run PGO test on nightly,
so it won't run on rust-lang/rust's CI
because `CARGO_TEST_DISABLE_NIGHTLY` is set on that.

### How should we test and review this PR?

This is a temporary fix to unblock Cargo submoule update (assume that
rust-lang/rust#133675 won't be fixed this week).

In the future We should seek a solution that

* Disable test on rust-lang/rust's CI
* Maximize test coverage on different channels and platforms on Cargo's
CI.
2024-12-03 03:14:12 +00:00
Ed Page
d4b3b9d35a test(fix): Show virtual manifest migration issue 2024-12-02 20:47:12 -06:00
Weihang Lo
4ee2a0a4ff
test(pgo): only run on nightly
So it won't run on rust-lang/rust's CI
because `CARGO_TEST_DISABLE_NIGHTLY` is set on that.

See rust-lang/rust 133675
2024-12-02 21:42:07 -05:00
Weihang Lo
99c4fd13ab
chore: Bump to 0.86.0; update changelog (#14885)
[rendered](https://github.com/weihanglo/cargo/blob/version-bump/CHANGELOG.md)
2024-12-02 23:02:33 +00:00
Weihang Lo
2d613ab833
docs: update changelog for 1.85.0 2024-12-02 17:30:14 -05:00
Weihang Lo
8863f5b0ed
docs: update changelog for 1.84.0 2024-12-02 17:30:14 -05:00
Weihang Lo
e42f566b75
docs: update changelog for 1.83.0 2024-12-02 13:59:15 -05:00
Weihang Lo
6246988889
chore: Bump to 0.86.0 2024-12-02 13:59:14 -05:00
Weihang Lo
ef5edffb89
docs(ref): Finish a sentence on rust-versions (#14884)
### What does this PR try to resolve?

Was about to point someone to the docs when I found this

### How should we test and review this PR?

### Additional information
2024-12-02 15:14:28 +00:00
Ed Page
00fb2e661c docs(ref): Finish a sentence on rust-versions 2024-12-02 08:43:20 -06:00
Eric Huss
d25c2691af
chore(deps): update rust crate cargo_metadata to 0.19.0 (#14878)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [cargo_metadata](https://redirect.github.com/oli-obk/cargo_metadata) |
workspace.dependencies | minor | `0.18.1` -> `0.19.0` |

---

### Release Notes

<details>
<summary>oli-obk/cargo_metadata (cargo_metadata)</summary>

###
[`v0.19.0`](https://redirect.github.com/oli-obk/cargo_metadata/blob/HEAD/CHANGELOG.md#0190---2024-11-20)

[Compare
Source](https://redirect.github.com/oli-obk/cargo_metadata/compare/0.18.1...0.19.0)

##### Added

-   Re-exported `semver` crate directly.
-   Added implementation of `std::ops::Index<&PackageId>` for `Resolve`.
-   Added `pub fn is_kind(&self, name: TargetKind) -> bool` to `Target`.
- Added derived implementations of `PartialEq`, `Eq` and `Hash` for
`Metadata` and its members' types.
-   Added default fields to `PackageBuilder`.
- Added `pub fn new(name:version:id:path:) -> Self` to `PackageBuilder`
for providing all required fields upfront.

##### Changed

-   Bumped MSRV from `1.42.0` to `1.56.0`.
- Made `parse_stream` more versatile by accepting anything that
implements `Read`.
-   Converted `TargetKind` and `CrateType` to an enum representation.

##### Removed

- Removed re-exports for `BuildMetadata` and `Prerelease` from `semver`
crate.
- Removed `.is_lib(…)`, `.is_bin(…)`, `.is_example(…)`, `.is_test(…)`,
`.is_bench(…)`, `.is_custom_build(…)`, and `.is_proc_macro(…)` from
`Target` (in favor of adding `.is_kind(…)`).

##### Fixed

- Added missing `manifest_path` field to `Artifact`. Fixes
[#&#8203;187](https://redirect.github.com/oli-obk/cargo_metadata/issues/187).

</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 was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/rust-lang/cargo).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xOS4wIiwidXBkYXRlZEluVmVyIjoiMzkuMTkuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119-->
2024-12-01 19:14:29 +00:00
Eric Huss
17f39f1fe0
chore(deps): update rust crate gix to 0.68.0 (#14879)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [gix](https://redirect.github.com/GitoxideLabs/gitoxide) |
workspace.dependencies | minor | `0.67.0` -> `0.68.0` |

---

### Release Notes

<details>
<summary>GitoxideLabs/gitoxide (gix)</summary>

###
[`v0.68.0`](https://redirect.github.com/GitoxideLabs/gitoxide/releases/tag/gix-v0.68.0):
gix v0.68.0

[Compare
Source](https://redirect.github.com/GitoxideLabs/gitoxide/compare/gix-v0.67.0...gix-v0.68.0)

##### New Features

- Add support for `index` application in merge results via
`merge::tree::Outcome::index_changed_after_applying_conflicts()`
-   add `Repository::merge_base_octopus()`
- add `Repository::virtual_merge_base()` and
`Repository::virtual_merge_base_with_graph()`.
-   add `Repository::merge_commits()`
It's often more convenient to work with commits when merging, especially
    when merge-bases are dealt with automatically.
- add `objects::tree::Editor::detach()` to get the underlying editor
back.
This can be useful to have more control over what gets written, or how.
-   add `Repository::index_or_load_from_head_or_empty()`.
It's useful to get a reasonable index in any case, even on unborn
repositories.
It's for cases where the `HEAD` isn't setup at all, despite content
being available,
    and to avoid unnecessary restrictions on what works.
- add `Object::peel_to_commit()` to assure an object turns into a
commit.
-   add `Repository::merge_trees()`
- `gix::Repository` implements all traits for object reading and
writing.
That way it becomes usable when merging trees, which benefits from
automatic
    checking of hashes before writing loose objects.
- add `tree()` and `commit()` merge support, en par with `merge-ORT` as
far as tests go.
Note that this judgement of quality is based on a limited amount of
partially complex
test, but it's likely that in practice there will be deviations of
sorts.

Also, given the complexity of the implementation it is definitely
under-tested,
    but with that it's mostly en par with Git, unfortunatly.

On the bright side, some of the tests are very taxing and I'd hope this
    means something for real-world quality.

##### Bug Fixes

-   `Repository::tree_merge_options()` now comes with rewrite tracking.
This is the way Git acts, as it's either configured, or defaults to the
value
    coming from the `diff.renames` configuration.
-   respect `core.bare=true` in conjunction with the main worktree
-   propagate errors that are triggered when writing objects
Previously it was assumed that writing objects could never fail unless
    there isn't enough memory to do so. However, it turns out that
some last-minute validation can always be triggered and prevent an
object
    to be written.

    Now that error is propagated instead.
-   assure submodules are skipped everywhere
    This also adds `Repository::head_tree()` for convenience.

##### New Features (BREAKING)

-   `Repository::merge_trees()` now takes portable version of `Options`.
-   `Repository::merge_trees()` now has a fully-wrapped outcome.
    That way, more attached types are used for greater convenience.

##### Bug Fixes (BREAKING)

-   rename `blob-merge` feature to `tree-merge`.
By now, `blob-merge` is the lowest-level of features which is required
    for both tree-merges and commit based merges. Hence it's better
    to just call it `merge`.
- Adjust blob-merge baseline to also test the reverse of each operation
    This also fixes an issue with blob merge computations.

    It's breaking because the marker-size was reduced to `u8`.

##### Commit Statistics

-   46 commits contributed to the release.
- 18 commits were understood as
[conventional](https://www.conventionalcommits.org).
- 2 unique issues were worked on:
[#&#8203;1678](https://redirect.github.com/GitoxideLabs/gitoxide/issues/1678),
[#&#8203;1683](https://redirect.github.com/GitoxideLabs/gitoxide/issues/1683)

##### Commit Details

<csr-read-only-do-not-edit/>

<details><summary>view details</summary>

-
**[#&#8203;1678](https://redirect.github.com/GitoxideLabs/gitoxide/issues/1678)**
- Propagate errors that are triggered when writing objects
([`dc3d8bf`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/dc3d8bf))
- Reproduce a commit-write panic if the author is invalid
([`d15a493`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/d15a493))
-
**[#&#8203;1683](https://redirect.github.com/GitoxideLabs/gitoxide/issues/1683)**
- Respect `core.bare=true` in conjunction with the main worktree
([`88d9d43`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/88d9d43))
-   **Uncategorized**
- Release gix-date v0.9.2, gix-actor v0.33.1, gix-hash v0.15.1,
gix-features v0.39.1, gix-validate v0.9.2, gix-object v0.46.0, gix-path
v0.10.13, gix-quote v0.4.14, gix-attributes v0.23.1,
gix-packetline-blocking v0.18.1, gix-filter v0.15.0, gix-chunk v0.4.10,
gix-commitgraph v0.25.1, gix-revwalk v0.17.0, gix-traverse v0.43.0,
gix-worktree-stream v0.17.0, gix-archive v0.17.0, gix-config-value
v0.14.10, gix-lock v15.0.1, gix-ref v0.49.0, gix-config v0.42.0,
gix-prompt v0.8.9, gix-url v0.28.1, gix-credentials v0.25.1, gix-bitmap
v0.2.13, gix-index v0.37.0, gix-worktree v0.38.0, gix-diff v0.48.0,
gix-discover v0.37.0, gix-pathspec v0.8.1, gix-dir v0.10.0, gix-mailmap
v0.25.1, gix-revision v0.31.0, gix-merge v0.1.0, gix-negotiate v0.17.0,
gix-pack v0.55.0, gix-odb v0.65.0, gix-packetline v0.18.1, gix-transport
v0.43.1, gix-protocol v0.46.1, gix-refspec v0.27.0, gix-status v0.15.0,
gix-submodule v0.16.0, gix-worktree-state v0.15.0, gix v0.68.0, gix-fsck
v0.8.0, gitoxide-core v0.43.0, gitoxide v0.39.0, safety bump 25 crates
([`8ce4912`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/8ce4912))
- Prepare changelogs prior to release
([`bc9d994`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/bc9d994))
- Merge pull request
[#&#8203;1661](https://redirect.github.com/GitoxideLabs/gitoxide/issues/1661)
from GitoxideLabs/merge
([`0b7abfb`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/0b7abfb))
- Add support for `index` application in merge results via
`merge::tree::Outcome::index_changed_after_applying_conflicts()`
([`71b0cea`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/71b0cea))
- `Repository::tree_merge_options()` now comes with rewrite tracking.
([`b57be71`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/b57be71))
- Adapt to changes in `gix-merge`.
([`47110d6`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/47110d6))
- Merge pull request
[#&#8203;1687](https://redirect.github.com/GitoxideLabs/gitoxide/issues/1687)
from EliahKagan/run-ci/32bit
([`aeaebec`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/aeaebec))
- Add 32-bit expectations for remaining `==` size assertions
([`daf9990`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/daf9990))
- Use `<=` on 32-bit for some size assertions
([`fc13fc3`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/fc13fc3))
- Merge pull request
[#&#8203;1684](https://redirect.github.com/GitoxideLabs/gitoxide/issues/1684)
from GitoxideLabs/fixes
([`9ab86a2`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/9ab86a2))
- Merge pull request
[#&#8203;1679](https://redirect.github.com/GitoxideLabs/gitoxide/issues/1679)
from GitoxideLabs/fix-1678
([`275a0c5`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/275a0c5))
- Turn single-mod directories into a file
([`49ba115`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/49ba115))
- Merge pull request
[#&#8203;1662](https://redirect.github.com/GitoxideLabs/gitoxide/issues/1662)
from paolobarbolini/thiserror-v2
([`7a40648`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/7a40648))
- Upgrade thiserror to v2.0.0
([`0f0e4fe`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/0f0e4fe))
- Merge pull request
[#&#8203;1659](https://redirect.github.com/GitoxideLabs/gitoxide/issues/1659)
from GitoxideLabs/merge
([`cf0c7ee`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/cf0c7ee))
- Add `Repository::merge_base_octopus()`
([`65ae68e`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/65ae68e))
- Merge pull request
[#&#8203;1658](https://redirect.github.com/GitoxideLabs/gitoxide/issues/1658)
from GitoxideLabs/merge
([`905e5b4`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/905e5b4))
- Add `Repository::virtual_merge_base()` and
`Repository::virtual_merge_base_with_graph()`.
([`7aee32a`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/7aee32a))
- Add `Repository::merge_commits()`
([`5f3f63a`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/5f3f63a))
- Merge pull request
[#&#8203;1656](https://redirect.github.com/GitoxideLabs/gitoxide/issues/1656)
from GitoxideLabs/hasconfig
([`c5955fc`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/c5955fc))
- Add test to assure `hasconfig` is working on `gix` level as well.
([`d51aec9`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/d51aec9))
- Merge pull request
[#&#8203;1653](https://redirect.github.com/GitoxideLabs/gitoxide/issues/1653)
from GitoxideLabs/merge
([`697a632`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/697a632))
- Assure submodules are skipped everywhere
([`4079519`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/4079519))
- Merge pull request
[#&#8203;1651](https://redirect.github.com/GitoxideLabs/gitoxide/issues/1651)
from GitoxideLabs/merge
([`a876533`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/a876533))
- `Repository::merge_trees()` now takes portable version of `Options`.
([`a43e563`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/a43e563))
- Rename `blob-merge` feature to `tree-merge`.
([`2547935`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/2547935))
- `Repository::merge_trees()` now has a fully-wrapped outcome.
([`1d2262f`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/1d2262f))
- Add `objects::tree::Editor::detach()` to get the underlying editor
back.
([`27b663e`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/27b663e))
- Add `Repository::index_or_load_from_head_or_empty()`.
([`1f9556a`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/1f9556a))
- Add `Object::peel_to_commit()` to assure an object turns into a
commit.
([`2fce14f`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/2fce14f))
- Remove a TODO that turned out to be unnecessary.
([`5b428a9`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/5b428a9))
- Merge pull request
[#&#8203;1652](https://redirect.github.com/GitoxideLabs/gitoxide/issues/1652)
from EliahKagan/run-ci/chmod
([`8e99eba`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/8e99eba))
- Fix `chmod` in make_rev_spec_parse_repos; regenerate archive on macOS
([`d74e919`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/d74e919))
- Regenerate gix make_rev_spec_parse_repos fixture archive
([`72cd7f3`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/72cd7f3))
- Avoid unneeded +x in make_rev_spec_parse_repos
([`8720acb`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/8720acb))
- Merge pull request
[#&#8203;1618](https://redirect.github.com/GitoxideLabs/gitoxide/issues/1618)
from GitoxideLabs/merge
([`3fb989b`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/3fb989b))
- Add `Repository::merge_trees()`
([`d1ac584`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/d1ac584))
- `gix::Repository` implements all traits for object reading and
writing.
([`07746f3`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/07746f3))
- Support for merge related options in config tree
([`80e006b`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/80e006b))
- Add `tree()` and `commit()` merge support, en par with `merge-ORT` as
far as tests go.
([`4b1764c`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/4b1764c))
- Adapt to changes in `gix-object` and `gix-odb`
([`96488f7`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/96488f7))
- Adjust blob-merge baseline to also test the reverse of each operation
([`de1cfb6`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/de1cfb6))
- Merge pull request
[#&#8203;1642](https://redirect.github.com/GitoxideLabs/gitoxide/issues/1642)
from GitoxideLabs/new-release
([`db5c9cf`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/db5c9cf))

</details>

</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 was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/rust-lang/cargo).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xOS4wIiwidXBkYXRlZEluVmVyIjoiMzkuMTkuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119-->
2024-12-01 16:00:29 +00:00
Weihang Lo
048d0d781e
fix: Remove default registry reference in info cmd docs (#14880)
### What does this PR try to resolve?

close https://github.com/rust-lang/cargo/issues/14810

Remove the registry description to reduce confusion, as the `spec`
already explains local `Cargo.toml` inspection behavior.

### How should we test and review this PR?

The unit test has been updated.

### Additional information

r? @epage
2024-12-01 14:52:48 +00:00