in reply to Matt Campbell

my impression is that it is more that the rust dependency handling is incompatible with how Debian wants to handle dependencies. Note that this is true for go, JS, ... just as well.

In the bcachefs case they built against *newer* dependencies than those the tool had set in their Cargo.toml.

I doubt you need to worry with accesskit: Debian will pick a version and never update that again anyway.

in reply to Matt Campbell

Keep the MSRV low, that is about as much as you can do. At least the rustc the distros pick might still work then.

Distribution will force whichever version of dependencies they picked anyway... whether or not that causes the whole thing to crash or not.

I started to use `cargo install --locked` to make sure to get the binaries the devs tested and not some random crap mutilated by some distribution packager with no clue about rust or programming.

in reply to Matt Campbell

no he didn't. The version bcachefs-tools that has been shipping for 2 years in Debian stable is broken. Straight up does not work. There was a bug in bindgen 0.66 that makes it not work. So bcachefs first vendored a fixed version, and then updated to 0.69 which was fixed. The Debian maintainer decided to compile with 0.66 anyway, and didn't even test to see if it would work.