the home of the rust website
- This is a Rocket app, which means we use the
nightlychannel of Rust. We use a specific nightly version to ensure consistent builds locally and on the server, and the version is defined in therust-toolchainfile.rustupwill automatically download that nightly for you when you run a cargo command. - Install
cargo watchby runningcargo install cargo-watchin your terminal. - To build the app and run the server, run
cargo watch -x runin your terminal. - Navigate to http://localhost:7878 in your browser. If you make any updates to the styles, or any other project files,
cargo watchwill automatically restart the server for you, all you have to do is refresh your browser to see your changes.
- If you would like to edit styles, you should edit
src/styles/app.scss. - If you would like to update group data, you should edit the
ymlfiles insrc/data/. - If you would like to edit page content, you should edit the
hbsfiles intemplates.
Please read our CONTRIBUTING.md before submitting a PR!