2022-12-12 16:54:07 +00:00
|
|
|
[package]
|
|
|
|
name = "backend"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "api"
|
|
|
|
|
2023-01-17 05:54:45 +00:00
|
|
|
[[bin]]
|
|
|
|
name = "worker"
|
|
|
|
|
2022-12-12 16:54:07 +00:00
|
|
|
[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" }
|
2022-12-20 18:00:12 +00:00
|
|
|
chrono = "0.4.23"
|
2022-12-12 16:54:07 +00:00
|
|
|
diesel = { version = "2.0.2", features = ["i-implement-a-third-party-backend-and-opt-into-breaking-changes", "postgres", "chrono", "r2d2"] }
|
2023-01-17 05:54:45 +00:00
|
|
|
env_logger = "0.9.3"
|
2022-12-12 16:54:07 +00:00
|
|
|
envconfig = "0.10.0"
|
2022-12-20 18:00:12 +00:00
|
|
|
juniper = { version = "0.15.10", features = ["scalar-naivetime"] }
|
2022-12-12 16:54:07 +00:00
|
|
|
juniper_actix = "0.4.0"
|
|
|
|
lazy_static = "1.4.0"
|
|
|
|
log = "0.4.17"
|
2023-01-17 05:54:45 +00:00
|
|
|
r2d2_redis = "0.14.0"
|
2023-02-22 16:40:39 +00:00
|
|
|
regex = "1.7.1"
|
2023-01-17 05:54:45 +00:00
|
|
|
reqwest = "0.11.13"
|
|
|
|
scraper = "0.14.0"
|
2022-12-12 16:54:07 +00:00
|
|
|
serde = "1.0.148"
|
2023-01-17 05:54:45 +00:00
|
|
|
stdext = "0.3.1"
|
2022-12-12 16:54:07 +00:00
|
|
|
tokio = { version = "1.22.0", features = ["full"] }
|
2022-12-14 18:13:32 +00:00
|
|
|
untis = { git = "https://git.dergrimm.net/dergrimm/untis.rs.git", branch = "main" }
|
2022-12-12 16:54:07 +00:00
|
|
|
url = "2.3.1"
|
|
|
|
|
|
|
|
[target.'cfg(not(target_env = "msvc"))'.dependencies]
|
|
|
|
tikv-jemallocator = "0.5"
|