mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
41 lines
1.1 KiB
TOML
41 lines
1.1 KiB
TOML
[package]
|
|
name = "deltachat-jsonrpc"
|
|
version = "1.99.0"
|
|
description = "DeltaChat JSON-RPC API"
|
|
authors = ["Delta Chat Developers (ML) <delta@codespeak.net>"]
|
|
edition = "2021"
|
|
default-run = "deltachat-jsonrpc-server"
|
|
license = "MPL-2.0"
|
|
|
|
[[bin]]
|
|
name = "deltachat-jsonrpc-server"
|
|
path = "src/webserver.rs"
|
|
required-features = ["webserver"]
|
|
|
|
[dependencies]
|
|
anyhow = "1"
|
|
deltachat = { path = ".." }
|
|
num-traits = "0.2"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
tempfile = "3.3.0"
|
|
log = "0.4"
|
|
async-channel = { version = "1.6.1" }
|
|
futures = { version = "0.3.25" }
|
|
serde_json = "1.0.87"
|
|
yerpc = { version = "^0.3.1", features = ["anyhow_expose"] }
|
|
typescript-type-def = { version = "0.5.3", features = ["json_value"] }
|
|
tokio = { version = "1.21.2" }
|
|
|
|
# optional dependencies
|
|
axum = { version = "0.5.17", optional = true, features = ["ws"] }
|
|
env_logger = { version = "0.9.1", optional = true }
|
|
walkdir = "2.3.2"
|
|
|
|
[dev-dependencies]
|
|
tokio = { version = "1.21.2", features = ["full", "rt-multi-thread"] }
|
|
|
|
|
|
[features]
|
|
default = []
|
|
webserver = ["env_logger", "axum", "tokio/full", "yerpc/support-axum"]
|