JSON-RPC stdio server

It speaks JSON-RPC serialized into JSON Lines over stdio.
This commit is contained in:
link2xt
2022-10-31 21:41:24 +00:00
parent d29b0baa25
commit 75ed4fe398
11 changed files with 174 additions and 32 deletions

View File

@@ -0,0 +1,26 @@
[package]
name = "deltachat-rpc-server"
version = "1.98.0"
description = "DeltaChat JSON-RPC server"
authors = ["Delta Chat Developers (ML) <delta@codespeak.net>"]
edition = "2021"
readme = "README.md"
license = "MPL-2.0"
keywords = ["deltachat", "chat", "openpgp", "email", "encryption"]
categories = ["cryptography", "std", "email"]
[[bin]]
name = "deltachat-rpc-server"
[dependencies]
deltachat-jsonrpc = { path = "../deltachat-jsonrpc" }
anyhow = "1"
env_logger = { version = "0.9.1" }
futures-lite = "1.12.0"
log = "0.4"
serde_json = "1.0.85"
serde = { version = "1.0", features = ["derive"] }
tokio = { version = "1.21.2", features = ["io-std"] }
yerpc = { version = "0.3.1", features = ["anyhow_expose"] }