aboutsummaryrefslogtreecommitdiff
path: root/azalea/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea/src/lib.rs')
-rw-r--r--azalea/src/lib.rs16
1 files changed, 15 insertions, 1 deletions
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