Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
- uses: ./.github/actions/setup-rust
with:
components: clippy
toolchain: 1.92.0 # MSRV, Minimally Supported Rust Version. Make sure to update README.md and clippy.toml
toolchain: 1.85.0 # MSRV, Minimally Supported Rust Version. Make sure to update README.md and clippy.toml
- name: Run clippy
run: cargo clippy --locked --all-targets --all-features --workspace -- -D warnings
test:
Expand Down
8 changes: 4 additions & 4 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ include = [
"README.md",
"assets/*",
]
rust-version = "1.92.0"
rust-version = "1.85.0"

[features]
default = []
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ $ QEMU_STRACE=1 cross run --target aarch64-unknown-linux-gnu

## Minimum Supported Rust Version (MSRV)

This crate is guaranteed to compile on stable Rust 1.92.0 and up. It *might*
This crate is guaranteed to compile on stable Rust 1.85.0 and up. It *might*
compile with older versions but that may change in any new patch release.

Some cross-compilation targets require a later Rust version, and using Xargo
Expand Down
1 change: 0 additions & 1 deletion clippy.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ disallowed-methods = [
{ path = "std::path::Path::display", reason = "incorrect handling of non-Unicode paths, use path.to_utf8() or debug (`{path:?}`) instead" },
]
allow-unwrap-in-tests = true
msrv = "1.92.0"
4 changes: 4 additions & 0 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ version = 2
[bans]
multiple-versions = "deny"
deny = []
skip = [
# home v0.5.11
{ name = "windows-sys", version = "0.59.0" },
]
skip-tree = [
{ name = "supports-color", depth = 1, version = "2.1.0", reason = "owo-colors pulls in two versions of supports-color" },
]
Expand Down
2 changes: 1 addition & 1 deletion src/docker/remote.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ pub fn posix_parent(path: &str) -> Option<&str> {
Path::new(path).parent()?.to_str()
}

impl<'a, 'b, 'c> ContainerDataVolume<'a, 'b, 'c> {
impl ContainerDataVolume<'_, '_, '_> {
// NOTE: `reldir` should be a relative POSIX path to the root directory
// on windows, this should be something like `mnt/c`. that is, all paths
// inside the container should not have the mount prefix.
Expand Down
2 changes: 1 addition & 1 deletion src/extensions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ impl CommandExt for Command {
) -> String {
// a dummy implementor of display to avoid using unwraps
struct C<'c, 'd, F>(&'c Command, &'d mut MessageInfo, F);
impl<'e, 'f, F> std::fmt::Display for C<'e, 'f, F>
impl<F> std::fmt::Display for C<'_, '_, F>
where
F: for<'a> Fn(&'a str) -> bool,
{
Expand Down
Loading