76 lines
1.3 KiB
TOML
76 lines
1.3 KiB
TOML
[package]
|
|
name = "4nk_certificator"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
authors = ["4NK Team"]
|
|
description = "Bitcoin mainnet anchoring service for 4NK relay data volumes"
|
|
|
|
[dependencies]
|
|
# Web framework
|
|
actix-web = "4"
|
|
actix-web-actors = "4"
|
|
actix = "0.13"
|
|
actix-rt = "2"
|
|
tokio = { version = "1", features = ["full"] }
|
|
tokio-tungstenite = "0.20"
|
|
futures = "0.3"
|
|
rand = "0.8"
|
|
|
|
# Serialization
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
|
|
# Bitcoin
|
|
bitcoin = "0.31"
|
|
bitcoincore-rpc = "0.18"
|
|
bdk = { version = "0.29", features = ["keys-bip39"] }
|
|
|
|
# Database
|
|
sqlx = { version = "0.7", features = ["runtime-tokio-rustls", "postgres", "macros", "chrono"] }
|
|
redis = { version = "0.24", features = ["tokio-comp", "connection-manager"] }
|
|
|
|
# Crypto
|
|
sha2 = "0.10"
|
|
hex = "0.4"
|
|
|
|
# Configuration
|
|
toml = "0.8"
|
|
|
|
# Logging
|
|
log = "0.4"
|
|
env_logger = "0.11"
|
|
|
|
# Error handling
|
|
anyhow = "1"
|
|
thiserror = "1"
|
|
|
|
# Time
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
|
|
# Utils
|
|
lazy_static = "1"
|
|
|
|
# JWT
|
|
jsonwebtoken = "9"
|
|
|
|
# Metrics
|
|
prometheus = "0.13"
|
|
|
|
# CLI
|
|
clap = { version = "4", features = ["derive"] }
|
|
|
|
# SDK common (local dependency)
|
|
sdk_common = { path = "../sdk_common" }
|
|
|
|
[[bin]]
|
|
name = "4nk_certificator"
|
|
path = "src/main.rs"
|
|
|
|
[[bin]]
|
|
name = "certificator-cli"
|
|
path = "src/cli.rs"
|
|
|
|
[dev-dependencies]
|
|
mockito = "1"
|
|
tempfile = "3"
|