You can build and test the code with cargo command.
If you want to build for only bytes <-> Bencodex:
cargo build
If you want to build JSON feature too:
cargo build --features JSON
If you want to build JSON CLI tool too:
cargo build --features json-cli
If you want to test:
cargo test --features test
If you want to test JSON-related tests too:
cargo test --features test,json
cargo fmt
cargo clippy