2 name = "possiblyrandom"
4 authors = ["Matt Corallo"]
5 license = "MIT OR Apache-2.0"
6 repository = "https://github.com/lightningdevkit/rust-lightning/"
8 A crate that wraps getrandom and always compiles, returning 0s when no randomness is available.
12 [package.metadata.docs.rs]
14 rustdoc-args = ["--cfg", "docsrs"]
17 getrandom = { version = "0.2", optional = true, default-features = false }
19 # Enable getrandom if we are on a platform that (likely) supports it
20 [target.'cfg(not(any(target_os = "unknown", target_os = "none")))'.dependencies]
21 getrandom = { version = "0.2", default-features = false }