mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
46 lines
1.4 KiB
TOML
46 lines
1.4 KiB
TOML
[package]
|
|
name = "deltachat-jsonrpc"
|
|
version = "1.142.0"
|
|
description = "DeltaChat JSON-RPC API"
|
|
edition = "2021"
|
|
default-run = "deltachat-jsonrpc-server"
|
|
license = "MPL-2.0"
|
|
repository = "https://github.com/deltachat/deltachat-core-rust"
|
|
|
|
[[bin]]
|
|
name = "deltachat-jsonrpc-server"
|
|
path = "src/webserver.rs"
|
|
required-features = ["webserver"]
|
|
|
|
[dependencies]
|
|
anyhow = { workspace = true }
|
|
deltachat = { path = ".." }
|
|
deltachat-contact-tools = { path = "../deltachat-contact-tools" }
|
|
num-traits = { workspace = true }
|
|
schemars = "0.8.21"
|
|
serde = { workspace = true, features = ["derive"] }
|
|
tempfile = { workspace = true }
|
|
log = { workspace = true }
|
|
async-channel = { workspace = true }
|
|
futures = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
yerpc = { workspace = true, features = ["anyhow_expose", "openrpc"] }
|
|
typescript-type-def = { version = "0.5.8", features = ["json_value"] }
|
|
tokio = { workspace = true }
|
|
sanitize-filename = { workspace = true }
|
|
walkdir = "2.5.0"
|
|
base64 = { workspace = true }
|
|
|
|
# optional dependencies
|
|
axum = { version = "0.7", optional = true, features = ["ws"] }
|
|
env_logger = { version = "0.11.3", optional = true }
|
|
|
|
[dev-dependencies]
|
|
tokio = { workspace = true, features = ["full", "rt-multi-thread"] }
|
|
|
|
|
|
[features]
|
|
default = ["vendored"]
|
|
webserver = ["dep:env_logger", "dep:axum", "tokio/full", "yerpc/support-axum"]
|
|
vendored = ["deltachat/vendored"]
|