implement unix and ws using jsonrpsee
This commit is contained in:
42
interfaces/openrpc/client/Cargo.toml
Normal file
42
interfaces/openrpc/client/Cargo.toml
Normal file
@@ -0,0 +1,42 @@
|
||||
[package]
|
||||
name = "hero-openrpc-client"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[[bin]]
|
||||
name = "hero-openrpc-client"
|
||||
path = "cmd/main.rs"
|
||||
|
||||
[dependencies]
|
||||
# Core dependencies
|
||||
tokio = { version = "1.0", features = ["full"] }
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
anyhow = "1.0"
|
||||
thiserror = "1.0"
|
||||
tracing = "0.1"
|
||||
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
||||
clap = { version = "4.0", features = ["derive"] }
|
||||
|
||||
# JSON-RPC dependencies
|
||||
jsonrpsee = { version = "0.21", features = [
|
||||
"client",
|
||||
"macros"
|
||||
] }
|
||||
async-trait = "0.1"
|
||||
|
||||
# Hero dependencies
|
||||
hero_job = { path = "../../../core/job" }
|
||||
|
||||
# Authentication and crypto
|
||||
secp256k1 = { version = "0.28", features = ["rand", "recovery"] }
|
||||
hex = "0.4"
|
||||
sha2 = "0.10"
|
||||
rand = "0.8"
|
||||
|
||||
# CLI utilities
|
||||
dialoguer = "0.11"
|
||||
colored = "2.0"
|
||||
|
||||
# Async utilities
|
||||
futures = "0.3"
|
Reference in New Issue
Block a user