Seamlessly build Cargo packages with Buck2.
cargo install --git https://github.com/r2cn-dev/cargo-buckal.git
Usage: cargo buckal <COMMAND>
Commands:
build Compile the current package
init Create a new package in an existing directory
new Create a new package
clean Clean up the buck-out directory
add Add dependencies to a manifest file
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
You can configure cargo-buckal by creating a configuration file at ~/.config/buckal/config.toml
.
If you have buck2 installed in a custom location, you can specify the path:
buck2_binary = "/path/to/your/buck2"
If no configuration file exists, cargo-buckal will use buck2
(searches your PATH).