[package] name = "drand_core" description = "A drand client library." version = "0.0.16" authors = ["Thibault Meunier "] edition = "2021" readme = "./README.md" homepage = "https://github.com/thibmeu/drand-rs/tree/main/drand_core" repository = "https://github.com/thibmeu/drand-rs" keywords = ["drand", "rng", "random"] categories = ["cryptography"] license = "MIT" [dependencies] ark-bls12-381 = "0.4.0" ark-ec = "0.4.2" ark-ff = "0.4.2" ark-serialize = "0.4.2" hex = { workspace = true, features = ["serde"] } rand = "0.8.5" serde = { workspace = true, features = ["derive", "rc"] } serde_json = { workspace = true } sha2 = "0.10.8" thiserror = "1.0.57" time = { workspace = true, features = ["parsing", "serde-well-known"], optional = true } ureq = { version = "2.9.6", features = ["json"] } url = { version = "2.5", features = ["serde"] } [target.'cfg(wasm32)'.dependencies] getrandom = { version = "0.2.12", features = ["js"] } ring = { version = "0.17.8", features = ["less-safe-getrandom-custom-or-rdrand", "wasm32_unknown_unknown_js"]} [features] default = ["time", "native-certs"] native-certs = ["ureq/native-certs"] time = ["dep:time"] [dev-dependencies] hex-literal = "0.4.1" mockito = "1.4.0" rand_chacha = "0.3.1"