Configuration
- Create a new Rust project
- Do
cargo add rusty_engine
to add the latest version of Rusty Engine to the[dependencies]
section of yourCargo.toml
. It should add a line that looks something like this:
# In your [dependencies] section of Cargo.toml
rusty_engine = "6.0.0"
(Optional) Make dev
profile act like release
If you don't want to have remember to constantly add --release
to your cargo build
and cargo run
commands, you can add this config section to your Cargo.toml
to make your dev
profile act like the release
profile:
[profile.dev]
opt-level = 3
debug = false
debug-assertions = false
overflow-checks = false
incremental = false
codegen-units = 16