[package]
name = "ark-lib"
version = "0.2.2"
license = "MIT"
authors = [ "Team Second <hello@second.tech>" ]
edition = "2021"
repository = "https://gitlab.com/ark-bitcoin/bark"
description = "Primitives for the Ark protocol and bark implementation"
[lib]
name = "ark"
crate-type = ["cdylib", "rlib"]
[features]
test-util = [ "serde_json" ]
wasm-web = [ "getrandom/wasm_js", "js-sys" ]
[dependencies]
getrandom = "0.3.0"
rand = "0.9.2"
bitcoin = { version = "0.32.7", features = [ "serde" ] }
bark-bitcoin-ext = { version = "0.2.2", path = "../bitcoin-ext", default-features = false }
serde = "1.0.219"
chrono = "0.4"
async-trait.workspace = true
lazy_static.workspace = true
thiserror.workspace = true
lightning-invoice.workspace = true
lightning.workspace = true
hex-conservative = "0.3.0"
serde_json = { workspace = true, optional = true }
js-sys = { version = "0.3.85", optional = true }
[dependencies.secp256k1-musig]
package = "secp256k1"
version = "0.32.0-beta.2"
features = [ "serde" ]
[dev-dependencies]
bitcoin = { version = "0.32", features = [ "serde", "rand", "rand-std" ] }
serde_json = { workspace = true }
bitcoinkernel = "0.2.0"
[lints.clippy]
all = { level = "allow", priority = -1 }
arithmetic_side_effects = "deny"