Skip to content

Commit b1427c6

Browse files
authored
Disable rand_pcg's dev dependency on rand (#1397)
The circular dependency prevents publishing
1 parent 5577003 commit b1427c6

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

rand_pcg/Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ rand_core = { path = "../rand_core", version = "=0.9.0-alpha.0" }
2626
serde = { version = "1", features = ["derive"], optional = true }
2727

2828
[dev-dependencies]
29-
rand = { path = "..", version = "=0.9.0-alpha.0" }
3029
# This is for testing serde, unfortunately we can't specify feature-gated dev
3130
# deps yet, see: https://github.com/rust-lang/cargo/issues/1596
3231
# Versions prior to 1.1.4 had incorrect minimal dependencies.

rand_pcg/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
//! The functionality of this crate is implemented using traits from the `rand_core` crate, but you may use the `rand`
4444
//! crate for further functionality to initialize the generator from various sources and to generate random values:
4545
//!
46-
//! ```
46+
//! ```ignore
4747
//! use rand::{Rng, SeedableRng};
4848
//! use rand_pcg::Pcg64Mcg;
4949
//!

0 commit comments

Comments
 (0)