Ed Page
539a48452a
perf: Update toml
2025-07-08 11:55:41 -05:00
Eric Huss
fb0c7c99cf
Update all crates to 2024 edition
2025-07-05 19:39:17 -07:00
Ed Page
d8975d2901
chore: Update incompatible versions
2025-07-01 13:51:18 -05:00
Ed Page
72837912b4
chore: Update compatible versions
2025-07-01 13:50:44 -05:00
Ed Page
e8a9510f11
chore(rustfix): Bump to 0.9.2
2025-06-30 13:37:27 -05:00
Ed Page
37ac0c28b8
chore: bump to 0.91.0; update changelog ( #15710 )
2025-06-27 16:27:06 +00:00
Eric Huss
a87ddb2dc7
Bump to 0.91.0
2025-06-27 08:17:07 -07:00
renovate[bot]
f0b8367ade
chore(deps): update msrv (3 versions) to v1.86
2025-06-27 14:03:03 +00:00
renovate[bot]
e6740738a8
chore(deps): update msrv (1 version) to v1.88
2025-06-26 19:55:27 +00:00
Ross Sullivan
15f755cefd
chore: Created CargoProjectExt extention trait
2025-06-25 23:18:00 +09:00
Eric Huss
0c59ee9009
Bump cargo-util-schemas version
...
https://github.com/rust-lang/cargo/pull/15643 introduced a semver
breaking change by adding a new pub field to `TomlProfile`.
2025-06-22 15:54:29 -07:00
renovate[bot]
9d05224480
chore(deps): update msrv (3 versions) to v1.85
2025-06-16 06:28:30 +00:00
Eric Huss
77fa64b524
Pin handlebars to 6.3.1
...
This is due to an issue in 6.3.2 that breaks the way our includes are
being used. I'm not sure how to fix it at this point.
2025-06-05 06:29:32 -07:00
Benjamin Bigler
e208691f95
chore: bump cargo-credential-libsecret
2025-06-04 17:24:15 +02:00
Ed Page
92cb7b9a60
chore: Upgrade schemars
...
0.9.0 may look like a downgrade but the maintainer has decided to go
back to `0.x` versions rather than continuing to use pre-release
versions
2025-05-27 12:34:14 -05:00
王宇逸
bb62903ad7
Update gix & socket2
2025-05-26 21:42:47 +08:00
AudaciousAxiom
8362109b8e
chore(toml): disable toml
's default features, unless necessary
...
This reduces the build time of `cargo-util-schemas`.
2025-05-25 13:31:18 +02:00
Ed Page
2d662d919e
chore(deps): update msrv (1 version) to v1.87 ( #15530 )
...
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| [MSRV:1](https://redirect.github.com/rust-lang/rust ) | minor | `1.86`
-> `1.87` |
---
### Release Notes
<details>
<summary>rust-lang/rust (MSRV:1)</summary>
###
[`v1.87`](https://redirect.github.com/rust-lang/rust/blob/HEAD/RELEASES.md#Version-1870-2025-05-15 )
[Compare
Source](https://redirect.github.com/rust-lang/rust/compare/1.86.0...1.87.0 )
\==========================
<a id="1.87.0-Language"></a>
## Language
- [Stabilize `asm_goto`
feature](https://redirect.github.com/rust-lang/rust/pull/133870 )
- [Allow parsing open beginning ranges (`..EXPR`) after unary operators
`!`, `-`, and
`*`](https://redirect.github.com/rust-lang/rust/pull/134900 ).
- [Don't require method impls for methods with `Self: Sized` bounds in
`impl`s for unsized
types](https://redirect.github.com/rust-lang/rust/pull/135480 )
- [Stabilize `feature(precise_capturing_in_traits)` allowing `use<...>`
bounds on return position `impl Trait` in
`trait`s](https://redirect.github.com/rust-lang/rust/pull/138128 )
<a id="1.87.0-Compiler"></a>
## Compiler
- [x86: make SSE2 required for i686 targets and use it to pass SIMD
types](https://redirect.github.com/rust-lang/rust/pull/135408 )
<a id="1.87.0-Platform-Support"></a>
## Platform Support
- [Remove `i586-pc-windows-msvc`
target](https://redirect.github.com/rust-lang/rust/pull/137957 )
Refer to Rust's [platform support page][platform-support-doc]
for more information on Rust's tiered platform support.
[platform-support-doc]:
https://doc.rust-lang.org/rustc/platform-support.html
<a id="1.87.0-Libraries"></a>
## Libraries
- [Stabilize the anonymous pipe
API](https://redirect.github.com/rust-lang/rust/issues/127154 )
- [Add support for unbounded left/right shift
operations](https://redirect.github.com/rust-lang/rust/issues/129375 )
- [Print pointer metadata in `Debug` impl of raw
pointers](https://redirect.github.com/rust-lang/rust/pull/135080 )
- [`Vec::with_capacity` guarantees it allocates with the amount
requested, even if `Vec::capacity` returns a different
number.](https://redirect.github.com/rust-lang/rust/pull/135933 )
- Most `std::arch` intrinsics which don't take pointer arguments can now
be called from safe code if the caller has the appropriate target
features already enabled
([https://github.com/rust-lang/stdarch/pull/1714 ](https://redirect.github.com/rust-lang/stdarch/pull/1714 ),
[https://github.com/rust-lang/stdarch/pull/1716 ](https://redirect.github.com/rust-lang/stdarch/pull/1716 ),
[https://github.com/rust-lang/stdarch/pull/1717 ](https://redirect.github.com/rust-lang/stdarch/pull/1717 ))
- [Undeprecate
`env::home_dir`](https://redirect.github.com/rust-lang/rust/pull/137327 )
- [Denote `ControlFlow` as
`#[must_use]`](https://redirect.github.com/rust-lang/rust/pull/137449 )
- [Macros such as `assert_eq!` and `vec!` now support `const {...}`
expressions](https://redirect.github.com/rust-lang/rust/pull/138162 )
<a id="1.87.0-Stabilized-APIs"></a>
## Stabilized APIs
-
[`Vec::extract_if`](https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#method.extract_if )
-
[`vec::ExtractIf`](https://doc.rust-lang.org/stable/std/vec/struct.ExtractIf.html )
-
[`LinkedList::extract_if`](https://doc.rust-lang.org/stable/std/collections/struct.LinkedList.html#method.extract_if )
-
[`linked_list::ExtractIf`](https://doc.rust-lang.org/stable/std/collections/linked_list/struct.ExtractIf.html )
-
[`<[T]>::split_off`](https://doc.rust-lang.org/stable/std/primitive.slice.html#method.split_off )
-
[`<[T]>::split_off_mut`](https://doc.rust-lang.org/stable/std/primitive.slice.html#method.split_off_mut )
-
[`<[T]>::split_off_first`](https://doc.rust-lang.org/stable/std/primitive.slice.html#method.split_off_first )
-
[`<[T]>::split_off_first_mut`](https://doc.rust-lang.org/stable/std/primitive.slice.html#method.split_off_first_mut )
-
[`<[T]>::split_off_last`](https://doc.rust-lang.org/stable/std/primitive.slice.html#method.split_off_last )
-
[`<[T]>::split_off_last_mut`](https://doc.rust-lang.org/stable/std/primitive.slice.html#method.split_off_last_mut )
-
[`String::extend_from_within`](https://doc.rust-lang.org/stable/alloc/string/struct.String.html#method.extend_from_within )
-
[`os_str::Display`](https://doc.rust-lang.org/stable/std/ffi/os_str/struct.Display.html )
-
[`OsString::display`](https://doc.rust-lang.org/stable/std/ffi/struct.OsString.html#method.display )
-
[`OsStr::display`](https://doc.rust-lang.org/stable/std/ffi/struct.OsStr.html#method.display )
- [`io::pipe`](https://doc.rust-lang.org/stable/std/io/fn.pipe.html )
-
[`io::PipeReader`](https://doc.rust-lang.org/stable/std/io/struct.PipeReader.html )
-
[`io::PipeWriter`](https://doc.rust-lang.org/stable/std/io/struct.PipeWriter.html )
- [`impl From<PipeReader> for
OwnedHandle`](https://doc.rust-lang.org/stable/std/os/windows/io/struct.OwnedHandle.html#impl-From%3CPipeReader%3E-for-OwnedHandle )
- [`impl From<PipeWriter> for
OwnedHandle`](https://doc.rust-lang.org/stable/std/os/windows/io/struct.OwnedHandle.html#impl-From%3CPipeWriter%3E-for-OwnedHandle )
- [`impl From<PipeReader> for
Stdio`](https://doc.rust-lang.org/stable/std/process/struct.Stdio.html )
- [`impl From<PipeWriter> for
Stdio`](https://doc.rust-lang.org/stable/std/process/struct.Stdio.html#impl-From%3CPipeWriter%3E-for-Stdio )
- [`impl From<PipeReader> for
OwnedFd`](https://doc.rust-lang.org/stable/std/os/fd/struct.OwnedFd.html#impl-From%3CPipeReader%3E-for-OwnedFd )
- [`impl From<PipeWriter> for
OwnedFd`](https://doc.rust-lang.org/stable/std/os/fd/struct.OwnedFd.html#impl-From%3CPipeWriter%3E-for-OwnedFd )
-
[`Box<MaybeUninit<T>>::write`](https://doc.rust-lang.org/stable/std/boxed/struct.Box.html#method.write )
- [`impl TryFrom<Vec<u8>> for
String`](https://doc.rust-lang.org/stable/std/string/struct.String.html#impl-TryFrom%3CVec%3Cu8%3E%3E-for-String )
- [`<*const
T>::offset_from_unsigned`](https://doc.rust-lang.org/stable/std/primitive.pointer.html#method.offset_from_unsigned )
- [`<*const
T>::byte_offset_from_unsigned`](https://doc.rust-lang.org/stable/std/primitive.pointer.html#method.byte_offset_from_unsigned )
- [`<*mut
T>::offset_from_unsigned`](https://doc.rust-lang.org/stable/std/primitive.pointer.html#method.offset_from_unsigned-1 )
- [`<*mut
T>::byte_offset_from_unsigned`](https://doc.rust-lang.org/stable/std/primitive.pointer.html#method.byte_offset_from_unsigned-1 )
-
[`NonNull::offset_from_unsigned`](https://doc.rust-lang.org/stable/std/ptr/struct.NonNull.html#method.offset_from_unsigned )
-
[`NonNull::byte_offset_from_unsigned`](https://doc.rust-lang.org/stable/std/ptr/struct.NonNull.html#method.byte_offset_from_unsigned )
-
[`<uN>::cast_signed`](https://doc.rust-lang.org/stable/std/primitive.usize.html#method.cast_signed )
-
[`NonZero::<uN>::cast_signed`](https://doc.rust-lang.org/stable/std/num/struct.NonZero.html#method.cast_signed-5 ).
-
[`<iN>::cast_unsigned`](https://doc.rust-lang.org/stable/std/primitive.isize.html#method.cast_unsigned ).
-
[`NonZero::<iN>::cast_unsigned`](https://doc.rust-lang.org/stable/std/num/struct.NonZero.html#method.cast_unsigned-5 ).
-
[`<uN>::is_multiple_of`](https://doc.rust-lang.org/stable/std/primitive.usize.html#method.is_multiple_of )
-
[`<uN>::unbounded_shl`](https://doc.rust-lang.org/stable/std/primitive.usize.html#method.unbounded_shl )
-
[`<uN>::unbounded_shr`](https://doc.rust-lang.org/stable/std/primitive.usize.html#method.unbounded_shr )
-
[`<iN>::unbounded_shl`](https://doc.rust-lang.org/stable/std/primitive.isize.html#method.unbounded_shl )
-
[`<iN>::unbounded_shr`](https://doc.rust-lang.org/stable/std/primitive.isize.html#method.unbounded_shr )
-
[`<iN>::midpoint`](https://doc.rust-lang.org/stable/std/primitive.isize.html#method.midpoint )
-
[`<str>::from_utf8`](https://doc.rust-lang.org/stable/std/primitive.str.html#method.from_utf8 )
-
[`<str>::from_utf8_mut`](https://doc.rust-lang.org/stable/std/primitive.str.html#method.from_utf8\_mut )
-
[`<str>::from_utf8_unchecked`](https://doc.rust-lang.org/stable/std/primitive.str.html#method.from_utf8\_unchecked )
-
[`<str>::from_utf8_unchecked_mut`](https://doc.rust-lang.org/stable/std/primitive.str.html#method.from_utf8\_unchecked_mut )
These previously stable APIs are now stable in const contexts:
-
[`core::str::from_utf8_mut`](https://doc.rust-lang.org/stable/std/str/fn.from_utf8\_mut.html )
-
[`<[T]>::copy_from_slice`](https://doc.rust-lang.org/stable/std/primitive.slice.html#method.copy_from_slice )
-
[`SocketAddr::set_ip`](https://doc.rust-lang.org/stable/std/net/enum.SocketAddr.html#method.set_ip )
-
[`SocketAddr::set_port`](https://doc.rust-lang.org/stable/std/net/enum.SocketAddr.html#method.set_port ),
-
[`SocketAddrV4::set_ip`](https://doc.rust-lang.org/stable/std/net/struct.SocketAddrV4.html#method.set_ip )
-
[`SocketAddrV4::set_port`](https://doc.rust-lang.org/stable/std/net/struct.SocketAddrV4.html#method.set_port ),
-
[`SocketAddrV6::set_ip`](https://doc.rust-lang.org/stable/std/net/struct.SocketAddrV6.html#method.set_ip )
-
[`SocketAddrV6::set_port`](https://doc.rust-lang.org/stable/std/net/struct.SocketAddrV6.html#method.set_port )
-
[`SocketAddrV6::set_flowinfo`](https://doc.rust-lang.org/stable/std/net/struct.SocketAddrV6.html#method.set_flowinfo )
-
[`SocketAddrV6::set_scope_id`](https://doc.rust-lang.org/stable/std/net/struct.SocketAddrV6.html#method.set_scope_id )
-
[`char::is_digit`](https://doc.rust-lang.org/stable/std/primitive.char.html#method.is_digit )
-
[`char::is_whitespace`](https://doc.rust-lang.org/stable/std/primitive.char.html#method.is_whitespace )
- [`<[[T;
N]]>::as_flattened`](https://doc.rust-lang.org/stable/std/primitive.slice.html#method.as_flattened )
- [`<[[T;
N]]>::as_flattened_mut`](https://doc.rust-lang.org/stable/std/primitive.slice.html#method.as_flattened_mut )
-
[`String::into_bytes`](https://doc.rust-lang.org/stable/std/string/struct.String.html#method.into_bytes )
-
[`String::as_str`](https://doc.rust-lang.org/stable/std/string/struct.String.html#method.as_str )
-
[`String::capacity`](https://doc.rust-lang.org/stable/std/string/struct.String.html#method.capacity )
-
[`String::as_bytes`](https://doc.rust-lang.org/stable/std/string/struct.String.html#method.as_bytes )
-
[`String::len`](https://doc.rust-lang.org/stable/std/string/struct.String.html#method.len )
-
[`String::is_empty`](https://doc.rust-lang.org/stable/std/string/struct.String.html#method.is_empty )
-
[`String::as_mut_str`](https://doc.rust-lang.org/stable/std/string/struct.String.html#method.as_mut_str )
-
[`String::as_mut_vec`](https://doc.rust-lang.org/stable/std/string/struct.String.html#method.as_mut_vec )
-
[`Vec::as_ptr`](https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#method.as_ptr )
-
[`Vec::as_slice`](https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#method.as_slice )
-
[`Vec::capacity`](https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#method.capacity )
-
[`Vec::len`](https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#method.len )
-
[`Vec::is_empty`](https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#method.is_empty )
-
[`Vec::as_mut_slice`](https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#method.as_mut_slice )
-
[`Vec::as_mut_ptr`](https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#method.as_mut_ptr )
<a id="1.87.0-Cargo"></a>
## Cargo
- [Add terminal integration via ANSI OSC 9;4
sequences](https://redirect.github.com/rust-lang/cargo/pull/14615/ )
- [chore: bump openssl to
v3](https://redirect.github.com/rust-lang/cargo/pull/15232/ )
- [feat(package): add --exclude-lockfile
flag](https://redirect.github.com/rust-lang/cargo/pull/15234/ )
<a id="1.87.0-Compatibility-Notes"></a>
## Compatibility Notes
- [Rust now raises an error for macro invocations inside the
`#![crate_name]`
attribute](https://redirect.github.com/rust-lang/rust/pull/127581 )
- [Unstable fields are now always considered to be
inhabited](https://redirect.github.com/rust-lang/rust/pull/133889 )
- [Macro arguments of unary operators followed by open beginning ranges
may now be matched
differently](https://redirect.github.com/rust-lang/rust/pull/134900 )
- [Make `Debug` impl of raw pointers print metadata if
present](https://redirect.github.com/rust-lang/rust/pull/135080 )
- [Warn against function pointers using unsupported ABI strings in
dependencies](https://redirect.github.com/rust-lang/rust/pull/135767 )
- [Associated types on `dyn` types are no longer
deduplicated](https://redirect.github.com/rust-lang/rust/pull/136458 )
- [Forbid attributes on `..` inside of struct patterns (`let Struct {
#[attribute] .. })
=`](https://redirect.github.com/rust-lang/rust/pull/136490 )
- [Make `ptr_cast_add_auto_to_object` lint into hard
error](https://redirect.github.com/rust-lang/rust/pull/136764 )
- Many `std::arch` intrinsics are now safe to call in some contexts,
there may now be new `unused_unsafe` warnings in existing codebases.
- [Limit `width` and `precision` formatting options to 16 bits on all
targets](https://redirect.github.com/rust-lang/rust/pull/136932 )
- [Turn order dependent trait objects future incompat warning into a
hard error](https://redirect.github.com/rust-lang/rust/pull/136968 )
- [Denote `ControlFlow` as
`#[must_use]`](https://redirect.github.com/rust-lang/rust/pull/137449 )
- [Windows: The standard library no longer links `advapi32`, except on
win7.](https://redirect.github.com/rust-lang/rust/pull/138233 ) Code such
as C libraries that were relying on this assumption may need to
explicitly link advapi32.
- [Proc macros can no longer observe expanded `cfg(true)`
attributes.](https://redirect.github.com/rust-lang/rust/pull/138844 )
- [Start changing the internal representation of pasted
tokens](https://redirect.github.com/rust-lang/rust/pull/124141 ). Certain
invalid declarative macros that were previously accepted in obscure
circumstances are now correctly rejected by the compiler. Use of a `tt`
fragment specifier can often fix these macros.
- [Don't allow flattened format_args in
const.](https://redirect.github.com/rust-lang/rust/pull/139624 )
<a id="1.87.0-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.
- [Update to LLVM
20](https://redirect.github.com/rust-lang/rust/pull/135763 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - Every minute ( * * * * * ) (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:eyJjcmVhdGVkSW5WZXIiOiI0MC4xMS4xOCIsInVwZGF0ZWRJblZlciI6IjQwLjExLjE4IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->
2025-05-20 21:41:48 +00:00
Ed Page
31433a3094
chore: Bump package versions
2025-05-20 16:08:34 -05:00
Eric Huss
cbdb9f0620
Update dependencies
...
Routine update of dependencies.
Tempfile is updated since it is generating a deprecation due to a method
rename.
I presume the help output change is due to an update in clap.
Handlebars is not updated due to
https://github.com/sunng87/handlebars-rust/issues/711
Updating ahash v0.8.11 -> v0.8.12
Updating anyhow v1.0.96 -> v1.0.98
Updating base64ct v1.6.0 -> v1.7.3
Updating bitflags v2.8.0 -> v2.9.1
Updating blake3 v1.6.1 -> v1.8.2
Updating bstr v1.11.3 -> v1.12.0
Updating bytes v1.10.0 -> v1.10.1
Updating cargo_metadata v0.19.1 -> v0.19.2
Updating cc v1.2.16 -> v1.2.23
Updating clap v4.5.31 -> v4.5.38
Updating clap_builder v4.5.31 -> v4.5.38
Updating clap_complete v4.5.46 -> v4.5.50
Updating ct-codecs v1.1.3 -> v1.1.5
Updating darling v0.20.10 -> v0.20.11
Updating darling_core v0.20.10 -> v0.20.11
Updating darling_macro v0.20.10 -> v0.20.11
Updating der v0.7.9 -> v0.7.10
Updating deranged v0.3.11 -> v0.4.0
Updating dyn-clone v1.0.18 -> v1.0.19
Updating either v1.13.0 -> v1.15.0
Updating equivalent v1.0.1 -> v1.0.2
Updating erased-serde v0.4.5 -> v0.4.6
Updating errno v0.3.10 -> v0.3.12
Updating escargot v0.5.13 -> v0.5.14
Adding faster-hex v0.10.0
Updating ff v0.13.0 -> v0.13.1
Updating foldhash v0.1.4 -> v0.1.5
Removing getrandom v0.2.15
Removing getrandom v0.3.1
Adding getrandom v0.2.16
Adding getrandom v0.3.3
Updating git2 v0.20.0 -> v0.20.2
Removing gix-features v0.41.0
Adding gix-features v0.41.1
Adding gix-features v0.42.1
Adding gix-fs v0.15.0
Adding gix-hash v0.18.0
Updating gix-hashtable v0.8.0 -> v0.8.1
Updating gix-lock v17.0.0 -> v17.1.0
Updating gix-path v0.10.15 -> v0.10.18
Updating gix-tempfile v17.0.0 -> v17.1.0
Adding gix-utils v0.3.0
Adding gix-validate v0.10.0
Updating globset v0.4.15 -> v0.4.16
Updating half v2.4.1 -> v2.6.0
Adding hash32 v0.3.1
Updating hashbrown v0.15.2 -> v0.15.3
Adding heapless v0.8.0
Updating hermit-abi v0.4.0 -> v0.5.1
Updating icu_collections v1.5.0 -> v2.0.0
Adding icu_locale_core v2.0.0
Removing icu_locid v1.5.0
Removing icu_locid_transform v1.5.0
Removing icu_locid_transform_data v1.5.0
Updating icu_normalizer v1.5.0 -> v2.0.0
Updating icu_normalizer_data v1.5.0 -> v2.0.0
Updating icu_properties v1.5.1 -> v2.0.0
Updating icu_properties_data v1.5.0 -> v2.0.0
Updating icu_provider v1.5.0 -> v2.0.0
Removing icu_provider_macros v1.5.0
Updating idna_adapter v1.2.0 -> v1.2.1
Updating indexmap v2.7.1 -> v2.9.0
Updating is-terminal v0.4.15 -> v0.4.16
Updating itoa v1.0.14 -> v1.0.15
Updating jiff v0.2.3 -> v0.2.13
Updating jiff-static v0.2.3 -> v0.2.13
Updating jiff-tzdb v0.1.2 -> v0.1.4
Updating jiff-tzdb-platform v0.1.2 -> v0.1.3
Updating jobserver v0.1.32 -> v0.1.33
Updating libc v0.2.170 -> v0.2.172
Updating libgit2-sys v0.18.0+1.9.0 -> v0.18.1+1.9.0
Updating libloading v0.8.6 -> v0.8.7
Updating libz-sys v1.1.21 -> v1.1.22
Adding linux-raw-sys v0.9.4
Updating litemap v0.7.4 -> v0.8.0
Updating log v0.4.25 -> v0.4.27
Updating miniz_oxide v0.8.5 -> v0.8.8
Updating once_cell v1.20.3 -> v1.21.3
Updating oorandom v11.1.4 -> v11.1.5
Updating openssl-src v300.4.2+3.4.1 -> v300.5.0+3.5.0
Updating openssl-sys v0.9.107 -> v0.9.108
Updating orion v0.17.8 -> v0.17.10
Updating os_info v3.10.0 -> v3.11.0
Updating pasetors v0.7.2 -> v0.7.4
Updating pest v2.7.15 -> v2.8.0
Updating pest_derive v2.7.15 -> v2.8.0
Updating pest_generator v2.7.15 -> v2.8.0
Updating pest_meta v2.7.15 -> v2.8.0
Updating pkg-config v0.3.31 -> v0.3.32
Updating portable-atomic v1.10.0 -> v1.11.0
Adding potential_utf v0.1.2
Updating ppv-lite86 v0.2.20 -> v0.2.21
Updating proc-macro2 v1.0.93 -> v1.0.95
Updating prodash v29.0.1 -> v29.0.2
Updating quote v1.0.38 -> v1.0.40
Adding r-efi v5.2.0
Updating rand v0.9.0 -> v0.9.1
Updating rand_core v0.9.0 -> v0.9.3
Updating redox_syscall v0.5.8 -> v0.5.12
Updating ref-cast v1.0.23 -> v1.0.24
Updating ref-cast-impl v1.0.23 -> v1.0.24
Adding rustix v1.0.7
Updating rustversion v1.0.19 -> v1.0.20
Updating ryu v1.0.19 -> v1.0.20
Updating semver v1.0.25 -> v1.0.26
Updating serde v1.0.218 -> v1.0.219
Updating serde-untagged v0.1.6 -> v0.1.7
Updating serde_derive v1.0.218 -> v1.0.219
Updating serde_ignored v0.1.10 -> v0.1.12
Updating serde_json v1.0.139 -> v1.0.140
Updating sha2 v0.10.8 -> v0.10.9
Updating smallvec v1.13.2 -> v1.15.0
Updating socket2 v0.5.8 -> v0.5.9
Updating syn v2.0.98 -> v2.0.101
Updating synstructure v0.13.1 -> v0.13.2
Updating tempfile v3.17.1 -> v3.20.0
Updating terminal_size v0.4.1 -> v0.4.2
Updating thiserror v2.0.11 -> v2.0.12
Updating thiserror-impl v2.0.11 -> v2.0.12
Updating time v0.3.37 -> v0.3.41
Updating time-core v0.1.2 -> v0.1.4
Updating time-macros v0.2.19 -> v0.2.22
Updating tinystr v0.7.6 -> v0.8.1
Updating tinyvec v1.8.1 -> v1.9.0
Updating toml v0.8.20 -> v0.8.22
Updating toml_datetime v0.6.8 -> v0.6.9
Updating toml_edit v0.22.24 -> v0.22.26
Adding toml_write v0.1.1
Updating typeid v1.0.2 -> v1.0.3
Updating typenum v1.17.0 -> v1.18.0
Updating unicode-ident v1.0.17 -> v1.0.18
Removing utf16_iter v1.0.5
Updating wasi v0.13.3+wasi-0.2.2 -> v0.14.2+wasi-0.2.4
Adding windows-targets v0.53.0
Adding windows_aarch64_gnullvm v0.53.0
Adding windows_aarch64_msvc v0.53.0
Adding windows_i686_gnu v0.53.0
Adding windows_i686_gnullvm v0.53.0
Adding windows_i686_msvc v0.53.0
Adding windows_x86_64_gnu v0.53.0
Adding windows_x86_64_gnullvm v0.53.0
Adding windows_x86_64_msvc v0.53.0
Updating winnow v0.7.1 -> v0.7.10
Updating wit-bindgen-rt v0.33.0 -> v0.39.0
Removing write16 v1.0.0
Updating writeable v0.5.5 -> v0.6.1
Updating yoke v0.7.5 -> v0.8.0
Updating yoke-derive v0.7.5 -> v0.8.0
Removing zerocopy v0.7.35
Removing zerocopy v0.8.17
Adding zerocopy v0.8.25
Removing zerocopy-derive v0.7.35
Removing zerocopy-derive v0.8.17
Adding zerocopy-derive v0.8.25
Updating zerofrom v0.1.5 -> v0.1.6
Updating zerofrom-derive v0.1.5 -> v0.1.6
Adding zerotrie v0.2.2
Updating zerovec v0.10.4 -> v0.11.2
Updating zerovec-derive v0.10.3 -> v0.11.1
2025-05-17 19:32:32 -07:00
renovate[bot]
8b5fd61ec8
chore(deps): update msrv (1 version) to v1.87
2025-05-15 23:35:57 +00:00
Weihang Lo
6459528bca
chore: bump to 0.90.0
2025-05-12 17:24:13 -04:00
renovate[bot]
b15a7ccd16
chore(deps): update msrv (3 versions) to v1.84
2025-04-28 15:38:04 +00:00
dawe
98326ac0f5
feat(install): check if given crate argument would be valid with inserted @ symbol, suggest fixed argument
2025-04-27 01:23:48 +02:00
Ed Page
69eeb6ad94
Implement RFC3695: Allow boolean literals as cfg predicates ( #14649 )
...
### What does this PR try to resolve?
This PR implements https://github.com/rust-lang/rfcs/pull/3695 : allow
boolean literals as cfg predicates, i.e. `cfg(true)` and `cfg(false)`.
### How should we test and review this PR?
The PR should be reviewed commit by commit and tested by looking at the
tests and using `[target.'cfg(<true/false>)']` in
`Cargo.toml`/`.cargo/config.toml`.
### Additional information
I had to bump `cargo-platform` to `0.3.0` has we are changing `CfgExpr`
enum in a semver incompatible change.
We currently have (thks to
https://github.com/rust-lang/cargo/pull/14671 ) a forward compatibility
warning against `cfg(true/false)` as identifiers instead of keywords.
~~I choose a use a `Cargo.toml` feature (for the manifest) as well as a
unstable CLI flag for the `.cargo/config.toml` part.~~
~~Given the very small (two occurrences on Github Search) for
[`cfg(true)`](https://github.com/search?q=lang%3Atoml+%2F%28%3F-i%29%5C%5Btarget%5C.%5B%27%22%5Dcfg.*true%2F&type=code )
and
[`cfg(false)`](https://github.com/search?q=lang%3Atoml+%2F%28%3F-i%29%5C%5Btarget%5C.%5B%27%22%5Dcfg.*false%2F&type=code ),
I choose to gate the feature under a error and not a warning.~~
2025-04-22 17:54:52 +00:00
Urgau
4fc4e12189
Bump cargo-platform to 0.3.0 in preparation for cfg(<true/false>)
2025-04-22 19:18:12 +02:00
Ed Page
d811228b14
use zlib-rs
for gzip compression in rust code ( #15417 )
...
### What does this PR try to resolve?
This PR uses `zlib-rs` via the `flate2` crate. It is used for
(de)compressing gzip files (e.g. in `cargo package`).
Using zlib-rs is significantly faster, and produces output of roughly
similar size. For the `windows-bindgen` crate
(a very large crate), the speedup is over 60%, or about 2 seconds.
```
> time cargo package -p windows-bindgen --no-verify
Packaging windows-bindgen v0.61.0 (/home/folkertdev/rust/windows-rs/crates/libs/bindgen)
Updating crates.io index
Packaged 76 files, 31.2MiB (8.2MiB compressed)
________________________________________________________
Executed in 3.30 secs fish external
usr time 3.19 secs 424.00 micros 3.19 secs
sys time 0.05 secs 61.00 micros 0.05 secs
> time ~/rust/cargo/target/release/cargo package -p windows-bindgen --no-verify
Packaging windows-bindgen v0.61.0 (/home/folkertdev/rust/windows-rs/crates/libs/bindgen)
Updating crates.io index
Packaged 76 files, 31.2MiB (8.3MiB compressed)
________________________________________________________
Executed in 1.25 secs fish external
usr time 1.15 secs 0.00 micros 1.15 secs
sys time 0.04 secs 589.00 micros 0.04 secs
```
### How should we test and review this PR?
Generally CI/the test suite should handle correctness.
Something to look out for is zlib-rs producing larger binaries than
before. So far we're seeing output sizes that are roughly the same
(sometimes a bit better, sometimes a bit worse) as the status quo.
We've not specifically looked at decompression yet, mostly because we
could not come up with a good command to benchmark. In general zlib-rs
is much faster than stock zlib there too.
### Additional information
For the time being, `cargo` still depends on stock zlib via e.g. `curl`
and `git`. As far as I know it is the intention to eventually move away
from these C dependencies, at which point the dependency on stock zlib
also disappears.
2025-04-15 15:18:42 +00:00
Eric Huss
c6b777deaf
chore(deps): update rust crate gix to 0.71.0 [security] ( #15391 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [gix](https://redirect.github.com/GitoxideLabs/gitoxide ) |
workspace.dependencies | minor | `0.70.0` -> `0.71.0` |
### GitHub Vulnerability Alerts
####
[CVE-2025-31130](https://redirect.github.com/GitoxideLabs/gitoxide/security/advisories/GHSA-2frx-2596-x5r6 )
### Summary
gitoxide uses SHA-1 hash implementations without any collision
detection, leaving it vulnerable to hash collision attacks.
### Details
gitoxide uses the `sha1_smol` or `sha1` crate, both of which implement
standard SHA-1 without any mitigations for collision attacks. This means
that two distinct Git objects with colliding SHA-1 hashes would break
the Git object model and integrity checks when used with gitoxide.
The SHA-1 function is considered cryptographically insecure. However, in
the wake of the SHAttered attacks, this issue was mitigated in Git
2.13.0 in 2017 by using the
[sha1collisiondetection](https://redirect.github.com/crmarcstevens/sha1collisiondetection )
algorithm by default and producing an error when known SHA-1 collisions
are detected. Git is in the process of migrating to using SHA-256 for
object hashes, but this has not been rolled out widely yet and gitoxide
does not support SHA-256 object hashes.
### PoC
The following program demonstrates the problem, using the two [SHAttered
PDFs](https://shattered.io/ ):
```rust
use sha1_checked::{CollisionResult, Digest};
fn sha1_oid_of_file(filename: &str) -> gix::ObjectId {
let mut hasher = gix::features:#️⃣ :hasher(gix:#️⃣ :Kind::Sha1);
hasher.update(&std::fs::read(filename).unwrap());
gix::ObjectId::Sha1(hasher.digest())
}
fn sha1dc_oid_of_file(filename: &str) -> Result<gix::ObjectId, String> {
// Matches Git’s behaviour.
let mut hasher = sha1_checked::Builder::default().safe_hash(false).build();
hasher.update(&std::fs::read(filename).unwrap());
match hasher.try_finalize() {
CollisionResult::Ok(digest) => Ok(gix::ObjectId::Sha1(digest.into())),
CollisionResult::Mitigated(_) => unreachable!(),
CollisionResult::Collision(digest) => Err(format!(
"Collision attack: {}",
gix::ObjectId::Sha1(digest.into()).to_hex()
)),
}
}
fn main() {
dbg!(sha1_oid_of_file("shattered-1.pdf"));
dbg!(sha1_oid_of_file("shattered-2.pdf"));
dbg!(sha1dc_oid_of_file("shattered-1.pdf"));
dbg!(sha1dc_oid_of_file("shattered-2.pdf"));
}
```
The output is as follows:
```
[src/main.rs:24:5] sha1_oid_of_file("shattered-1.pdf") = Sha1(38762cf7f55934b34d179ae6a4c80cadccbb7f0a)
[src/main.rs:25:5] sha1_oid_of_file("shattered-2.pdf") = Sha1(38762cf7f55934b34d179ae6a4c80cadccbb7f0a)
[src/main.rs:26:5] sha1dc_oid_of_file("shattered-1.pdf") = Err(
"Collision attack: 38762cf7f55934b34d179ae6a4c80cadccbb7f0a",
)
[src/main.rs:27:5] sha1dc_oid_of_file("shattered-2.pdf") = Err(
"Collision attack: 38762cf7f55934b34d179ae6a4c80cadccbb7f0a",
)
```
The latter behaviour matches Git.
Since the SHAttered PDFs are not in a valid format for Git objects, a
direct proof‐of‐concept using higher‐level APIs cannot be immediately
demonstrated without significant computational resources.
### Impact
An attacker with the ability to mount a collision attack on SHA-1 like
the [SHAttered](https://shattered.io/ ) or [SHA-1 is a
Shambles](https://sha-mbles.github.io/ ) attacks could create two
distinct Git objects with the same hash. This is becoming increasingly
affordable for well‐resourced attackers, with the Shambles researchers
in 2020 estimating $45k for a chosen‐prefix collision or $11k for a
classical collision, and projecting less than $10k for a chosen‐prefix
collision by 2025. The result could be used to disguise malicious
repository contents, or potentially exploit assumptions in the logic of
programs using gitoxide to cause further vulnerabilities.
This vulnerability affects any user of gitoxide, including `gix-*`
library crates, that reads or writes Git objects.
---
### Release Notes
<details>
<summary>GitoxideLabs/gitoxide (gix)</summary>
###
[`v0.71.0`](https://redirect.github.com/GitoxideLabs/gitoxide/releases/tag/gix-v0.71.0 ):
gix v0.71.0
[Compare
Source](https://redirect.github.com/GitoxideLabs/gitoxide/compare/gix-v0.70.0...gix-v0.71.0 )
##### Changed
- read config losslessly even without `debug_assertions`
This should hopefully not be a breaking change, as the same code
could produce the same behaviour if compiled with different flags,
and the semantic meaning of the resulting configuration should be
the same. But Hyrum’s law is always lurking…
##### Documentation
- specify ThreadSafeRepository is not Send/Sync without "parallel"
##### New Features
- add `Repository::checkout_options()`.
It's a low-level set of options to drive (quite unsafe) checkouts.
They are unsafe as they may be configured to overwrite, and are in no
way similar to `git checkout`.
- add `Repository::head_tree_id_or_empty()` for convenience.
- add `Repository::workdir_path()` to easily obtain a `Path` for
worktree items.
- add `Repository::workdir()` as replacement for
`Repository::work_dir()`.
Keep the latter as deprecated though.
- `filter::Pipeline::worktree_file_to_object()` now can add `Commit`
type objects.
- add `filter::Pipeline::worktree_file_to_object()`.
That way it's easier to correctly add whole files into the object
database.
- make internal `repo` fields public for ease of use.
That way, functions or methods taking such a type as argument
have access to the underlying repository so it doesn't need
to be passed as separate argument.
- add
`blob::platform::Resource::intern_source_strip_newline_separators()`
That way it will be easier to have typical Git-style patches diffs
around
files that don't end with a newline.
- add `Repository::big_file_threshold()` to easily learn what Git
considers a big file.
##### Bug Fixes
- Don't panic when rev-parsing `^^^` and similar
- `filter::Pipeline::convert_to_git()` now also works on Windows under
all circumstances.
- assure `Repository::commit_as()` also uses the committer for reflogs
Previously it would retrieve the configured committer, or trigger an
error
if there was none despite the commiter being provided to `commit_as()`.
This als adds `Repository::edit_references_as(committer)` to allow
passing
a given committer.
##### Other
- <csr-id-866affde8ef17f201884b8a4b36cc4c7f449d6fe/>
`Repository::commit()` now explains how to create a commit without ref
updates.
##### Changed (BREAKING)
- drop obsolete SHA‐1 features
The hashing API has moved to `gix_hash::hasher`, and we now use
`sha1-checked` unconditionally.
##### Bug Fixes (BREAKING)
- make clear what `with_pruned()` is doing by renaming it to
`with_boundary()`.
This is how it acts, and it's not at all the same as `hide()` in `git2`.
##### Commit Statistics
- 57 commits contributed to the release.
- 17 commits were understood as
[conventional](https://www.conventionalcommits.org ).
- 2 unique issues were worked on:
[#​1829](https://redirect.github.com/GitoxideLabs/gitoxide/issues/1829 ),
[#​1914](https://redirect.github.com/GitoxideLabs/gitoxide/issues/1914 )
##### Thanks Clippy
[Clippy](https://redirect.github.com/rust-lang/rust-clippy ) helped 1
time to make code idiomatic.
##### Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
-
**[#​1829](https://redirect.github.com/GitoxideLabs/gitoxide/issues/1829 )**
- Assure `Repository::commit_as()` also uses the committer for reflogs
([`9bec947`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/9bec947 ))
-
**[#​1914](https://redirect.github.com/GitoxideLabs/gitoxide/issues/1914 )**
- Don't panic when rev-parsing `^^^` and similar
([`aa8daf8`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/aa8daf8 ))
- **Uncategorized**
- Release gix-sec v0.10.12, gix-config v0.44.0, gix-prompt v0.10.0,
gix-url v0.30.0, gix-credentials v0.28.0, gix-discover v0.39.0, gix-dir
v0.13.0, gix-mailmap v0.26.0, gix-revision v0.33.0, gix-merge v0.4.0,
gix-negotiate v0.19.0, gix-pack v0.58.0, gix-odb v0.68.0, gix-refspec
v0.29.0, gix-shallow v0.3.0, gix-packetline v0.18.4, gix-transport
v0.46.0, gix-protocol v0.49.0, gix-status v0.18.0, gix-submodule
v0.18.0, gix-worktree-state v0.18.0, gix v0.71.0, gix-fsck v0.10.0,
gitoxide-core v0.46.0, gitoxide v0.42.0
([`ada5a94`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/ada5a94 ))
- Release gix-date v0.9.4, gix-utils v0.2.0, gix-actor v0.34.0,
gix-features v0.41.0, gix-hash v0.17.0, gix-hashtable v0.8.0, gix-path
v0.10.15, gix-validate v0.9.4, gix-object v0.48.0, gix-glob v0.19.0,
gix-quote v0.5.0, gix-attributes v0.25.0, gix-command v0.5.0,
gix-packetline-blocking v0.18.3, gix-filter v0.18.0, gix-fs v0.14.0,
gix-commitgraph v0.27.0, gix-revwalk v0.19.0, gix-traverse v0.45.0,
gix-worktree-stream v0.20.0, gix-archive v0.20.0, gix-tempfile v17.0.0,
gix-lock v17.0.0, gix-index v0.39.0, gix-config-value v0.14.12,
gix-pathspec v0.10.0, gix-ignore v0.14.0, gix-worktree v0.40.0, gix-diff
v0.51.0, gix-blame v0.1.0, gix-ref v0.51.0, gix-config v0.44.0,
gix-prompt v0.10.0, gix-url v0.30.0, gix-credentials v0.28.0,
gix-discover v0.39.0, gix-dir v0.13.0, gix-mailmap v0.26.0, gix-revision
v0.33.0, gix-merge v0.4.0, gix-negotiate v0.19.0, gix-pack v0.58.0,
gix-odb v0.68.0, gix-refspec v0.29.0, gix-shallow v0.3.0, gix-packetline
v0.18.4, gix-transport v0.46.0, gix-protocol v0.49.0, gix-status
v0.18.0, gix-submodule v0.18.0, gix-worktree-state v0.18.0, gix v0.71.0,
gix-fsck v0.10.0, gitoxide-core v0.46.0, gitoxide v0.42.0, safety bump
48 crates
([`b41312b`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/b41312b ))
- Update changelogs prior to release
([`38dff41`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/38dff41 ))
- Merge pull request
[#​1915](https://redirect.github.com/GitoxideLabs/gitoxide/issues/1915 )
from emilazy/push-qvyqmopsoltr
([`4660f7a`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/4660f7a ))
- Migrate `gix_object::{try_ =>}compute_hash` users
([`3d7e379`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/3d7e379 ))
- Migrate hashing API users to fallible versions
([`fbf6cc8`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/fbf6cc8 ))
- Drop obsolete SHA‐1 features
([`fd12ef8`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/fd12ef8 ))
- Merge pull request
[#​1851](https://redirect.github.com/GitoxideLabs/gitoxide/issues/1851 )
from GitoxideLabs/fix-1850
([`cd96b64`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/cd96b64 ))
- Adapt to changes in `gix-features`
([`5f8bff8`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/5f8bff8 ))
- Merge pull request
[#​1916](https://redirect.github.com/GitoxideLabs/gitoxide/issues/1916 )
from GitoxideLabs/fix-1914
([`32b54b3`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/32b54b3 ))
- Merge pull request
[#​1909](https://redirect.github.com/GitoxideLabs/gitoxide/issues/1909 )
from cruessler/take-to-components-in-fs-stack
([`5cb5337`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/5cb5337 ))
- Use `gix_fs::stack::ToNormalPathComponents` everywhere.
([`1f98edb`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/1f98edb ))
- Update MSRV to 1.75 for access to `impl` returns in traits.
([`569c186`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/569c186 ))
- Merge pull request
[#​1911](https://redirect.github.com/GitoxideLabs/gitoxide/issues/1911 )
from GitoxideLabs/improvements
([`bfa3253`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/bfa3253 ))
- `filter::Pipeline::convert_to_git()` now also works on Windows under
all circumstances.
([`dcdb8ea`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/dcdb8ea ))
- Merge pull request
[#​1907](https://redirect.github.com/GitoxideLabs/gitoxide/issues/1907 )
from EliahKagan/run-ci/raw
([`7b17da6`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/7b17da6 ))
- Drop trailing `,` just before `)` on same line in function calls
([`66a5ae1`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/66a5ae1 ))
- Use raw literals for more strings with backslashes
([`01bd76d`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/01bd76d ))
- Merge pull request
[#​1898](https://redirect.github.com/GitoxideLabs/gitoxide/issues/1898 )
from GitoxideLabs/improvements
([`7255a5f`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/7255a5f ))
- Improve documentation of a field that one can easily get wrong
otherwise.
([`5a1b3d6`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/5a1b3d6 ))
- Merge pull request
[#​1873](https://redirect.github.com/GitoxideLabs/gitoxide/issues/1873 )
from NobodyXu/zlib-rs
([`316f113`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/316f113 ))
- Review adjustments for zlib-rs support.
([`5e618b6`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/5e618b6 ))
- Add new feature zlib-rs
([`8b1b55c`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/8b1b55c ))
- Revert "Instrument make_remote_repos.sh to view `config` corruption"
([`9061fc4`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/9061fc4 ))
- Instrument make_remote_repos.sh to view `config` corruption
([`d290ad9`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/d290ad9 ))
- Merge pull request
[#​1884](https://redirect.github.com/GitoxideLabs/gitoxide/issues/1884 )
from GitoxideLabs/improvements
([`0bf1d5b`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/0bf1d5b ))
- Merge pull request
[#​1876](https://redirect.github.com/GitoxideLabs/gitoxide/issues/1876 )
from joshtriplett/fix-tests-in-environments-with-env-variables-set
([`dc8bd63`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/dc8bd63 ))
- Fix tests when `GIT_AUTHOR_NAME` or `GIT_COMMITTER_NAME` are set
([`94dda22`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/94dda22 ))
- Add `Repository::checkout_options()`.
([`5054780`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/5054780 ))
- Add `Repository::head_tree_id_or_empty()` for convenience.
([`02878c9`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/02878c9 ))
- Add `Repository::workdir_path()` to easily obtain a `Path` for
worktree items.
([`776f9be`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/776f9be ))
- Add `Repository::workdir()` as replacement for
`Repository::work_dir()`.
([`518fbbc`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/518fbbc ))
- Merge pull request
[#​1882](https://redirect.github.com/GitoxideLabs/gitoxide/issues/1882 )
from emilazy/push-ylwwuwymlmwt
([`10e41ee`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/10e41ee ))
- Fix cargo-deny using a prodash-update and ignore directive
([`cf7f34d`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/cf7f34d ))
- Read config losslessly even without `debug_assertions`
([`9800e9c`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/9800e9c ))
- Merge pull request
[#​1854](https://redirect.github.com/GitoxideLabs/gitoxide/issues/1854 )
from GitoxideLabs/montly-report
([`16a248b`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/16a248b ))
- Thanks clippy
([`8e96ed3`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/8e96ed3 ))
- Merge pull request
[#​1837](https://redirect.github.com/GitoxideLabs/gitoxide/issues/1837 )
from GitoxideLabs/improvements
([`b4fe425`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/b4fe425 ))
- `Repository::commit()` now explains how to create a commit without ref
updates.
([`866affd`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/866affd ))
- Merge pull request
[#​1835](https://redirect.github.com/GitoxideLabs/gitoxide/issues/1835 )
from GitoxideLabs/fixes
([`503098d`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/503098d ))
- Merge pull request
[#​1834](https://redirect.github.com/GitoxideLabs/gitoxide/issues/1834 )
from GitoxideLabs/improvements
([`5c327bb`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/5c327bb ))
- `filter::Pipeline::worktree_file_to_object()` now can add `Commit`
type objects.
([`27e62d7`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/27e62d7 ))
- Merge pull request
[#​1833](https://redirect.github.com/GitoxideLabs/gitoxide/issues/1833 )
from GitoxideLabs/improvements
([`c042813`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/c042813 ))
- Add `filter::Pipeline::worktree_file_to_object()`.
([`70ebd5f`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/70ebd5f ))
- Make internal `repo` fields public for ease of use.
([`23d2bed`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/23d2bed ))
- Merge pull request
[#​1821](https://redirect.github.com/GitoxideLabs/gitoxide/issues/1821 )
from GitoxideLabs/improvements
([`914bf28`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/914bf28 ))
- Add
`blob::platform::Resource::intern_source_strip_newline_separators()`
([`37582b0`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/37582b0 ))
- Merge pull request
[#​1820](https://redirect.github.com/GitoxideLabs/gitoxide/issues/1820 )
from GitoxideLabs/improvements
([`daa6d4a`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/daa6d4a ))
- Make clear what `with_pruned()` is doing by renaming it to
`with_boundary()`.
([`b78e7dd`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/b78e7dd ))
- Merge pull request
[#​1807](https://redirect.github.com/GitoxideLabs/gitoxide/issues/1807 )
from bryceberger/bryce/push-xqrmpyoxlosq
([`79cb655`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/79cb655 ))
- Refactor
([`d7ddbb7`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/d7ddbb7 ))
- Specify ThreadSafeRepository is not Send/Sync without "parallel"
([`687322b`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/687322b ))
- Merge pull request
[#​1785](https://redirect.github.com/GitoxideLabs/gitoxide/issues/1785 )
from GitoxideLabs/improvements
([`1a69c40`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/1a69c40 ))
- Add `Repository::big_file_threshold()` to easily learn what Git
considers a big file.
([`f3257f3`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/f3257f3 ))
- Merge pull request
[#​1778](https://redirect.github.com/GitoxideLabs/gitoxide/issues/1778 )
from GitoxideLabs/new-release
([`8df0db2`](https://redirect.github.com/GitoxideLabs/gitoxide/commit/8df0db2 ))
</details>
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "" (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:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMjcuMyIsInVwZGF0ZWRJblZlciI6IjM5LjIyNy4zIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->
2025-04-12 15:50:16 +00:00
Ed Page
2ce0898758
chore: Bump build-rs version
2025-04-11 15:04:23 -05:00
Eric Huss
2253485048
Set gix-transport/http-client-insecure-credentials while testing
...
This is needed because some tests send HTTP auth headers, and by default
gix will refuse to do that over an insecure channel.
2025-04-11 08:42:09 -07:00
Folkert de Vries
97f6819d32
use zlib-rs
for gzip compression in rust code
...
Various C dependencies (curl, git) still rely on `libz-sys`, so for the time being a system libc is still required. But, using zlib-rs via flate2 is straightforward, and gives good speedup for `cargo package`. It is also extremely portable, because it's just rust code.
2025-04-10 18:02:51 +02:00
Scott Schafer
df915190e3
chore: Bump cargo-util-schemas to 0.8.2
2025-04-04 22:54:51 -06:00
Scott Schafer
8855150d30
chore: Bump cargo-util-schemas to 0.8.1
2025-04-04 22:45:21 -06:00
Scott Schafer
66991b5a33
chore: Bump cargo-util-schemas to 0.8.0
2025-04-04 22:44:24 -06:00
dependabot[bot]
19fa740c79
chore(deps): bump openssl from 0.10.71 to 0.10.72
...
Bumps [openssl](https://github.com/sfackler/rust-openssl ) from 0.10.71 to 0.10.72.
- [Release notes](https://github.com/sfackler/rust-openssl/releases )
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.71...openssl-v0.10.72 )
---
updated-dependencies:
- dependency-name: openssl
dependency-version: 0.10.72
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-04-04 20:55:34 +00:00
renovate[bot]
333aa65691
chore(deps): update rust crate gix to 0.71.0 [security]
2025-04-04 19:26:45 +00:00
renovate[bot]
fc88578277
chore(deps): update msrv (1 version) to v1.86
2025-04-03 12:07:38 +00:00
renovate[bot]
3a0bd02bb3
chore(deps): update rust crate rusqlite to 0.34.0
2025-04-01 00:23:40 +00:00
Weihang Lo
bf43378697
chore: bump to 0.89.0
2025-03-31 10:52:24 -07:00
Ossi Herrala
514057ffb4
Replace unmaintained humantime crate with jiff
2025-03-10 22:34:17 +02:00
Josh Stone
b14ecb0eb6
Upgrade to rustc-stable-hash v0.1.2
2025-03-05 10:05:03 -08:00
renovate[bot]
3ac95b1622
chore(deps): update rust crate pulldown-cmark to 0.13.0
2025-03-01 02:03:12 +00:00
Weihang Lo
8f1122defb
refactor: use HumanBytes instead
...
This removes one dependency bytesize as it hasn't yet support
controlling precision throught format options.
2025-02-28 08:56:28 -05:00
Weihang Lo
df31681316
chore: bump openssl to v3
2025-02-25 11:45:41 -05:00
Weihang Lo
e0ad2373a7
chore: depend on openssl-sys to correctly pin its version
2025-02-23 00:43:01 -05:00
renovate[bot]
9c26bf0edf
chore(deps): update msrv (3 versions) to v1.83
2025-02-21 14:54:48 +00:00
Ed Page
b4dee5dcf9
chore: Bump versions
2025-02-20 15:47:07 -06:00
renovate[bot]
c30d4f9293
chore(deps): update msrv (1 version) to v1.85
2025-02-20 19:37:56 +00:00
Weihang Lo
1ec88b3b03
chore: bump to 0.88.0
2025-02-19 00:02:15 -05:00
Eric Huss
3948fa5e15
Update all dependencies
2025-02-09 15:50:36 -08:00