This repository demonstrates how to use rules_rust
to build projects that depend on -sys
crates.
-sys
crates provide low-level bindings to native libraries, allowing Rust code to interact with C libraries through the Foreign Function Interface (FFI). For more details, see the Rust FFI documentation or the Rust-bindgen project.
This workspace includes:
bzip2-sys
to interface with the bzip2
compression library.libgit2-sys
to interact with the libgit2
library.