diff --git a/dlc/Cargo.toml b/dlc/Cargo.toml index eee0ecc0..c9019263 100644 --- a/dlc/Cargo.toml +++ b/dlc/Cargo.toml @@ -19,7 +19,7 @@ serde = { version = "1.0", default-features = false, optional = true } # for benchmarks unstable = [] default = ["std"] -std = ["bitcoin/std", "miniscript/std"] +std = ["bitcoin/std", "miniscript/std", "secp256k1-zkp/rand-std"] no-std = ["dep:hashbrown", "miniscript/no-std", "bitcoin/no-std"] use-serde = ["serde", "secp256k1-zkp/use-serde"] diff --git a/dlc/src/lib.rs b/dlc/src/lib.rs index 9ec63397..fff9a568 100644 --- a/dlc/src/lib.rs +++ b/dlc/src/lib.rs @@ -16,7 +16,7 @@ extern crate bitcoin; extern crate core; extern crate miniscript; extern crate secp256k1_sys; -extern crate secp256k1_zkp; +pub extern crate secp256k1_zkp; #[cfg(feature = "serde")] extern crate serde;