mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 07:07:52 +01:00
Set default-features = false for rand_core
Apparently rand and rand_core need to be built with the "std" feature set consistently, or there will be a compile error in rngs/jitter.rs.
This commit is contained in:
parent
945d871da5
commit
9dd45456fe
1 changed files with 2 additions and 1 deletions
|
@ -13,7 +13,7 @@ crate_type = ["rlib", "staticlib"]
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libc = "=0.2.39"
|
libc = "=0.2.39"
|
||||||
digest = "=0.7.2"
|
digest = "=0.7.2"
|
||||||
rand_core = "=0.2.0-pre.0"
|
rand_core = { version = "=0.2.0-pre.0", default-features = false }
|
||||||
|
|
||||||
external = { path = "../external" }
|
external = { path = "../external" }
|
||||||
smartlist = { path = "../smartlist" }
|
smartlist = { path = "../smartlist" }
|
||||||
|
@ -22,6 +22,7 @@ tor_log = { path = "../tor_log" }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
rand = { version = "=0.5.0-pre.2", default-features = false }
|
rand = { version = "=0.5.0-pre.2", default-features = false }
|
||||||
|
rand_core = { version = "=0.2.0-pre.0", default-features = false }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
testing = ["tor_log/testing"]
|
testing = ["tor_log/testing"]
|
||||||
|
|
Loading…
Add table
Reference in a new issue