add optimization stuff to azalea docs

This commit is contained in:
mat 2022-11-11 21:55:47 -06:00
parent 3530faea4e
commit e6db7d5f2f

View file

@ -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