diff --git a/azalea/src/lib.rs b/azalea/src/lib.rs index b2d54d63..8287ea1b 100644 --- a/azalea/src/lib.rs +++ b/azalea/src/lib.rs @@ -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