2020-03-27 12:17:27 +01:00
|
|
|
[package]
|
|
|
|
name = "jirs-server"
|
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["Adrian Wozniak <adrian.wozniak@ita-prog.pl>"]
|
|
|
|
edition = "2018"
|
2020-03-31 14:28:30 +02:00
|
|
|
description = "JIRS (Simplified JIRA in Rust) Actix server"
|
|
|
|
repository = "https://gitlab.com/adrian.wozniak/jirs"
|
|
|
|
license = "MPL-2.0"
|
|
|
|
#license-file = "../LICENSE"
|
2020-03-27 12:17:27 +01:00
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "jirs_server"
|
|
|
|
path = "./src/main.rs"
|
|
|
|
|
2020-05-05 16:09:26 +02:00
|
|
|
[features]
|
2021-01-06 18:47:54 +01:00
|
|
|
aws-s3 = ["amazon-actor"]
|
|
|
|
local-storage = ["filesystem-actor"]
|
2021-08-12 16:10:30 +02:00
|
|
|
default = ["local-storage"]
|
2020-05-05 16:09:26 +02:00
|
|
|
|
2020-03-27 12:17:27 +01:00
|
|
|
[dependencies]
|
2021-08-13 12:42:29 +02:00
|
|
|
common = { path = "../shared/common" }
|
2020-12-24 16:24:04 +01:00
|
|
|
actix = { version = "0.10.0" }
|
2020-10-18 10:35:41 +02:00
|
|
|
|
2020-03-27 12:17:27 +01:00
|
|
|
dotenv = { version = "*" }
|
2020-10-18 10:35:41 +02:00
|
|
|
|
|
|
|
serde = { version = "*", features = ["derive"] }
|
|
|
|
serde_json = { version = ">=0.8.0, <2.0" }
|
2021-08-13 12:42:29 +02:00
|
|
|
toml = { version = "0.5.6" }
|
2020-10-18 10:35:41 +02:00
|
|
|
|
2020-03-27 12:17:27 +01:00
|
|
|
futures = { version = "*" }
|
2020-10-18 10:35:41 +02:00
|
|
|
openssl-sys = { version = "*", features = ["vendored"] }
|
2020-10-21 23:59:17 +02:00
|
|
|
libc = { version = "0.2.0", default-features = false }
|
2020-10-18 10:35:41 +02:00
|
|
|
|
2020-12-24 16:24:04 +01:00
|
|
|
[dependencies.jirs-config]
|
|
|
|
path = "../shared/jirs-config"
|
|
|
|
features = ["web", "websocket", "local-storage", "hi", "database"]
|
2020-03-27 12:17:27 +01:00
|
|
|
|
2020-04-01 13:29:43 +02:00
|
|
|
[dependencies.jirs-data]
|
2020-12-24 16:24:04 +01:00
|
|
|
path = "../shared/jirs-data"
|
2020-12-18 22:31:29 +01:00
|
|
|
features = ["backend"]
|
2020-05-05 16:09:26 +02:00
|
|
|
|
2020-12-24 16:24:04 +01:00
|
|
|
[dependencies.highlight-actor]
|
|
|
|
path = "../actors/highlight-actor"
|
2020-05-05 16:09:26 +02:00
|
|
|
|
2020-12-24 16:24:04 +01:00
|
|
|
[dependencies.database-actor]
|
|
|
|
path = "../actors/database-actor"
|
|
|
|
|
|
|
|
[dependencies.web-actor]
|
|
|
|
path = "../actors/web-actor"
|
2021-10-08 13:56:28 +02:00
|
|
|
features = ["local-storage"]
|
2020-12-24 16:24:04 +01:00
|
|
|
|
|
|
|
[dependencies.websocket-actor]
|
|
|
|
path = "../actors/websocket-actor"
|
|
|
|
|
|
|
|
[dependencies.mail-actor]
|
|
|
|
path = "../actors/mail-actor"
|
|
|
|
|
|
|
|
[dependencies.filesystem-actor]
|
|
|
|
path = "../actors/filesystem-actor"
|
2021-01-06 18:47:54 +01:00
|
|
|
optional = true
|
2020-12-24 16:24:04 +01:00
|
|
|
|
2021-01-06 18:47:54 +01:00
|
|
|
[dependencies.amazon-actor]
|
|
|
|
path = "../actors/amazon-actor"
|
|
|
|
optional = true
|
2020-12-18 22:31:29 +01:00
|
|
|
|
|
|
|
[dependencies.tokio]
|
|
|
|
version = "0.2.23"
|
|
|
|
features = ["dns"]
|