Installation
haddock-restraints
is a Rust command-line tool. You can either download the pre-compiled binary, download from the Rust package manager or build it from source.
Download
Get a pre-compiled binary for your system at the link below:
Build from Cargo
To install the tool using Cargo, you need to have the Rust toolchain installed on your system. You can install Rust by following the instructions on the official website.
cargo install haddock-restraints
Now it should be available in your system. You can check if it is installed by running:
haddock-restraints -h
From source
If you prefer to install it from source, you can clone the repository and build it using Cargo:
git clone https://github.com/haddocking/haddock-restraints
cd haddock-restraints
cargo build --release
Go ahead and proceed to the USAGE section to learn how to use the tool.