41 lines
982 B
TOML
41 lines
982 B
TOML
|
[package]
|
||
|
name = "backend"
|
||
|
version = "0.1.0"
|
||
|
edition = "2021"
|
||
|
|
||
|
[[bin]]
|
||
|
name = "api"
|
||
|
|
||
|
[[bin]]
|
||
|
name = "worker"
|
||
|
|
||
|
[profile.release]
|
||
|
codegen-units = 1
|
||
|
lto = "fat"
|
||
|
strip = true
|
||
|
panic = "abort"
|
||
|
|
||
|
[dependencies]
|
||
|
actix-cors = "0.6.4"
|
||
|
actix-web = "4.2.1"
|
||
|
anyhow = { version = "1.0.66", features = ["backtrace"] }
|
||
|
celery = { git = "https://github.com/rusty-celery/rusty-celery.git", branch = "main" }
|
||
|
chrono = { version = "0.4.23", features = ["serde"] }
|
||
|
cookie = "0.16.1"
|
||
|
diesel = { version = "2.0.2", features = ["i-implement-a-third-party-backend-and-opt-into-breaking-changes", "postgres", "chrono", "r2d2"] }
|
||
|
env_logger = "0.10.0"
|
||
|
envconfig = "0.10.0"
|
||
|
juniper = "0.15.10"
|
||
|
juniper_actix = "0.4.0"
|
||
|
lazy_static = "1.4.0"
|
||
|
log = "0.4.17"
|
||
|
now = "0.1.3"
|
||
|
reqwest = { version = "0.11.13", features = ["json"] }
|
||
|
serde = "1.0.148"
|
||
|
serde_json = "1.0.89"
|
||
|
tokio = { version = "1.22.0", features = ["full"] }
|
||
|
url = "2.3.1"
|
||
|
|
||
|
[target.'cfg(not(target_env = "msvc"))'.dependencies]
|
||
|
tikv-jemallocator = "0.5"
|