Skip to content

Commit

Permalink
Disable rand_pcg's dev dependency on rand (#1397)
Browse files Browse the repository at this point in the history
The circular dependency prevents publishing
  • Loading branch information
dhardy authored Feb 18, 2024
1 parent 5577003 commit b1427c6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion rand_pcg/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ rand_core = { path = "../rand_core", version = "=0.9.0-alpha.0" }
serde = { version = "1", features = ["derive"], optional = true }

[dev-dependencies]
rand = { path = "..", version = "=0.9.0-alpha.0" }
# This is for testing serde, unfortunately we can't specify feature-gated dev
# deps yet, see: https://github.com/rust-lang/cargo/issues/1596
# Versions prior to 1.1.4 had incorrect minimal dependencies.
Expand Down
2 changes: 1 addition & 1 deletion rand_pcg/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
//! The functionality of this crate is implemented using traits from the `rand_core` crate, but you may use the `rand`
//! crate for further functionality to initialize the generator from various sources and to generate random values:
//!
//! ```
//! ```ignore
//! use rand::{Rng, SeedableRng};
//! use rand_pcg::Pcg64Mcg;
//!
Expand Down

0 comments on commit b1427c6

Please sign in to comment.