From 0f26dfc0ce24ba971d408dbdd4ec4b51291b1b60 Mon Sep 17 00:00:00 2001 From: Diggory Hardy Date: Sun, 18 Feb 2024 17:23:52 +0000 Subject: [PATCH] Disable rand_pcg's dev dependency on rand The circular dependency prevents publishing --- rand_pcg/Cargo.toml | 1 - rand_pcg/src/lib.rs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/rand_pcg/Cargo.toml b/rand_pcg/Cargo.toml index 3f5021796c..1fa514344b 100644 --- a/rand_pcg/Cargo.toml +++ b/rand_pcg/Cargo.toml @@ -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. diff --git a/rand_pcg/src/lib.rs b/rand_pcg/src/lib.rs index c1484c2d55..e67728a90e 100644 --- a/rand_pcg/src/lib.rs +++ b/rand_pcg/src/lib.rs @@ -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; //!