ddk 1.0.10

application tooling for DLCs 🌊
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "ddk"
version = "1.0.10"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "application tooling for DLCs 🌊"
homepage = "https://dlcdevkit.com"
documentation = "https://docs.rs/crate/ddk"
readme = "README.md"
license = "MIT"
repository = "https://github.com/bennyhodl/dlcdevkit"

[features]
kormir = ["dep:reqwest"]
lightning = ["dep:lightning-net-tokio"]
nostr = [
    "dep:nostr-rs",
    "dep:nostr-sdk",
    "dep:base64",
]
nostr-oracle = [
    "dep:nostr-database",
    "nostr",
    "kormir",
    "kormir/nostr",
]
p2pderivatives = ["dep:reqwest"]
postgres = [
    "dep:sqlx",
    "sqlx/postgres",
]
sled = ["dep:sled"]

[lib]
name = "ddk"
path = "src/lib.rs"

[[example]]
name = "lightning"
path = "examples/lightning.rs"
required-features = [
    "lightning",
    "kormir",
    "sled",
]

[[example]]
name = "nostr"
path = "examples/nostr.rs"
required-features = ["nostr"]

[[example]]
name = "postgres"
path = "examples/postgres.rs"
required-features = [
    "postgres",
    "lightning",
    "kormir",
]

[[test]]
name = "balance"
path = "tests/balance.rs"

[[test]]
name = "enumeration"
path = "tests/enumeration.rs"

[[test]]
name = "nostr"
path = "tests/nostr.rs"

[[test]]
name = "short_call"
path = "tests/short_call.rs"

[[test]]
name = "test_util"
path = "tests/test_util.rs"

[dependencies.async-trait]
version = "0.1.80"

[dependencies.base64]
version = "0.13.0"
optional = true

[dependencies.bdk_chain]
version = "0.23.0"

[dependencies.bdk_esplora]
version = "0.22.0"
features = [
    "blocking-https",
    "async-https",
    "tokio",
]

[dependencies.bdk_wallet]
version = "2.0.0"

[dependencies.bip39]
version = "2.2.0"

[dependencies.bitcoin]
version = "0.32.6"
features = [
    "rand",
    "serde",
]

[dependencies.chrono]
version = "0.4.38"
features = ["serde"]

[dependencies.ddk-dlc]
version = "1.0.10"
features = ["use-serde"]

[dependencies.ddk-manager]
version = "1.0.10"
features = ["use-serde"]

[dependencies.ddk-messages]
version = "1.0.10"
features = ["use-serde"]

[dependencies.ddk-trie]
version = "1.0.10"
features = ["use-serde"]

[dependencies.hex]
version = "0.4.3"

[dependencies.hmac]
version = "0.12.1"

[dependencies.kormir]
version = "1.0.10"

[dependencies.lightning]
version = "0.1.5"
features = [
    "grind_signatures",
    "std",
]
default-features = false

[dependencies.lightning-net-tokio]
version = "0.1.0"
optional = true

[dependencies.nostr-database]
version = "0.40.0"
optional = true

[dependencies.nostr-rs]
version = "0.40.0"
features = [
    "std",
    "nip04",
]
optional = true
package = "nostr"

[dependencies.nostr-sdk]
version = "0.40.0"
optional = true

[dependencies.reqwest]
version = "0.12.9"
features = ["json"]
optional = true

[dependencies.serde]
version = "1.0.192"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.108"

[dependencies.sha2]
version = "0.10"

[dependencies.sled]
version = "0.34.7"
optional = true

[dependencies.sqlx]
version = "0.8.3"
features = [
    "runtime-tokio",
    "time",
    "bigdecimal",
    "chrono",
]
optional = true

[dependencies.thiserror]
version = "1.0.50"

[dependencies.tokio]
version = "1.34.0"
features = ["full"]

[dependencies.tracing]
version = "0.1.40"

[dependencies.uuid]
version = "1.8.0"
features = ["v4"]

[dev-dependencies.bitcoincore-rpc]
version = "0.19.0"

[dev-dependencies.dotenv]
version = "0.15.0"

[dev-dependencies.test-log]
version = "0.2.16"
features = ["trace"]