If you check out and then try to build the hardhat examples, it fails:
james@gig ~/git/ethcontract-rs/examples/hardhat (main)$ yarn run build
yarn run v1.22.4
$ hardhat compile
/bin/sh: 1: hardhat: not found
error Command failed with exit code 127.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.