[package] authors = ["Crypto Garage"] description = "Creation and handling of Discrete Log Contracts (DLC)." edition = "2018" homepage = "https://github.com/p2pderivatives/rust-dlc" license-file = "../LICENSE" name = "dlc-manager" repository = "https://github.com/p2pderivatives/rust-dlc/tree/master/dlc-manager" version = "0.7.1" [features] default = ["std"] std = ["dlc/std", "dlc-messages/std", "dlc-trie/std", "bitcoin/std", "lightning/std"] fuzztarget = ["rand_chacha"] parallel = ["dlc-trie/parallel"] use-serde = ["serde", "dlc/use-serde", "dlc-messages/use-serde", "dlc-trie/use-serde"] [dependencies] async-trait = "0.1.50" bitcoin = { version = "0.32.2", default-features = false } dlc = { version = "0.7.1", default-features = false, path = "../dlc" } dlc-messages = { version = "0.7.1", default-features = false, path = "../dlc-messages" } dlc-trie = { version = "0.7.1", default-features = false, path = "../dlc-trie" } hex = { package = "hex-conservative", version = "0.1" } lightning = { version = "0.0.125", default-features = false, features = ["grind_signatures"] } log = "0.4.14" rand_chacha = {version = "0.3.1", optional = true} secp256k1-zkp = {version = "0.11.0"} serde = {version = "1.0", optional = true} [dev-dependencies] bitcoin-rpc-provider = {path = "../bitcoin-rpc-provider"} bitcoin-test-utils = {path = "../bitcoin-test-utils"} bitcoincore-rpc = {version = "0.19"} bitcoincore-rpc-json = {version = "0.19"} criterion = "0.4.0" dlc-manager = { path = ".", default-features = false, features = ["use-serde"] } dlc-messages = { path = "../dlc-messages", default-features = false, features = ["serde"] } electrs-blockchain-provider = {path = "../electrs-blockchain-provider"} env_logger = "0.9.1" mocks = {path = "../mocks"} secp256k1-zkp = {version = "0.11.0", features = ["hashes", "rand", "rand-std", "global-context", "serde"]} serde = "1.0" serde_json = "1.0" simple-wallet = {path = "../simple-wallet"} [[bench]] harness = false name = "benchmarks"