mirror of
https://github.com/servo/servo
synced 2026-05-13 18:37:30 +02:00
This wrapper was added in order to eliminate the number of file descriptors used accessing `/dev/urandom`, but these days `osrandom` and by proxy `rand` will try to use `getrandom` on Linux and similar system APIs on other platforms [^1]. This is a trial balloon for removing the wrapper, since almost all modern Linux systems have `getrandom` (available since Linux 3.17). [^1]: https://docs.rs/getrandom/0.3.4/getrandom/#supported-targets Testing: Should not change observable behavior (only in random ways), so should be covered by WPT tests. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
37 lines
903 B
TOML
37 lines
903 B
TOML
[package]
|
|
name = "devtools"
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
license.workspace = true
|
|
edition.workspace = true
|
|
publish.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
[lib]
|
|
name = "devtools"
|
|
path = "lib.rs"
|
|
|
|
[dependencies]
|
|
base = { workspace = true }
|
|
base64 = { workspace = true }
|
|
chrono = { workspace = true }
|
|
crossbeam-channel = { workspace = true }
|
|
devtools_traits = { workspace = true }
|
|
embedder_traits = { workspace = true }
|
|
headers = { workspace = true }
|
|
http = { workspace = true }
|
|
ipc-channel = { workspace = true }
|
|
log = { workspace = true }
|
|
net = { path = "../net" }
|
|
net_traits = { workspace = true }
|
|
rand = { workspace = true }
|
|
rustc-hash = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
servo_config = { path = "../config" }
|
|
servo_url = { path = "../url" }
|
|
uuid = { workspace = true }
|
|
|
|
[build-dependencies]
|
|
chrono = { workspace = true }
|