2024-02-12 23:37:09 +01:00
|
|
|
[package]
|
|
|
|
name = "possiblyrandom"
|
2024-04-19 17:33:58 +02:00
|
|
|
version = "0.2.0"
|
2024-02-12 23:37:09 +01:00
|
|
|
authors = ["Matt Corallo"]
|
|
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
repository = "https://github.com/lightningdevkit/rust-lightning/"
|
|
|
|
description = """
|
|
|
|
A crate that wraps getrandom and always compiles, returning 0s when no randomness is available.
|
|
|
|
"""
|
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
getrandom = { version = "0.2", optional = true, default-features = false }
|
|
|
|
|
|
|
|
# Enable getrandom if we are on a platform that (likely) supports it
|
|
|
|
[target.'cfg(not(any(target_os = "unknown", target_os = "none")))'.dependencies]
|
|
|
|
getrandom = { version = "0.2", default-features = false }
|
2024-07-12 11:23:50 +02:00
|
|
|
|
|
|
|
[lints]
|
|
|
|
workspace = true
|