Skip to content

Depdendency explosion #713

Description

@piscisaureus

I noticed that depending on rand now comes with two different versions of rand_core.
And in fact it seems that it is rand_core itself, depending on it's future self.

I presume this is a bug... if not I'd kindly suggest to try a slightly more minimalistic approach.
FYI all those crates still compiled just fine when I manually replaced rand_core v0.3 by v0.4 everywhere.

D:\test\testrand>cargo tree
testrand v0.1.0 (D:\test\testrand)
└── rand v0.6.4
    ├── rand_chacha v0.1.1
    │   └── rand_core v0.3.1
    │       └── rand_core v0.4.0
    │   [build-dependencies]
    │   └── autocfg v0.1.2
    ├── rand_core v0.3.1 (*)
    ├── rand_hc v0.1.0
    │   └── rand_core v0.3.1 (*)
    ├── rand_isaac v0.1.1
    │   └── rand_core v0.3.1 (*)
    ├── rand_os v0.1.1
    │   ├── rand_core v0.3.1 (*)
    │   └── winapi v0.3.6
    ├── rand_pcg v0.1.1
    │   └── rand_core v0.3.1 (*)
    │   [build-dependencies]
    │   └── rustc_version v0.2.3
    │       └── semver v0.9.0
    │           └── semver-parser v0.7.0
    ├── rand_xorshift v0.1.1
    │   └── rand_core v0.3.1 (*)
    └── winapi v0.3.6 (*)
    [build-dependencies]
    └── autocfg v0.1.2 (*)

D:\test\testrand>cargo build
    Updating crates.io index
  Downloaded rand v0.6.4
  Downloaded rand_xorshift v0.1.1
  Downloaded rand_chacha v0.1.1
  Downloaded rand_hc v0.1.0
  Downloaded rand_isaac v0.1.1
  Downloaded winapi v0.3.6
  Downloaded rand_core v0.3.1
  Downloaded autocfg v0.1.2
  Downloaded rand_pcg v0.1.1
  Downloaded rand_os v0.1.1
  Downloaded rand_core v0.4.0
  Downloaded rustc_version v0.2.3
  Downloaded semver v0.9.0
  Downloaded semver-parser v0.7.0
   Compiling semver-parser v0.7.0
   Compiling winapi v0.3.6
   Compiling autocfg v0.1.2
   Compiling rand_core v0.4.0
   Compiling rand_core v0.3.1
   Compiling rand_chacha v0.1.1
   Compiling rand v0.6.4
   Compiling semver v0.9.0
   Compiling rand_xorshift v0.1.1
   Compiling rand_isaac v0.1.1
   Compiling rand_hc v0.1.0
   Compiling rustc_version v0.2.3
   Compiling rand_pcg v0.1.1
   Compiling rand_os v0.1.1
   Compiling testrand v0.1.0 (D:\test\testrand)
    Finished dev [unoptimized + debuginfo] target(s) in 25.49s

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions