NAC_Blockchain/nac-cross-chain-bridge/Cargo.toml

57 lines
1.1 KiB
TOML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[package]
name = "nac-cross-chain-bridge"
version = "1.0.0"
edition = "2021"
authors = ["NAC Development Team"]
description = "NAC跨链桥接模块 - 支持与以太坊、BSC等主流区块链的资产互通"
license = "MIT"
[dependencies]
nac-upgrade-framework = { path = "../nac-upgrade-framework" }
# NAC核心依赖暂时注释待模块实现后启用
# nac-types = { path = "../nac-types" }
# nac-crypto = { path = "../nac-crypto" }
# nac-constitution = { path = "../protocol/nac-constitution" }
# 异步运行时
tokio = { version = "1.35", features = ["full"] }
async-trait = "0.1"
# 以太坊集成
ethers = { version = "2.0", features = ["abigen", "ws"] }
web3 = "0.19"
# 序列化
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
bincode = "1.3"
# 日志
log = "0.4"
env_logger = "0.11"
# 错误处理
thiserror = "1.0"
anyhow = "1.0"
# 加密
sha3 = "0.10"
hex = "0.4"
# 数据库
sled = "0.34"
# 网络
reqwest = { version = "0.11", features = ["json"] }
[dev-dependencies]
tokio-test = "0.4"
[lib]
name = "nac_cross_chain_bridge"
path = "src/lib.rs"
[[bin]]
name = "nac-bridge-relay"
path = "src/bin/relay.rs"