mirror of
https://github.com/chatmail/core.git
synced 2026-04-20 23:16:30 +03:00
40 lines
1.1 KiB
TOML
40 lines
1.1 KiB
TOML
[package]
|
|
name = "deltachat-jsonrpc"
|
|
version = "1.86.0"
|
|
authors = ["Delta Chat Developers (ML) <delta@codespeak.net>"]
|
|
edition = "2021"
|
|
default-run = "webserver"
|
|
license = "MPL-2.0"
|
|
|
|
[[bin]]
|
|
name = "webserver"
|
|
path = "src/webserver.rs"
|
|
required-features = ["webserver"]
|
|
|
|
[dependencies]
|
|
anyhow = "1"
|
|
async-std = { version = "1", features = ["attributes"] }
|
|
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.19" }
|
|
serde_json = "1.0.75"
|
|
yerpc = { git = "https://github.com/Frando/yerpc", features = ["anyhow"] }
|
|
typescript-type-def = { git = "https://github.com/Frando/rust-typescript-type-def", branch = "yerpc", features = ["json_value"] }
|
|
# optional, depended on features
|
|
env_logger = { version = "0.9.0", optional = true }
|
|
tide = { version = "0.16.0", optional = true }
|
|
tide-websockets = { version = "0.4.0", optional = true }
|
|
yerpc-tide = { git = "https://github.com/Frando/yerpc", optional = true }
|
|
|
|
|
|
[features]
|
|
default = []
|
|
webserver = ["env_logger", "tide", "tide-websockets", "yerpc-tide"]
|
|
|
|
[profile.release]
|
|
lto = true
|