forked from ff522/dm-ticket
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
47 lines (38 loc) · 1.16 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
[package]
name = "dm-ticket"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
serde = {version = "1.0.148", features = ["derive"]}
serde_json = {version = "1.0.89", default-features = false, features = ["alloc"]}
serde_yaml = "0.9.21"
schemars = "0.8.12"
tokio = { version = "1.21.2", default-features = false, features = ["macros", "rt-multi-thread", "signal", "time", "fs"] }
reqwest = {version="0.11.12", default-features=false, features = ["json", "rustls-tls", "cookies", "multipart"]}
anyhow = {version="1.0.66"}
log={version="0.4.17"}
pretty_env_logger="0.4.0"
md5 = {version="0.7.0"}
dotenv = {version= "0.15.0"}
futures = {version="0.3.28"}
chrono = {version="0.4.24", features = ["unstable-locales"] }
async-channel={version = "1.8"}
urlencoding = {version = "2.1.2"}
fast_qr = "0.8.5"
image = {version = "0.24.6"}
rqrr = {version = "0.6.0"}
bytes = "1"
rand={version="0.8.5"}
[[bin]]
name = "dm-login"
path = "src/bin/login.rs"
[[bin]]
name = "dm-ticket"
path = "src/bin/ticket.rs"
[profile.release]
lto = true
opt-level="z"
codegen-units = 1
panic = "abort"
strip = true