This repository was archived by the owner on Sep 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
62 lines (51 loc) · 1.31 KB
/
Cargo.toml
File metadata and controls
62 lines (51 loc) · 1.31 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
[package]
name = "backend"
version = "0.4.0"
authors = ["Rishi Kothari <itsrishikothari@gmail.com>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
[[bin]]
path = "./src/main.rs"
name = "server"
required-features = [ "webserver" ]
[[bin]]
path = "./src/from_csv.rs"
name = "from_csv"
required-features = [ "csv_migration" ]
[features]
hcor_client = [ "hcor/client", "hcor/simultaneous_systems" ]
awc_test = [ "awc" ]
csv_migration = [ "csv", "regex" ]
webserver = [ ]
autoclose = [ ]
default = [ "webserver" ]
[dependencies]
# logging
log = "0.4"
pretty_env_logger = "0.4"
# util
rand = "0.7.3"
lazy_static = "1.4"
futures = "0.3"
# serialization/deserialization
csv = { version = "1.1", optional = true }
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
chrono = "0.4"
uuid = { version = "0.8", features = ["v4", "serde"] }
# web
actix-web = "2.0"
actix-rt = "1.0"
tokio = { version = "0.2.22", features = [ "macros" ] }
actix = "0.9.0"
actix-web-actors = "2.0.0"
regex = { version = "1.3.9", optional = true }
awc = { version = "1.0.1", optional = true }
bincode = "1.3.1"
futures-channel = "0.3.5"
[dependencies.hcor]
git = "https://github.com/hackagotchi/hcor.git"
branch = "slim"
# path = "../hcor"
features = [ "message_derive" ]