This documents and enforces minimum requirements for C library
dependencies. At the moment versions were picked from debian bookworm
(debian stable since 2023-06), except blkid (util-linux) where 2.40.1
is required:
https://github.com/koverstreet/bcachefs-tools/pull/347
libaio is excluded because it doesn't provide a pkg-config file.
Also remove libscrypt from debian/control since we use the libsodium
implementation.
Signed-off-by: Gabriel de Perthuis <g2p.code@gmail.com>
This moves the Rust sources out of rust_src/ and into the top level.
Running the bcachefs executable out of the development tree is now:
$ ./target/release/bcachefs command
or
$ cargo run --profile release -- command
instead of "./bcachefs command".
Building and installing is still:
$ make && make install
Signed-off-by: Thomas Bertschinger <tahbertschinger@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>