-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
83 lines (72 loc) · 1.84 KB
/
Cargo.toml
File metadata and controls
83 lines (72 loc) · 1.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
[package]
name = "div_api"
version = "0.1.0"
authors = ["Chris P <chrisp1877@gmail.com>"]
edition = "2018"
default-run = "main"
[lib]
path = "src/lib.rs"
[[bin]]
name = "main"
path = "src/bin/main.rs"
[[bin]]
name = "gql"
path = "src/bin/gql.rs"
required-features= ["gql"]
[dependencies]
tokio = { version = "1.0.2", features = [ "full" ] }
serde = { version = "*", features = [ "derive" ] }
chrono = { version = "*", features= [ "serde" ] }
uuid = { version = "0.8", features= [ "v4", "serde" ] }
toml = "*"
url = "2"
futures = "0.3"
serde_json = { version = "*", features = ["preserve_order"] }
actix-service = "*"
actix = "*"
actix-rt = "*"
actix-web = "3"
actix-cors = "0.5.4"
# actix-files = "*"
async-trait = "*"
actix-web-actors = "*"
actix-session="0.4.0"
actix-multipart = "*"
actix-redis = "*"
actix-web-validator = "2.0.3"
derive_more = "*"
# reqwest = { version="*", features = ["json"] }
async-graphql = { version = "*", optional= true }
async-graphql-actix-web = { version = "*", optional = true }
rusoto_core = { version = "*", optional = true }
rusoto_cognito_idp = { version = "*", optional = true }
rusoto_cognito_identity = { version = "*", optional = true }
div_db = { path = "./di-db/" }
div_com = { path = "./di-comm/" }
div_cloud = { path = "./di-cloud/" }
log = "0.4.13"
env_logger= "0.8.2"
tera = "1.6.1"
jsonwebtoken = "7.2.0"
juniper = "0.15.2"
rust_decimal = { version = "1.6.0", features = [ "serde-float" ] }
anyhow = "*"
prometheus = "*"
actix-web-prom = "0.5.1"
dotenv = "0.15.0"
actix-web-httpauth = "0.5.0"
rust-argon2 = "0.8.3"
strum = "0.20.0"
strum_macros = "0.20.1"
[features]
default=[]
graphql=["div_db/gql", "async-graphql", "async-graphql-actix-web"]
cognito=["rusoto_core", "rusoto_cognito_identity", "rusoto_cognito_idp"]
[alias]
r = "run"
b = "build"
[profile.release]
lto = true
opt-level = 'z'
codegen-units = 1
panic = 'abort'