-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
83 lines (74 loc) · 2.4 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
77
78
79
80
81
82
83
[package]
name = "carbonbond"
version = "0.1.0"
authors = ["金剛 <yc1043@gmail.com>", "石墨 <why8ther@gmail.com>"]
edition = "2018"
default-run = "server"
[dependencies]
http = "0.2.5"
tokio-stream = "0.1"
async-trait = "0.1.38"
chitin = { git = "https://github.com/carbon-bond/chitin", rev = "8c87dc" }
chrono = { version = "0.4.15", features = ["serde"] }
cookie = { version = "0.14.2", features = ["secure", "percent-encode"] }
derive_more = "0.99.9"
env_logger = "0.7.1"
hyper = { version = "0.14.4", optional = true }
reqwest = { version = "0.11", features = ["json"] }
log = "0.4.11"
rustyline = "6.2.0"
serde = { version = "1.0.115", features = ["derive"] }
serde_json = "1.0.57"
sqlx = { version = "0.5.11", default-features = false, features = [ "runtime-tokio-native-tls", "macros", "postgres", "chrono", "migrate", "any", "offline" ] }
state = { version = "0.4.1", features = ["const_fn", "tls"] }
structopt = { version ="0.3.17", default-features = false }
tempfile = "3.1.0"
time = "0.2.16"
tokio = { version = "1", features = ["full"] }
toml = "0.5.6"
typescript-definitions = { git = "https://github.com/carbon-bond/typescript-definitions" }
rand = "0.7.3"
rust-argon2 = { version = "0.8.2", optional = true }
redis = { version = "0.20.0", optional = true, features = ["tokio-comp"] }
lazy_static = "1.4.0"
strum = { version = "0.19", features = ["derive"] }
base64 = "0.13.0"
percent-encoding = "2.1.0"
warp = {version = "0.3.2", features = ["compression-gzip"]}
futures = "0.3.13"
urlencoding = "2.1.0"
lettre = { version = "0.10.2", features = ["tokio1-native-tls"]}
hex = "0.4.3"
hmac = "0.12.1"
sha2 = "0.10.6"
[dependencies.openssl]
version = "0.10.29"
features = [ "vendored" ]
[build-dependencies]
env_logger = "0.7.1"
toml = "0.5.6"
chitin = { git = "https://github.com/carbon-bond/chitin", rev = "8c87dc" }
log = "0.4.11"
derive_more = "0.99.9"
chrono = { version = "0.4.15", features = ["serde"] }
serde = { version = "1.0.115", features = ["derive"] }
serde_json = "1.0.57"
typescript-definitions = { git = "https://github.com/carbon-bond/typescript-definitions" }
strum = { version = "0.19", features = ["derive"] }
[[bin]]
name = "server"
path = "src/bin/main.rs"
[[bin]]
name = "dbtool"
path = "src/bin/db_tool.rs"
[[bin]]
name = "prepare"
path = "src/bin/prepare.rs"
required-features = ["prepare"]
[lib]
doctest = false
[features]
default = ["hyper", "rust-argon2", "redis"]
prepare = []
[profile.release]
lto = true