# 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 = "ark-lib"
version = "0.1.0"
authors = ["Team Second <hello@second.tech>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Primitives for the Ark protocol and bark implementation"
readme = false
license = "MIT"
repository = "https://gitlab.com/ark-bitcoin/bark"

[features]
test-util = ["serde_json"]
wasm-web = [
    "getrandom/wasm_js",
    "js-sys",
]

[lib]
name = "ark"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

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

[dependencies.bark-bitcoin-ext]
version = "0.1.0"
default-features = false

[dependencies.bitcoin]
version = "0.32.7"
features = ["serde"]

[dependencies.chrono]
version = "0.4"

[dependencies.getrandom]
version = "0.3.0"

[dependencies.hex-conservative]
version = "0.3.0"

[dependencies.js-sys]
version = "0.3.85"
optional = true

[dependencies.lazy_static]
version = "=1.5.0"

[dependencies.lightning]
version = "0.2.0"
features = ["std"]
default-features = false

[dependencies.lightning-invoice]
version = "0.34.0"
features = [
    "std",
    "serde",
]

[dependencies.rand]
version = "0.9.2"

[dependencies.secp256k1-musig]
version = "0.32.0-beta.2"
features = ["serde"]
package = "secp256k1"

[dependencies.serde]
version = "1.0.219"

[dependencies.serde_json]
version = "1"
features = ["raw_value"]
optional = true

[dependencies.thiserror]
version = "2.0.12"

[dev-dependencies.bitcoin]
version = "0.32"
features = [
    "serde",
    "rand",
    "rand-std",
]

[dev-dependencies.bitcoinkernel]
version = "0.1.1"

[dev-dependencies.serde_json]
version = "1"
features = ["raw_value"]
