Skip to content

Commit

Permalink
docs: cargo install cargo expand: Recommend --version
Browse files Browse the repository at this point in the history
Fixes eupn#90.
  • Loading branch information
ijackson committed Mar 30, 2024
1 parent 2cab095 commit 81e6a1b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,13 @@
//! cargo install --locked cargo-expand
//! ```
//!
//! (In CI, you'll want to pin to a particular version,
//! since
//! [cargo expand's output is not stable across versions](https://github.com/dtolnay/cargo-expand/issues/179).
//! Look up the
//! [current version](https://crates.io/crates/cargo-expand)
//! and do something like `cargo install --locked --version 1.0.81 cargo-expand`.)
//!
//! ## Setting up a test project
//!
//! In your crate that provides procedural or declarative macros, under the `tests` directory,
Expand Down

0 comments on commit 81e6a1b

Please sign in to comment.