mirror of
https://github.com/mat-1/azalea.git
synced 2024-09-19 22:52:32 +00:00
add optimization stuff to azalea docs
This commit is contained in:
parent
3530faea4e
commit
e6db7d5f2f
1 changed files with 15 additions and 1 deletions
|
@ -11,12 +11,26 @@
|
|||
//! default nightly`.
|
||||
//!
|
||||
//! Then, add one of the following lines to your Cargo.toml:
|
||||
//!
|
||||
//!
|
||||
//! Latest bleeding-edge version:
|
||||
//! `azalea = { git="https://github.com/mat-1/Cargo.toml" }`\
|
||||
//! Latest "stable" release:
|
||||
//! `azalea = "0.3"`
|
||||
//!
|
||||
//! # Optimization
|
||||
//!
|
||||
//! For faster compile times, make a .cargo/config.toml file in your project
|
||||
//! and copy
|
||||
//! [this file](https://github.com/mat-1/azalea/blob/main/.cargo/config.toml)
|
||||
//! into it.
|
||||
//!
|
||||
//! For faster performance in debug mode, add
|
||||
//! ```toml
|
||||
//! [profile.dev.package.*]
|
||||
//! opt-level = 3
|
||||
//! ```
|
||||
//! to your Cargo.toml.
|
||||
//!
|
||||
//! # Examples
|
||||
//!
|
||||
//! ```rust,no_run
|
||||
|
|
Loading…
Reference in a new issue