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
|
|
|
|
2020-05-06 19:13:16 +02:00
|
|
|
[target.x86_64-unknown-linux-gnu]
|
|
|
|
rustflags = [
|
|
|
|
"-C", "link-arg=-fuse-ld=lld",
|
|
|
|
]
|
|
|
|
|
2020-05-07 17:08:40 +02:00
|
|
|
[target.nightly-x86_64-unknown-linux-gnu]
|
|
|
|
rustflags = [
|
|
|
|
"-C", "link-arg=-fuse-ld=lld",
|
|
|
|
]
|
|
|
|
|
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]
|
|
|
|
aws-s3 = [
|
|
|
|
"rusoto_s3",
|
|
|
|
"rusoto_core"
|
|
|
|
]
|
|
|
|
local-storage = [
|
|
|
|
"actix-files"
|
|
|
|
]
|
|
|
|
default = [
|
|
|
|
"aws-s3",
|
|
|
|
"local-storage",
|
|
|
|
]
|
|
|
|
|
2020-03-27 12:17:27 +01:00
|
|
|
[dependencies]
|
|
|
|
serde = { version = "*", features = ["derive"] }
|
|
|
|
actix = { version = "*" }
|
|
|
|
actix-web = { version = "*" }
|
|
|
|
actix-cors = { version = "*" }
|
|
|
|
actix-service = { version = "*" }
|
|
|
|
actix-rt = "1"
|
2020-04-05 15:15:09 +02:00
|
|
|
actix-web-actors = "*"
|
2020-05-01 21:40:32 +02:00
|
|
|
actix-multipart = { version = "*" }
|
2020-04-05 15:15:09 +02:00
|
|
|
|
2020-03-27 12:17:27 +01:00
|
|
|
dotenv = { version = "*" }
|
|
|
|
byteorder = "1.0"
|
|
|
|
chrono = { version = "0.4", features = [ "serde" ] }
|
|
|
|
libc = { version = "0.2.0" }
|
|
|
|
pq-sys = { version = ">=0.3.0, <0.5.0" }
|
|
|
|
serde_json = { version = ">=0.8.0, <2.0" }
|
2020-05-05 08:33:40 +02:00
|
|
|
toml = "0.5.6"
|
2020-04-05 15:15:09 +02:00
|
|
|
bincode = "1.2.1"
|
2020-03-27 12:17:27 +01:00
|
|
|
time = { version = "0.1" }
|
|
|
|
url = { version = "2.1.0" }
|
|
|
|
percent-encoding = { version = "2.1.0" }
|
2020-05-01 23:10:54 +02:00
|
|
|
uuid = { version = "0.8.1", features = ["serde", "v4", "v5"] }
|
2020-03-27 12:17:27 +01:00
|
|
|
ipnetwork = { version = ">=0.12.2, <0.17.0" }
|
|
|
|
num-bigint = { version = ">=0.1.41, <0.3" }
|
|
|
|
num-traits = { version = "0.2" }
|
|
|
|
num-integer = { version = "0.1.32" }
|
|
|
|
bigdecimal = { version = ">= 0.0.10, <= 0.1.0" }
|
|
|
|
bitflags = { version = "1.0" }
|
|
|
|
r2d2 = { version = ">= 0.8, < 0.9" }
|
2020-04-03 14:29:30 +02:00
|
|
|
log = "0.4"
|
|
|
|
pretty_env_logger = "0.4"
|
2020-03-27 12:17:27 +01:00
|
|
|
env_logger = "0.7"
|
|
|
|
futures = { version = "*" }
|
2020-04-17 14:10:05 +02:00
|
|
|
lettre = { version = "*" }
|
|
|
|
lettre_email = { version = "*" }
|
2020-03-27 12:17:27 +01:00
|
|
|
|
|
|
|
[dependencies.diesel]
|
|
|
|
version = "1.4.4"
|
|
|
|
features = [ "unstable", "postgres", "numeric", "extras", "uuidv07" ]
|
|
|
|
|
2020-04-01 13:29:43 +02:00
|
|
|
[dependencies.jirs-data]
|
|
|
|
path = "../jirs-data"
|
|
|
|
features = [ "backend" ]
|
2020-05-05 16:09:26 +02:00
|
|
|
|
|
|
|
# Amazon S3
|
|
|
|
[dependencies.rusoto_s3]
|
|
|
|
optional = true
|
|
|
|
version = "0.43.0"
|
|
|
|
|
|
|
|
[dependencies.rusoto_core]
|
|
|
|
optional = true
|
|
|
|
version = "0.43.0"
|
|
|
|
|
|
|
|
# Local storage
|
|
|
|
[dependencies.actix-files]
|
|
|
|
optional = true
|
|
|
|
version = "0.2.1"
|