Skip to content

Commit

Permalink
Start using loopdev-erikh instead of loopdev
Browse files Browse the repository at this point in the history
The loopdev maintainer seems unable to maintain, but also has not
transferred ownership, so this fork may be the best current choice.

Signed-off-by: mulhern <[email protected]>
  • Loading branch information
mulkieran committed Nov 27, 2023
1 parent 3d482fb commit c0a9985
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 16 deletions.
39 changes: 30 additions & 9 deletions Cargo.lock

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

7 changes: 1 addition & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ optional = true
[dev-dependencies]
assert_cmd = "2.0.8"
assert_matches = "1.5.0"
loopdev = "0.4.0"
loopdev-erikh = "0.5.0"
predicates = "3.0.0"
proptest = "1.0.0"

Expand Down Expand Up @@ -273,11 +273,6 @@ min = ["termios"]
systemd_compat = ["bindgen"]
udev_scripts = ["data-encoding"]

# FIXME: remove when loopdev dependency lower bound is increased from 0.4.0
[patch.crates-io.loopdev]
git = "https://github.com/mulkieran/loopdev"
branch = "bump-bindgen-reduce-version-0.68.1"

[package.metadata.vendor-filter]
platforms = ["*-unknown-linux-gnu"]
tier = "2"
Expand Down
2 changes: 1 addition & 1 deletion src/engine/strat_engine/tests/loopbacked.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use std::{
sync::Once,
};

use loopdev::{LoopControl, LoopDevice};
use loopdev_erikh::{LoopControl, LoopDevice};

use devicemapper::{Bytes, Sectors, IEC};

Expand Down

0 comments on commit c0a9985

Please sign in to comment.