-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
76 lines (64 loc) · 1.92 KB
/
Cargo.toml
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
[workspace]
members = [
"backend/common/communication",
"backend/graphql-api",
"backend/db/crypto",
"backend/db/user",
"backend/collectors/common",
"backend/collectors/chainlink",
"backend/collectors/cryptocompare",
"backend/collectors/coingecko",
"backend/collectors/gateio",
"backend/aggregator",
"backend/user-service",
"backend/notification-service",
"backend/telegram-notification",
]
[workspace.package]
authors = ["Artur-Yurii Korchynskyui <[email protected]>"]
edition = "2021"
repository = "http://github.com/akorchyn/coinsight"
[workspace.dependencies]
# Common
dotenvy = "0.15.7"
thiserror = "1.0"
anyhow = "1.0"
bigdecimal = "0.3"
chrono = { version = "0.4", default-features = false, features = [
"serde",
"clock",
"std",
] }
tokio = { version = "1", features = ["full"] }
reqwest = { version = "0.11", features = ["json", "stream", "trust-dns"] }
futures = "0.3"
serde = "1.0"
serde_json = "1.0"
## GRPC releated
tonic = "0.9"
tonic-build = "0.9"
prost = "0.11"
prost-types = "0.11"
## GraphQL releated
juniper = { git = "https://github.com/graphql-rust/juniper.git", branch = "master" }
juniper_rocket = { git = "https://github.com/graphql-rust/juniper.git", branch = "master" }
hyper = { version = "0.14", features = ["client"] }
## Web releated
rocket = { version = "0.5.0-rc.3", default-features = false }
rocket_cors = "0.6.0-alpha2"
## Db
diesel = "2.0"
diesel-async = "0.2"
## collectors
ethers = { version = "2.0.0", features = ["legacy", "abigen"] }
## User service
rust-argon2 = "1.0" # Argon2 password hashing
rand = "0.8" # Random salt generator
hmac = "0.12"
jwt = "0.16"
sha2 = "0.10"
# Our crates (CS for Coinsight, B for Backend)
csb-comm = { path = "backend/common/communication" }
csb-db-crypto = { path = "backend/db/crypto" }
csb-db-user = { path = "backend/db/user" }
csb-collector-common = { path = "backend/collectors/common" }