-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathCargo.toml
105 lines (100 loc) · 3.27 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
[package]
name = "telegram-onedrive"
version = "4.0.5"
authors = ["L-ING <hlf01@icloud.com>"]
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[workspace]
members = ["lib/*"]
[lints.clippy]
let_unit_value = "allow"
redundant_closure_call = "allow"
pedantic = { level = "warn", priority = -1 }
cast_possible_wrap = "allow"
cast_possible_truncation = "allow"
cast_sign_loss = "allow"
cast_precision_loss = "allow"
module_name_repetitions = "allow"
too_many_lines = "allow"
redundant_closure_for_method_calls = "allow"
struct_field_names = "allow"
uninlined_format_args = "allow"
unreadable_literal = "allow"
nursery = { level = "warn", priority = -1 }
derive_partial_eq_without_eq = "allow"
future_not_send = "allow"
significant_drop_tightening = "allow"
[profile.release]
codegen-units = 1
lto = true
opt-level = 'z'
debug = true
overflow-checks = true
[dependencies]
proc_macros = { path = "./lib/proc_macros" }
anyhow = { version = "1.0.94", default-features = false, features = [
"std",
"backtrace",
] }
axum = { version = "0.7.9", default-features = false, features = [
"tokio",
"http1",
"json",
"query",
"macros",
] }
axum-server = { version = "0.6.0", default-features = false, features = [
"tls-rustls",
] }
ansi_term = { version = "0.12.1", default-features = false }
base64 = { version = "0.22.1", default-features = false, features = ["std"] }
chrono = { version = "0.4.39", default-features = false }
du = { version = "0.1.1", default-features = false }
futures = { version = "0.3.31", default-features = false }
grammers-client = { git = "https://github.com/Lonami/grammers.git", rev = "3d0b640f731606ff07841d9f38f54640fcf3d067", default-features = false, features = [
"html",
"fs",
] }
mime_guess = { version = "2.0.5", default-features = false }
onedrive-api = { version = "0.10.0", default-features = false }
percent-encoding = { version = "2.3.1", default-features = false }
path-slash = { version = "0.2.1", default-features = false }
rcgen = { version = "0.13.1", default-features = false, features = [
"crypto",
"ring",
"pem",
] }
regex = { version = "1.11.1", default-features = false }
reqwest = { version = "0.12.12", default-features = false, features = [
"native-tls",
"stream",
] }
rand = { version = "0.8.5", default-features = false, features = [
"std",
"std_rng",
] }
serde = { version = "1.0.216", default-features = false }
serde_json = { version = "1.0.133", default-features = false }
sea-orm = { version = "0.12.15", default-features = false, features = [
"sqlx-sqlite",
"runtime-tokio-rustls",
"macros",
] }
tokio = { version = "1.42.0", default-features = false, features = [
"macros",
"rt-multi-thread",
"fs",
] }
tokio-util = { version = "0.7.13", default-features = false }
tracing = { version = "0.1.41", default-features = false }
tracing-appender = { version = "0.2.3", default-features = false }
tracing-subscriber = { version = "0.3.19", default-features = false, features = [
"env-filter",
"chrono",
] }
tracing-log = { version = "0.2.0", default-features = false, features = [
"std",
"log-tracer",
] }
url = { version = "2.5.4", default-features = false }
zip = { version = "2.2.1", default-features = false, features = ["time"] }