[package] name = "rand_jitter" version = "0.4.0" authors = ["The Rand Project Developers"] license = "MIT OR Apache-2.0" readme = "README.md" repository = "https://github.com/rust-random/rngs" documentation = "https://docs.rs/rand_jitter" description = "Random number generator based on timing jitter" keywords = ["random", "rng", "os"] edition = "2018" rust-version = "1.51" [dependencies] rand_core = { version = "0.6" } log = { version = "0.4.4", optional = true } [target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies] # We don't need the 'use_std' feature and depending on it causes # issues due to: https://github.com/rust-lang/cargo/issues/1197 libc = { version = "0.2", default_features = false } [target.'cfg(target_os = "windows")'.dependencies] winapi = { version = "0.3", features = ["profileapi"] } [features] std = ["rand_core/std"]