-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
109 lines (102 loc) · 2.68 KB
/
Copy pathCargo.toml
File metadata and controls
109 lines (102 loc) · 2.68 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
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
106
107
108
109
[package]
name = "api-framework"
version = "0.2.0"
edition = "2024"
[features]
env = []
env_github_token = ["env"]
env_max_retries = ["env"]
transactions = [
"workflow",
"dep:sha2",
"dep:zip",
"dep:async_zip",
"dep:sanitize-filename",
]
shutdown = ["dep:self-replace"]
workflow = ["env_github_token", "framework"]
framework = ["env_max_retries"]
full = ["transactions", "shutdown", "workflow", "framework"]
default = ["full"]
[dependencies]
anyhow = "1.0.98"
tracing = "0.1.41"
reqwest = { version = "0.12.22", features = ["json", "blocking", "stream"] }
serde = { version = "1.0.219", features = ["derive"] }
sha2 = { version = "0.10.9", optional = true }
zip = { version = "4.3.0", default-features = false, features = [
"deflate",
], optional = true }
parking_lot = "0.12"
futures = "0.3"
async_zip = { version = "=0.0.17", features = [
"async-compression",
"deflate",
"bzip2",
"lzma",
"xz",
"zstd",
"deflate64",
], optional = true }
tokio = { version = "1.47", features = [
"macros",
"fs",
"rt-multi-thread",
"sync",
"signal",
] }
tokio-util = { version = "0.7", features = ["io", "compat"] }
sanitize-filename = { version = "0.6.0", optional = true }
self-replace = { version = "1.5.0", optional = true }
hex = "0.4.3"
chrono = "0.4.41"
[workspace.lints.rust]
missing-docs = "warn"
missing-debug-implementations = "warn"
let-underscore-drop = "warn"
single-use-lifetimes = "warn"
trivial-numeric-casts = "warn"
elided-lifetimes-in-paths = "deny"
unused-lifetimes = "forbid"
unused-macro-rules = "warn"
unused-qualifications = "warn"
variant-size-differences = "warn"
dyn-drop = "forbid"
ellipsis-inclusive-range-patterns = "forbid"
exported-private-dependencies = "forbid"
uncommon-codepoints = "deny"
[workspace.lints.clippy]
missing-panics-doc = "warn"
missing-errors-doc = "warn"
cloned-instead-of-copied = "warn"
future-not-send = "warn"
if-not-else = "warn"
if-then-some-else-none = "warn"
impl-trait-in-params = "warn"
macro-use-imports = "deny"
exhaustive-enums = "warn"
str-to-string = "warn"
iter-without-into-iter = "warn"
decimal-literal-representation = "warn"
ref-as-ptr = "warn"
unused-trait-names = "warn"
unnecessary-semicolon = "warn"
unnecessary-debug-formatting = "warn"
too-long-first-doc-paragraph = "warn"
ref-option = "warn"
redundant-test-prefix = "warn"
map-with-unused-argument-over-ranges = "warn"
manual-midpoint = "warn"
manual-is-power-of-two = "warn"
ip-constant = "warn"
elidable-lifetime-names = "warn"
coerce-container-to-any = "warn"
todo = "warn"
inline-always = "warn"
# multiple-crate-versions = "warn"
use-self = "warn"
useless-let-if-seq = "warn"
suboptimal-flops = "warn"
redundant-clone = "warn"
[lints]
workspace = true