Lab preparation
Let's go through the steps to get started in circuit creation. We just need to create a rust repo (don't forget to ensure you are using the nightly toolchain) and add the relevant dependencies to the cargo.toml
file
Open your code editor and go to folder where you will want to create your repo, then in the terminal you can run
cargo init repo_name
Now you will have a repo with a
cargo.toml
file and a src folder (with a main file in it)In the
cargo.toml
file, copy in the dependencies and dev-dependencies in the code block belowNow your repo is ready to go, all other relevant code will be provided along the way in the labs
These dependencies may change over time due to breaking changes - if they do not work then check the github tutorial code to see if they match. If they don't match then try the dependencies from github (if those don't work then you might have to debug yourself...)
Another thing to check is the nightly version you are using, there is a rust-toolchain file in the repo too.
Last updated