mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 02:20:39 +00:00
Implement JSON-RPC client PoC
This commit is contained in:
parent
7261129609
commit
abde122a35
8 changed files with 1982 additions and 13 deletions
25
client/Cargo.toml
Normal file
25
client/Cargo.toml
Normal file
|
@ -0,0 +1,25 @@
|
|||
[package]
|
||||
name = "signal-cli-client"
|
||||
version = "0.0.1"
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1"
|
||||
clap = { version = "3", features = ["cargo", "derive"] }
|
||||
jsonrpc-core = "18"
|
||||
jsonrpc-core-client = "18"
|
||||
jsonrpc-client-transports = { version = "18", default-features = false, features = [
|
||||
"ipc",
|
||||
] }
|
||||
jsonrpc-derive = "18"
|
||||
jsonrpc-server-utils = "18"
|
||||
log = "0.4"
|
||||
serde = "1"
|
||||
serde_json = "1"
|
||||
tokio = { version = "1", features = ["rt", "macros", "net"] }
|
||||
|
||||
[patch.crates-io]
|
||||
jsonrpc-client-transports = { git = "https://github.com/AsamK/jsonrpc", branch = "client_subscribe_named_params" }
|
||||
jsonrpc-derive = { git = "https://github.com/AsamK/jsonrpc", branch = "client_subscribe_named_params" }
|
Loading…
Add table
Add a link
Reference in a new issue