Files
darkfi/bin/cashierd/Cargo.toml
2023-02-01 23:04:02 +01:00

87 lines
2.1 KiB
TOML

[package]
name = "cashierd"
version = "0.4.0"
homepage = "https://dark.fi"
description = "cashier daemon for DarkFi"
authors = ["Dyne.org foundation <foundation@dyne.org>"]
repository = "https://github.com/darkrenaissance/darkfi"
license = "AGPL-3.0-only"
edition = "2021"
[dependencies.darkfi]
path = "../../"
features = ["wallet", "node", "rpc"]
[dependencies]
# Async
smol = "1.3.0"
futures = "0.3.26"
async-std = "1.12.0"
async-trait = "0.1.64"
async-channel = "1.8.0"
async-executor = "1.5.0"
easy-parallel = "3.2.0"
# Crypto
rand = "0.8.5"
# Misc
clap = {version = "4.1.4", features = ["derive"]}
log = "0.4.17"
num_cpus = "1.15.0"
simplelog = "0.12.0"
thiserror = "1.0.38"
url = "2.3.1"
# Encoding and parsing
serde = {version = "1.0.152", features = ["derive"]}
serde_json = "1.0.91"
# Bitcoin bridge dependencies
bdk = {version = "0.26.0", optional = true}
anyhow = {version = "1.0.68", optional = true}
bitcoin = {version = "0.29.1", optional = true}
secp256k1 = {version = "0.26.0", default-features = false, features = ["rand-std"], optional = true}
# Ethereum bridge dependencies
hex = {version = "0.4.3", optional = true}
hash-db = {version = "0.15.2", optional = true}
lazy_static = {version = "1.4.0", optional = true}
keccak-hasher = {version = "0.15.3", optional = true}
num-bigint = {version = "0.4.3", features = ["rand", "serde"], optional = true}
# Solana bridge dependencies
native-tls = {version = "0.2.11", optional = true}
async-native-tls = {version = "0.4.0", optional = true}
solana-client = {version = "1.14.13", optional = true}
solana-sdk = {version = "1.14.13", optional = true}
spl-associated-token-account = {version = "1.1.2", features = ["no-entrypoint"], optional = true}
spl-token = {version = "3.5.0", features = ["no-entrypoint"], optional = true}
tungstenite = {version = "0.18.0", optional = true}
[features]
btc = [
"anyhow",
"bdk",
"bitcoin",
"secp256k1",
]
eth = [
"num-bigint",
"keccak-hasher",
"hash-db",
"lazy_static",
"hex",
]
sol = [
"async-native-tls",
"native-tls",
"solana-client",
"solana-sdk",
"spl-associated-token-account",
"spl-token",
"tungstenite",
]