Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rust dependency cleanups and minimum requirements #336

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
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
69 changes: 5 additions & 64 deletions Cargo.lock

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

7 changes: 3 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,15 @@ fuse = []
log = { version = "0.4", features = ["std"] }
clap = { version = "4.0.32", features = ["derive", "wrap_help"] }
clap_complete = "4.3.2"
anyhow = "1.0"
anyhow = "1.0.1"
libc = "0.2.69"
udev = "0.7.0"
uuid = "1.2.2"
errno = "0.2"
errno = "0.3"
either = "1.5"
bch_bindgen = { path = "bch_bindgen" }
strum = { version = "0.26", features = ["derive"] }
strum_macros = "0.26"
zeroize = { version = "1", features = ["std", "zeroize_derive"] }
zeroize = { version = "1.5.5", features = ["std", "zeroize_derive"] }
rustix = { version = "0.38.34", features = ["termios"] }
owo-colors = "4"

Expand Down
6 changes: 3 additions & 3 deletions bch_bindgen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ crate-type = ["lib"]
anyhow = "1.0"
uuid = "1.2.2"
bitfield = "0.14.0"
bitflags = "1.3.2"
bitflags = "2"
paste = "1.0.11"

[build-dependencies]
pkg-config = "0.3"
bindgen = "0.69.4"
pkg-config = "0.3.7"
bindgen = "0.69.5"
4 changes: 2 additions & 2 deletions bch_bindgen/src/btree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ impl<'t> BtreeIter<'t> {
iter.as_mut_ptr(),
btree,
pos,
flags.bits as u32,
flags.bits().into(),
);

BtreeIter {
Expand Down Expand Up @@ -156,7 +156,7 @@ impl<'t> BtreeNodeIter<'t> {
pos,
locks_want,
depth,
flags.bits as u32,
flags.bits().into(),
);

BtreeNodeIter {
Expand Down