Smasduq commited on
Commit
2156b71
·
0 Parent(s):

Deploy Monteeq Video Service to Hugging Face Spaces

Browse files
Files changed (11) hide show
  1. .gitignore +6 -0
  2. Cargo.lock +3038 -0
  3. Cargo.toml +26 -0
  4. Dockerfile +58 -0
  5. README.md +43 -0
  6. src/main.rs +153 -0
  7. src/models.rs +26 -0
  8. src/queue.rs +76 -0
  9. src/storage.rs +118 -0
  10. src/transcoder.rs +305 -0
  11. src/worker.rs +147 -0
.gitignore ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ /target/
2
+ .env
3
+ video_service.log
4
+ *.jpg
5
+ *_hls/
6
+ /monteeq/
Cargo.lock ADDED
@@ -0,0 +1,3038 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # This file is automatically @generated by Cargo.
2
+ # It is not intended for manual editing.
3
+ version = 4
4
+
5
+ [[package]]
6
+ name = "allocator-api2"
7
+ version = "0.2.21"
8
+ source = "registry+https://github.com/rust-lang/crates.io-index"
9
+ checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923"
10
+
11
+ [[package]]
12
+ name = "anyhow"
13
+ version = "1.0.100"
14
+ source = "registry+https://github.com/rust-lang/crates.io-index"
15
+ checksum = "a23eb6b1614318a8071c9b2521f36b424b2c83db5eb3a0fead4a6c0809af6e61"
16
+
17
+ [[package]]
18
+ name = "arc-swap"
19
+ version = "1.9.1"
20
+ source = "registry+https://github.com/rust-lang/crates.io-index"
21
+ checksum = "6a3a1fd6f75306b68087b831f025c712524bcb19aad54e557b1129cfa0a2b207"
22
+ dependencies = [
23
+ "rustversion",
24
+ ]
25
+
26
+ [[package]]
27
+ name = "async-trait"
28
+ version = "0.1.89"
29
+ source = "registry+https://github.com/rust-lang/crates.io-index"
30
+ checksum = "9035ad2d096bed7955a320ee7e2230574d28fd3c3a0f186cbea1ff3c7eed5dbb"
31
+ dependencies = [
32
+ "proc-macro2",
33
+ "quote",
34
+ "syn",
35
+ ]
36
+
37
+ [[package]]
38
+ name = "atomic-waker"
39
+ version = "1.1.2"
40
+ source = "registry+https://github.com/rust-lang/crates.io-index"
41
+ checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0"
42
+
43
+ [[package]]
44
+ name = "autocfg"
45
+ version = "1.5.0"
46
+ source = "registry+https://github.com/rust-lang/crates.io-index"
47
+ checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
48
+
49
+ [[package]]
50
+ name = "aws-config"
51
+ version = "1.8.14"
52
+ source = "registry+https://github.com/rust-lang/crates.io-index"
53
+ checksum = "8a8fc176d53d6fe85017f230405e3255cedb4a02221cb55ed6d76dccbbb099b2"
54
+ dependencies = [
55
+ "aws-credential-types",
56
+ "aws-runtime",
57
+ "aws-sdk-sso",
58
+ "aws-sdk-ssooidc",
59
+ "aws-sdk-sts",
60
+ "aws-smithy-async",
61
+ "aws-smithy-http",
62
+ "aws-smithy-json",
63
+ "aws-smithy-runtime",
64
+ "aws-smithy-runtime-api",
65
+ "aws-smithy-types",
66
+ "aws-types",
67
+ "bytes",
68
+ "fastrand",
69
+ "hex",
70
+ "http 1.4.0",
71
+ "ring",
72
+ "time",
73
+ "tokio",
74
+ "tracing",
75
+ "url",
76
+ "zeroize",
77
+ ]
78
+
79
+ [[package]]
80
+ name = "aws-credential-types"
81
+ version = "1.2.13"
82
+ source = "registry+https://github.com/rust-lang/crates.io-index"
83
+ checksum = "6d203b0bf2626dcba8665f5cd0871d7c2c0930223d6b6be9097592fea21242d0"
84
+ dependencies = [
85
+ "aws-smithy-async",
86
+ "aws-smithy-runtime-api",
87
+ "aws-smithy-types",
88
+ "zeroize",
89
+ ]
90
+
91
+ [[package]]
92
+ name = "aws-lc-rs"
93
+ version = "1.16.3"
94
+ source = "registry+https://github.com/rust-lang/crates.io-index"
95
+ checksum = "0ec6fb3fe69024a75fa7e1bfb48aa6cf59706a101658ea01bfd33b2b248a038f"
96
+ dependencies = [
97
+ "aws-lc-sys",
98
+ "zeroize",
99
+ ]
100
+
101
+ [[package]]
102
+ name = "aws-lc-sys"
103
+ version = "0.40.0"
104
+ source = "registry+https://github.com/rust-lang/crates.io-index"
105
+ checksum = "f50037ee5e1e41e7b8f9d161680a725bd1626cb6f8c7e901f91f942850852fe7"
106
+ dependencies = [
107
+ "cc",
108
+ "cmake",
109
+ "dunce",
110
+ "fs_extra",
111
+ ]
112
+
113
+ [[package]]
114
+ name = "aws-runtime"
115
+ version = "1.7.1"
116
+ source = "registry+https://github.com/rust-lang/crates.io-index"
117
+ checksum = "ede2ddc593e6c8acc6ce3358c28d6677a6dc49b65ba4b37a2befe14a11297e75"
118
+ dependencies = [
119
+ "aws-credential-types",
120
+ "aws-sigv4",
121
+ "aws-smithy-async",
122
+ "aws-smithy-eventstream",
123
+ "aws-smithy-http",
124
+ "aws-smithy-runtime",
125
+ "aws-smithy-runtime-api",
126
+ "aws-smithy-types",
127
+ "aws-types",
128
+ "bytes",
129
+ "bytes-utils",
130
+ "fastrand",
131
+ "http 0.2.12",
132
+ "http 1.4.0",
133
+ "http-body 0.4.6",
134
+ "http-body 1.0.1",
135
+ "percent-encoding",
136
+ "pin-project-lite",
137
+ "tracing",
138
+ "uuid",
139
+ ]
140
+
141
+ [[package]]
142
+ name = "aws-sdk-s3"
143
+ version = "1.124.0"
144
+ source = "registry+https://github.com/rust-lang/crates.io-index"
145
+ checksum = "744c09d75dfec039a05cf8e117c995ded3b0baffa6eb83f3ed7075a01d8d8947"
146
+ dependencies = [
147
+ "aws-credential-types",
148
+ "aws-runtime",
149
+ "aws-sigv4",
150
+ "aws-smithy-async",
151
+ "aws-smithy-checksums",
152
+ "aws-smithy-eventstream",
153
+ "aws-smithy-http",
154
+ "aws-smithy-json",
155
+ "aws-smithy-observability",
156
+ "aws-smithy-runtime",
157
+ "aws-smithy-runtime-api",
158
+ "aws-smithy-types",
159
+ "aws-smithy-xml",
160
+ "aws-types",
161
+ "bytes",
162
+ "fastrand",
163
+ "hex",
164
+ "hmac",
165
+ "http 0.2.12",
166
+ "http 1.4.0",
167
+ "http-body 1.0.1",
168
+ "lru",
169
+ "percent-encoding",
170
+ "regex-lite",
171
+ "sha2",
172
+ "tracing",
173
+ "url",
174
+ ]
175
+
176
+ [[package]]
177
+ name = "aws-sdk-sso"
178
+ version = "1.95.0"
179
+ source = "registry+https://github.com/rust-lang/crates.io-index"
180
+ checksum = "00c5ff27c6ba2cbd95e6e26e2e736676fdf6bcf96495b187733f521cfe4ce448"
181
+ dependencies = [
182
+ "aws-credential-types",
183
+ "aws-runtime",
184
+ "aws-smithy-async",
185
+ "aws-smithy-http",
186
+ "aws-smithy-json",
187
+ "aws-smithy-observability",
188
+ "aws-smithy-runtime",
189
+ "aws-smithy-runtime-api",
190
+ "aws-smithy-types",
191
+ "aws-types",
192
+ "bytes",
193
+ "fastrand",
194
+ "http 0.2.12",
195
+ "http 1.4.0",
196
+ "regex-lite",
197
+ "tracing",
198
+ ]
199
+
200
+ [[package]]
201
+ name = "aws-sdk-ssooidc"
202
+ version = "1.97.0"
203
+ source = "registry+https://github.com/rust-lang/crates.io-index"
204
+ checksum = "4d186f1e5a3694a188e5a0640b3115ccc6e084d104e16fd6ba968dca072ffef8"
205
+ dependencies = [
206
+ "aws-credential-types",
207
+ "aws-runtime",
208
+ "aws-smithy-async",
209
+ "aws-smithy-http",
210
+ "aws-smithy-json",
211
+ "aws-smithy-observability",
212
+ "aws-smithy-runtime",
213
+ "aws-smithy-runtime-api",
214
+ "aws-smithy-types",
215
+ "aws-types",
216
+ "bytes",
217
+ "fastrand",
218
+ "http 0.2.12",
219
+ "http 1.4.0",
220
+ "regex-lite",
221
+ "tracing",
222
+ ]
223
+
224
+ [[package]]
225
+ name = "aws-sdk-sts"
226
+ version = "1.99.0"
227
+ source = "registry+https://github.com/rust-lang/crates.io-index"
228
+ checksum = "9acba7c62f3d4e2408fa998a3a8caacd8b9a5b5549cf36e2372fbdae329d5449"
229
+ dependencies = [
230
+ "aws-credential-types",
231
+ "aws-runtime",
232
+ "aws-smithy-async",
233
+ "aws-smithy-http",
234
+ "aws-smithy-json",
235
+ "aws-smithy-observability",
236
+ "aws-smithy-query",
237
+ "aws-smithy-runtime",
238
+ "aws-smithy-runtime-api",
239
+ "aws-smithy-types",
240
+ "aws-smithy-xml",
241
+ "aws-types",
242
+ "fastrand",
243
+ "http 0.2.12",
244
+ "http 1.4.0",
245
+ "regex-lite",
246
+ "tracing",
247
+ ]
248
+
249
+ [[package]]
250
+ name = "aws-sigv4"
251
+ version = "1.4.1"
252
+ source = "registry+https://github.com/rust-lang/crates.io-index"
253
+ checksum = "37411f8e0f4bea0c3ca0958ce7f18f6439db24d555dbd809787262cd00926aa9"
254
+ dependencies = [
255
+ "aws-credential-types",
256
+ "aws-smithy-eventstream",
257
+ "aws-smithy-http",
258
+ "aws-smithy-runtime-api",
259
+ "aws-smithy-types",
260
+ "bytes",
261
+ "crypto-bigint 0.5.5",
262
+ "form_urlencoded",
263
+ "hex",
264
+ "hmac",
265
+ "http 0.2.12",
266
+ "http 1.4.0",
267
+ "p256",
268
+ "percent-encoding",
269
+ "ring",
270
+ "sha2",
271
+ "subtle",
272
+ "time",
273
+ "tracing",
274
+ "zeroize",
275
+ ]
276
+
277
+ [[package]]
278
+ name = "aws-smithy-async"
279
+ version = "1.2.14"
280
+ source = "registry+https://github.com/rust-lang/crates.io-index"
281
+ checksum = "2ffcaf626bdda484571968400c326a244598634dc75fd451325a54ad1a59acfc"
282
+ dependencies = [
283
+ "futures-util",
284
+ "pin-project-lite",
285
+ "tokio",
286
+ ]
287
+
288
+ [[package]]
289
+ name = "aws-smithy-checksums"
290
+ version = "0.64.5"
291
+ source = "registry+https://github.com/rust-lang/crates.io-index"
292
+ checksum = "180dddf5ef0f52a2f99e2fada10e16ea610e507ef6148a42bdc4d5867596aa00"
293
+ dependencies = [
294
+ "aws-smithy-http",
295
+ "aws-smithy-types",
296
+ "bytes",
297
+ "crc-fast",
298
+ "hex",
299
+ "http 1.4.0",
300
+ "http-body 1.0.1",
301
+ "http-body-util",
302
+ "md-5",
303
+ "pin-project-lite",
304
+ "sha1",
305
+ "sha2",
306
+ "tracing",
307
+ ]
308
+
309
+ [[package]]
310
+ name = "aws-smithy-eventstream"
311
+ version = "0.60.19"
312
+ source = "registry+https://github.com/rust-lang/crates.io-index"
313
+ checksum = "1c0b3e587fbaa5d7f7e870544508af8ce82ea47cd30376e69e1e37c4ac746f79"
314
+ dependencies = [
315
+ "aws-smithy-types",
316
+ "bytes",
317
+ "crc32fast",
318
+ ]
319
+
320
+ [[package]]
321
+ name = "aws-smithy-http"
322
+ version = "0.63.5"
323
+ source = "registry+https://github.com/rust-lang/crates.io-index"
324
+ checksum = "d619373d490ad70966994801bc126846afaa0d1ee920697a031f0cf63f2568e7"
325
+ dependencies = [
326
+ "aws-smithy-eventstream",
327
+ "aws-smithy-runtime-api",
328
+ "aws-smithy-types",
329
+ "bytes",
330
+ "bytes-utils",
331
+ "futures-core",
332
+ "futures-util",
333
+ "http 1.4.0",
334
+ "http-body 1.0.1",
335
+ "http-body-util",
336
+ "percent-encoding",
337
+ "pin-project-lite",
338
+ "pin-utils",
339
+ "tracing",
340
+ ]
341
+
342
+ [[package]]
343
+ name = "aws-smithy-http-client"
344
+ version = "1.1.11"
345
+ source = "registry+https://github.com/rust-lang/crates.io-index"
346
+ checksum = "00ccbb08c10f6bcf912f398188e42ee2eab5f1767ce215a02a73bc5df1bbdd95"
347
+ dependencies = [
348
+ "aws-smithy-async",
349
+ "aws-smithy-runtime-api",
350
+ "aws-smithy-types",
351
+ "h2 0.3.27",
352
+ "h2 0.4.14",
353
+ "http 0.2.12",
354
+ "http 1.4.0",
355
+ "http-body 0.4.6",
356
+ "hyper 0.14.32",
357
+ "hyper 1.8.1",
358
+ "hyper-rustls 0.24.2",
359
+ "hyper-rustls 0.27.9",
360
+ "hyper-util",
361
+ "pin-project-lite",
362
+ "rustls 0.21.12",
363
+ "rustls 0.23.40",
364
+ "rustls-native-certs 0.8.3",
365
+ "rustls-pki-types",
366
+ "tokio",
367
+ "tokio-rustls 0.26.4",
368
+ "tower",
369
+ "tracing",
370
+ ]
371
+
372
+ [[package]]
373
+ name = "aws-smithy-json"
374
+ version = "0.62.4"
375
+ source = "registry+https://github.com/rust-lang/crates.io-index"
376
+ checksum = "27b3a779093e18cad88bbae08dc4261e1d95018c4c5b9356a52bcae7c0b6e9bb"
377
+ dependencies = [
378
+ "aws-smithy-types",
379
+ ]
380
+
381
+ [[package]]
382
+ name = "aws-smithy-observability"
383
+ version = "0.2.5"
384
+ source = "registry+https://github.com/rust-lang/crates.io-index"
385
+ checksum = "4d3f39d5bb871aaf461d59144557f16d5927a5248a983a40654d9cf3b9ba183b"
386
+ dependencies = [
387
+ "aws-smithy-runtime-api",
388
+ ]
389
+
390
+ [[package]]
391
+ name = "aws-smithy-query"
392
+ version = "0.60.14"
393
+ source = "registry+https://github.com/rust-lang/crates.io-index"
394
+ checksum = "05f76a580e3d8f8961e5d48763214025a2af65c2fa4cd1fb7f270a0e107a71b0"
395
+ dependencies = [
396
+ "aws-smithy-types",
397
+ "urlencoding",
398
+ ]
399
+
400
+ [[package]]
401
+ name = "aws-smithy-runtime"
402
+ version = "1.10.2"
403
+ source = "registry+https://github.com/rust-lang/crates.io-index"
404
+ checksum = "22ccf7f6eba8b2dcf8ce9b74806c6c185659c311665c4bf8d6e71ebd454db6bf"
405
+ dependencies = [
406
+ "aws-smithy-async",
407
+ "aws-smithy-http",
408
+ "aws-smithy-http-client",
409
+ "aws-smithy-observability",
410
+ "aws-smithy-runtime-api",
411
+ "aws-smithy-types",
412
+ "bytes",
413
+ "fastrand",
414
+ "http 0.2.12",
415
+ "http 1.4.0",
416
+ "http-body 0.4.6",
417
+ "http-body 1.0.1",
418
+ "http-body-util",
419
+ "pin-project-lite",
420
+ "pin-utils",
421
+ "tokio",
422
+ "tracing",
423
+ ]
424
+
425
+ [[package]]
426
+ name = "aws-smithy-runtime-api"
427
+ version = "1.11.5"
428
+ source = "registry+https://github.com/rust-lang/crates.io-index"
429
+ checksum = "b4af6e5def28be846479bbeac55aa4603d6f7986fc5da4601ba324dd5d377516"
430
+ dependencies = [
431
+ "aws-smithy-async",
432
+ "aws-smithy-types",
433
+ "bytes",
434
+ "http 0.2.12",
435
+ "http 1.4.0",
436
+ "pin-project-lite",
437
+ "tokio",
438
+ "tracing",
439
+ "zeroize",
440
+ ]
441
+
442
+ [[package]]
443
+ name = "aws-smithy-types"
444
+ version = "1.4.5"
445
+ source = "registry+https://github.com/rust-lang/crates.io-index"
446
+ checksum = "8ca2734c16913a45343b37313605d84e7d8b34a4611598ce1d25b35860a2bed3"
447
+ dependencies = [
448
+ "base64-simd",
449
+ "bytes",
450
+ "bytes-utils",
451
+ "futures-core",
452
+ "http 0.2.12",
453
+ "http 1.4.0",
454
+ "http-body 0.4.6",
455
+ "http-body 1.0.1",
456
+ "http-body-util",
457
+ "itoa",
458
+ "num-integer",
459
+ "pin-project-lite",
460
+ "pin-utils",
461
+ "ryu",
462
+ "serde",
463
+ "time",
464
+ "tokio",
465
+ "tokio-util",
466
+ ]
467
+
468
+ [[package]]
469
+ name = "aws-smithy-xml"
470
+ version = "0.60.15"
471
+ source = "registry+https://github.com/rust-lang/crates.io-index"
472
+ checksum = "0ce02add1aa3677d022f8adf81dcbe3046a95f17a1b1e8979c145cd21d3d22b3"
473
+ dependencies = [
474
+ "xmlparser",
475
+ ]
476
+
477
+ [[package]]
478
+ name = "aws-types"
479
+ version = "1.3.13"
480
+ source = "registry+https://github.com/rust-lang/crates.io-index"
481
+ checksum = "0470cc047657c6e286346bdf10a8719d26efd6a91626992e0e64481e44323e96"
482
+ dependencies = [
483
+ "aws-credential-types",
484
+ "aws-smithy-async",
485
+ "aws-smithy-runtime-api",
486
+ "aws-smithy-types",
487
+ "rustc_version",
488
+ "tracing",
489
+ ]
490
+
491
+ [[package]]
492
+ name = "axum"
493
+ version = "0.7.9"
494
+ source = "registry+https://github.com/rust-lang/crates.io-index"
495
+ checksum = "edca88bc138befd0323b20752846e6587272d3b03b0343c8ea28a6f819e6e71f"
496
+ dependencies = [
497
+ "async-trait",
498
+ "axum-core",
499
+ "axum-macros",
500
+ "bytes",
501
+ "futures-util",
502
+ "http 1.4.0",
503
+ "http-body 1.0.1",
504
+ "http-body-util",
505
+ "hyper 1.8.1",
506
+ "hyper-util",
507
+ "itoa",
508
+ "matchit",
509
+ "memchr",
510
+ "mime",
511
+ "multer",
512
+ "percent-encoding",
513
+ "pin-project-lite",
514
+ "rustversion",
515
+ "serde",
516
+ "serde_json",
517
+ "serde_path_to_error",
518
+ "serde_urlencoded",
519
+ "sync_wrapper",
520
+ "tokio",
521
+ "tower",
522
+ "tower-layer",
523
+ "tower-service",
524
+ "tracing",
525
+ ]
526
+
527
+ [[package]]
528
+ name = "axum-core"
529
+ version = "0.4.5"
530
+ source = "registry+https://github.com/rust-lang/crates.io-index"
531
+ checksum = "09f2bd6146b97ae3359fa0cc6d6b376d9539582c7b4220f041a33ec24c226199"
532
+ dependencies = [
533
+ "async-trait",
534
+ "bytes",
535
+ "futures-util",
536
+ "http 1.4.0",
537
+ "http-body 1.0.1",
538
+ "http-body-util",
539
+ "mime",
540
+ "pin-project-lite",
541
+ "rustversion",
542
+ "sync_wrapper",
543
+ "tower-layer",
544
+ "tower-service",
545
+ "tracing",
546
+ ]
547
+
548
+ [[package]]
549
+ name = "axum-macros"
550
+ version = "0.4.2"
551
+ source = "registry+https://github.com/rust-lang/crates.io-index"
552
+ checksum = "57d123550fa8d071b7255cb0cc04dc302baa6c8c4a79f55701552684d8399bce"
553
+ dependencies = [
554
+ "proc-macro2",
555
+ "quote",
556
+ "syn",
557
+ ]
558
+
559
+ [[package]]
560
+ name = "base16ct"
561
+ version = "0.1.1"
562
+ source = "registry+https://github.com/rust-lang/crates.io-index"
563
+ checksum = "349a06037c7bf932dd7e7d1f653678b2038b9ad46a74102f1fc7bd7872678cce"
564
+
565
+ [[package]]
566
+ name = "base64"
567
+ version = "0.21.7"
568
+ source = "registry+https://github.com/rust-lang/crates.io-index"
569
+ checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567"
570
+
571
+ [[package]]
572
+ name = "base64"
573
+ version = "0.22.1"
574
+ source = "registry+https://github.com/rust-lang/crates.io-index"
575
+ checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
576
+
577
+ [[package]]
578
+ name = "base64-simd"
579
+ version = "0.8.0"
580
+ source = "registry+https://github.com/rust-lang/crates.io-index"
581
+ checksum = "339abbe78e73178762e23bea9dfd08e697eb3f3301cd4be981c0f78ba5859195"
582
+ dependencies = [
583
+ "outref",
584
+ "vsimd",
585
+ ]
586
+
587
+ [[package]]
588
+ name = "base64ct"
589
+ version = "1.8.3"
590
+ source = "registry+https://github.com/rust-lang/crates.io-index"
591
+ checksum = "2af50177e190e07a26ab74f8b1efbfe2ef87da2116221318cb1c2e82baf7de06"
592
+
593
+ [[package]]
594
+ name = "bitflags"
595
+ version = "2.10.0"
596
+ source = "registry+https://github.com/rust-lang/crates.io-index"
597
+ checksum = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3"
598
+
599
+ [[package]]
600
+ name = "block-buffer"
601
+ version = "0.10.4"
602
+ source = "registry+https://github.com/rust-lang/crates.io-index"
603
+ checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
604
+ dependencies = [
605
+ "generic-array",
606
+ ]
607
+
608
+ [[package]]
609
+ name = "bumpalo"
610
+ version = "3.19.1"
611
+ source = "registry+https://github.com/rust-lang/crates.io-index"
612
+ checksum = "5dd9dc738b7a8311c7ade152424974d8115f2cdad61e8dab8dac9f2362298510"
613
+
614
+ [[package]]
615
+ name = "bytes"
616
+ version = "1.11.0"
617
+ source = "registry+https://github.com/rust-lang/crates.io-index"
618
+ checksum = "b35204fbdc0b3f4446b89fc1ac2cf84a8a68971995d0bf2e925ec7cd960f9cb3"
619
+
620
+ [[package]]
621
+ name = "bytes-utils"
622
+ version = "0.1.4"
623
+ source = "registry+https://github.com/rust-lang/crates.io-index"
624
+ checksum = "7dafe3a8757b027e2be6e4e5601ed563c55989fcf1546e933c66c8eb3a058d35"
625
+ dependencies = [
626
+ "bytes",
627
+ "either",
628
+ ]
629
+
630
+ [[package]]
631
+ name = "cc"
632
+ version = "1.2.60"
633
+ source = "registry+https://github.com/rust-lang/crates.io-index"
634
+ checksum = "43c5703da9466b66a946814e1adf53ea2c90f10063b86290cc9eb67ce3478a20"
635
+ dependencies = [
636
+ "find-msvc-tools",
637
+ "jobserver",
638
+ "libc",
639
+ "shlex",
640
+ ]
641
+
642
+ [[package]]
643
+ name = "cfg-if"
644
+ version = "1.0.4"
645
+ source = "registry+https://github.com/rust-lang/crates.io-index"
646
+ checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
647
+
648
+ [[package]]
649
+ name = "cmake"
650
+ version = "0.1.58"
651
+ source = "registry+https://github.com/rust-lang/crates.io-index"
652
+ checksum = "c0f78a02292a74a88ac736019ab962ece0bc380e3f977bf72e376c5d78ff0678"
653
+ dependencies = [
654
+ "cc",
655
+ ]
656
+
657
+ [[package]]
658
+ name = "const-oid"
659
+ version = "0.9.6"
660
+ source = "registry+https://github.com/rust-lang/crates.io-index"
661
+ checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8"
662
+
663
+ [[package]]
664
+ name = "cookie-factory"
665
+ version = "0.3.3"
666
+ source = "registry+https://github.com/rust-lang/crates.io-index"
667
+ checksum = "9885fa71e26b8ab7855e2ec7cae6e9b380edff76cd052e07c683a0319d51b3a2"
668
+ dependencies = [
669
+ "futures",
670
+ ]
671
+
672
+ [[package]]
673
+ name = "core-foundation"
674
+ version = "0.9.4"
675
+ source = "registry+https://github.com/rust-lang/crates.io-index"
676
+ checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f"
677
+ dependencies = [
678
+ "core-foundation-sys",
679
+ "libc",
680
+ ]
681
+
682
+ [[package]]
683
+ name = "core-foundation"
684
+ version = "0.10.1"
685
+ source = "registry+https://github.com/rust-lang/crates.io-index"
686
+ checksum = "b2a6cd9ae233e7f62ba4e9353e81a88df7fc8a5987b8d445b4d90c879bd156f6"
687
+ dependencies = [
688
+ "core-foundation-sys",
689
+ "libc",
690
+ ]
691
+
692
+ [[package]]
693
+ name = "core-foundation-sys"
694
+ version = "0.8.7"
695
+ source = "registry+https://github.com/rust-lang/crates.io-index"
696
+ checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
697
+
698
+ [[package]]
699
+ name = "cpufeatures"
700
+ version = "0.2.17"
701
+ source = "registry+https://github.com/rust-lang/crates.io-index"
702
+ checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280"
703
+ dependencies = [
704
+ "libc",
705
+ ]
706
+
707
+ [[package]]
708
+ name = "crc"
709
+ version = "3.3.0"
710
+ source = "registry+https://github.com/rust-lang/crates.io-index"
711
+ checksum = "9710d3b3739c2e349eb44fe848ad0b7c8cb1e42bd87ee49371df2f7acaf3e675"
712
+ dependencies = [
713
+ "crc-catalog",
714
+ ]
715
+
716
+ [[package]]
717
+ name = "crc-catalog"
718
+ version = "2.5.0"
719
+ source = "registry+https://github.com/rust-lang/crates.io-index"
720
+ checksum = "217698eaf96b4a3f0bc4f3662aaa55bdf913cd54d7204591faa790070c6d0853"
721
+
722
+ [[package]]
723
+ name = "crc-fast"
724
+ version = "1.9.0"
725
+ source = "registry+https://github.com/rust-lang/crates.io-index"
726
+ checksum = "2fd92aca2c6001b1bf5ba0ff84ee74ec8501b52bbef0cac80bf25a6c1d87a83d"
727
+ dependencies = [
728
+ "crc",
729
+ "digest",
730
+ "rustversion",
731
+ "spin 0.10.0",
732
+ ]
733
+
734
+ [[package]]
735
+ name = "crc16"
736
+ version = "0.4.0"
737
+ source = "registry+https://github.com/rust-lang/crates.io-index"
738
+ checksum = "338089f42c427b86394a5ee60ff321da23a5c89c9d89514c829687b26359fcff"
739
+
740
+ [[package]]
741
+ name = "crc32fast"
742
+ version = "1.5.0"
743
+ source = "registry+https://github.com/rust-lang/crates.io-index"
744
+ checksum = "9481c1c90cbf2ac953f07c8d4a58aa3945c425b7185c9154d67a65e4230da511"
745
+ dependencies = [
746
+ "cfg-if",
747
+ ]
748
+
749
+ [[package]]
750
+ name = "crossbeam-deque"
751
+ version = "0.8.6"
752
+ source = "registry+https://github.com/rust-lang/crates.io-index"
753
+ checksum = "9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51"
754
+ dependencies = [
755
+ "crossbeam-epoch",
756
+ "crossbeam-utils",
757
+ ]
758
+
759
+ [[package]]
760
+ name = "crossbeam-epoch"
761
+ version = "0.9.18"
762
+ source = "registry+https://github.com/rust-lang/crates.io-index"
763
+ checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e"
764
+ dependencies = [
765
+ "crossbeam-utils",
766
+ ]
767
+
768
+ [[package]]
769
+ name = "crossbeam-utils"
770
+ version = "0.8.21"
771
+ source = "registry+https://github.com/rust-lang/crates.io-index"
772
+ checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28"
773
+
774
+ [[package]]
775
+ name = "crypto-bigint"
776
+ version = "0.4.9"
777
+ source = "registry+https://github.com/rust-lang/crates.io-index"
778
+ checksum = "ef2b4b23cddf68b89b8f8069890e8c270d54e2d5fe1b143820234805e4cb17ef"
779
+ dependencies = [
780
+ "generic-array",
781
+ "rand_core",
782
+ "subtle",
783
+ "zeroize",
784
+ ]
785
+
786
+ [[package]]
787
+ name = "crypto-bigint"
788
+ version = "0.5.5"
789
+ source = "registry+https://github.com/rust-lang/crates.io-index"
790
+ checksum = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76"
791
+ dependencies = [
792
+ "rand_core",
793
+ "subtle",
794
+ ]
795
+
796
+ [[package]]
797
+ name = "crypto-common"
798
+ version = "0.1.7"
799
+ source = "registry+https://github.com/rust-lang/crates.io-index"
800
+ checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a"
801
+ dependencies = [
802
+ "generic-array",
803
+ "typenum",
804
+ ]
805
+
806
+ [[package]]
807
+ name = "dashmap"
808
+ version = "5.5.3"
809
+ source = "registry+https://github.com/rust-lang/crates.io-index"
810
+ checksum = "978747c1d849a7d2ee5e8adc0159961c48fb7e5db2f06af6723b80123bb53856"
811
+ dependencies = [
812
+ "cfg-if",
813
+ "hashbrown 0.14.5",
814
+ "lock_api",
815
+ "once_cell",
816
+ "parking_lot_core",
817
+ ]
818
+
819
+ [[package]]
820
+ name = "der"
821
+ version = "0.6.1"
822
+ source = "registry+https://github.com/rust-lang/crates.io-index"
823
+ checksum = "f1a467a65c5e759bce6e65eaf91cc29f466cdc57cb65777bd646872a8a1fd4de"
824
+ dependencies = [
825
+ "const-oid",
826
+ "zeroize",
827
+ ]
828
+
829
+ [[package]]
830
+ name = "deranged"
831
+ version = "0.5.8"
832
+ source = "registry+https://github.com/rust-lang/crates.io-index"
833
+ checksum = "7cd812cc2bc1d69d4764bd80df88b4317eaef9e773c75226407d9bc0876b211c"
834
+ dependencies = [
835
+ "powerfmt",
836
+ ]
837
+
838
+ [[package]]
839
+ name = "digest"
840
+ version = "0.10.7"
841
+ source = "registry+https://github.com/rust-lang/crates.io-index"
842
+ checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
843
+ dependencies = [
844
+ "block-buffer",
845
+ "crypto-common",
846
+ "subtle",
847
+ ]
848
+
849
+ [[package]]
850
+ name = "displaydoc"
851
+ version = "0.2.5"
852
+ source = "registry+https://github.com/rust-lang/crates.io-index"
853
+ checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0"
854
+ dependencies = [
855
+ "proc-macro2",
856
+ "quote",
857
+ "syn",
858
+ ]
859
+
860
+ [[package]]
861
+ name = "dotenvy"
862
+ version = "0.15.7"
863
+ source = "registry+https://github.com/rust-lang/crates.io-index"
864
+ checksum = "1aaf95b3e5c8f23aa320147307562d361db0ae0d51242340f558153b4eb2439b"
865
+
866
+ [[package]]
867
+ name = "dunce"
868
+ version = "1.0.5"
869
+ source = "registry+https://github.com/rust-lang/crates.io-index"
870
+ checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813"
871
+
872
+ [[package]]
873
+ name = "ecdsa"
874
+ version = "0.14.8"
875
+ source = "registry+https://github.com/rust-lang/crates.io-index"
876
+ checksum = "413301934810f597c1d19ca71c8710e99a3f1ba28a0d2ebc01551a2daeea3c5c"
877
+ dependencies = [
878
+ "der",
879
+ "elliptic-curve",
880
+ "rfc6979",
881
+ "signature",
882
+ ]
883
+
884
+ [[package]]
885
+ name = "either"
886
+ version = "1.15.0"
887
+ source = "registry+https://github.com/rust-lang/crates.io-index"
888
+ checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719"
889
+
890
+ [[package]]
891
+ name = "elliptic-curve"
892
+ version = "0.12.3"
893
+ source = "registry+https://github.com/rust-lang/crates.io-index"
894
+ checksum = "e7bb888ab5300a19b8e5bceef25ac745ad065f3c9f7efc6de1b91958110891d3"
895
+ dependencies = [
896
+ "base16ct",
897
+ "crypto-bigint 0.4.9",
898
+ "der",
899
+ "digest",
900
+ "ff",
901
+ "generic-array",
902
+ "group",
903
+ "pkcs8",
904
+ "rand_core",
905
+ "sec1",
906
+ "subtle",
907
+ "zeroize",
908
+ ]
909
+
910
+ [[package]]
911
+ name = "encoding_rs"
912
+ version = "0.8.35"
913
+ source = "registry+https://github.com/rust-lang/crates.io-index"
914
+ checksum = "75030f3c4f45dafd7586dd6780965a8c7e8e285a5ecb86713e63a79c5b2766f3"
915
+ dependencies = [
916
+ "cfg-if",
917
+ ]
918
+
919
+ [[package]]
920
+ name = "equivalent"
921
+ version = "1.0.2"
922
+ source = "registry+https://github.com/rust-lang/crates.io-index"
923
+ checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
924
+
925
+ [[package]]
926
+ name = "errno"
927
+ version = "0.3.14"
928
+ source = "registry+https://github.com/rust-lang/crates.io-index"
929
+ checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
930
+ dependencies = [
931
+ "libc",
932
+ "windows-sys 0.61.2",
933
+ ]
934
+
935
+ [[package]]
936
+ name = "fastrand"
937
+ version = "2.3.0"
938
+ source = "registry+https://github.com/rust-lang/crates.io-index"
939
+ checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be"
940
+
941
+ [[package]]
942
+ name = "ff"
943
+ version = "0.12.1"
944
+ source = "registry+https://github.com/rust-lang/crates.io-index"
945
+ checksum = "d013fc25338cc558c5c2cfbad646908fb23591e2404481826742b651c9af7160"
946
+ dependencies = [
947
+ "rand_core",
948
+ "subtle",
949
+ ]
950
+
951
+ [[package]]
952
+ name = "find-msvc-tools"
953
+ version = "0.1.9"
954
+ source = "registry+https://github.com/rust-lang/crates.io-index"
955
+ checksum = "5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582"
956
+
957
+ [[package]]
958
+ name = "float-cmp"
959
+ version = "0.9.0"
960
+ source = "registry+https://github.com/rust-lang/crates.io-index"
961
+ checksum = "98de4bbd547a563b716d8dfa9aad1cb19bfab00f4fa09a6a4ed21dbcf44ce9c4"
962
+ dependencies = [
963
+ "num-traits",
964
+ ]
965
+
966
+ [[package]]
967
+ name = "fnv"
968
+ version = "1.0.7"
969
+ source = "registry+https://github.com/rust-lang/crates.io-index"
970
+ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
971
+
972
+ [[package]]
973
+ name = "foldhash"
974
+ version = "0.2.0"
975
+ source = "registry+https://github.com/rust-lang/crates.io-index"
976
+ checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb"
977
+
978
+ [[package]]
979
+ name = "form_urlencoded"
980
+ version = "1.2.2"
981
+ source = "registry+https://github.com/rust-lang/crates.io-index"
982
+ checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf"
983
+ dependencies = [
984
+ "percent-encoding",
985
+ ]
986
+
987
+ [[package]]
988
+ name = "fred"
989
+ version = "7.1.2"
990
+ source = "registry+https://github.com/rust-lang/crates.io-index"
991
+ checksum = "b99c2b48934cd02a81032dd7428b7ae831a27794275bc94eba367418db8a9e55"
992
+ dependencies = [
993
+ "arc-swap",
994
+ "async-trait",
995
+ "bytes",
996
+ "bytes-utils",
997
+ "float-cmp",
998
+ "futures",
999
+ "lazy_static",
1000
+ "log",
1001
+ "parking_lot",
1002
+ "rand",
1003
+ "redis-protocol",
1004
+ "rustls 0.21.12",
1005
+ "rustls-native-certs 0.6.3",
1006
+ "rustls-webpki 0.101.7",
1007
+ "semver",
1008
+ "socket2 0.5.10",
1009
+ "tokio",
1010
+ "tokio-rustls 0.24.1",
1011
+ "tokio-stream",
1012
+ "tokio-util",
1013
+ "url",
1014
+ "urlencoding",
1015
+ ]
1016
+
1017
+ [[package]]
1018
+ name = "fs_extra"
1019
+ version = "1.3.0"
1020
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1021
+ checksum = "42703706b716c37f96a77aea830392ad231f44c9e9a67872fa5548707e11b11c"
1022
+
1023
+ [[package]]
1024
+ name = "futures"
1025
+ version = "0.3.31"
1026
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1027
+ checksum = "65bc07b1a8bc7c85c5f2e110c476c7389b4554ba72af57d8445ea63a576b0876"
1028
+ dependencies = [
1029
+ "futures-channel",
1030
+ "futures-core",
1031
+ "futures-executor",
1032
+ "futures-io",
1033
+ "futures-sink",
1034
+ "futures-task",
1035
+ "futures-util",
1036
+ ]
1037
+
1038
+ [[package]]
1039
+ name = "futures-channel"
1040
+ version = "0.3.31"
1041
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1042
+ checksum = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10"
1043
+ dependencies = [
1044
+ "futures-core",
1045
+ "futures-sink",
1046
+ ]
1047
+
1048
+ [[package]]
1049
+ name = "futures-core"
1050
+ version = "0.3.31"
1051
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1052
+ checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e"
1053
+
1054
+ [[package]]
1055
+ name = "futures-executor"
1056
+ version = "0.3.31"
1057
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1058
+ checksum = "1e28d1d997f585e54aebc3f97d39e72338912123a67330d723fdbb564d646c9f"
1059
+ dependencies = [
1060
+ "futures-core",
1061
+ "futures-task",
1062
+ "futures-util",
1063
+ ]
1064
+
1065
+ [[package]]
1066
+ name = "futures-io"
1067
+ version = "0.3.32"
1068
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1069
+ checksum = "cecba35d7ad927e23624b22ad55235f2239cfa44fd10428eecbeba6d6a717718"
1070
+
1071
+ [[package]]
1072
+ name = "futures-macro"
1073
+ version = "0.3.31"
1074
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1075
+ checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650"
1076
+ dependencies = [
1077
+ "proc-macro2",
1078
+ "quote",
1079
+ "syn",
1080
+ ]
1081
+
1082
+ [[package]]
1083
+ name = "futures-sink"
1084
+ version = "0.3.32"
1085
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1086
+ checksum = "c39754e157331b013978ec91992bde1ac089843443c49cbc7f46150b0fad0893"
1087
+
1088
+ [[package]]
1089
+ name = "futures-task"
1090
+ version = "0.3.31"
1091
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1092
+ checksum = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988"
1093
+
1094
+ [[package]]
1095
+ name = "futures-util"
1096
+ version = "0.3.31"
1097
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1098
+ checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81"
1099
+ dependencies = [
1100
+ "futures-channel",
1101
+ "futures-core",
1102
+ "futures-io",
1103
+ "futures-macro",
1104
+ "futures-sink",
1105
+ "futures-task",
1106
+ "memchr",
1107
+ "pin-project-lite",
1108
+ "pin-utils",
1109
+ "slab",
1110
+ ]
1111
+
1112
+ [[package]]
1113
+ name = "generic-array"
1114
+ version = "0.14.7"
1115
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1116
+ checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
1117
+ dependencies = [
1118
+ "typenum",
1119
+ "version_check",
1120
+ ]
1121
+
1122
+ [[package]]
1123
+ name = "getrandom"
1124
+ version = "0.2.17"
1125
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1126
+ checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0"
1127
+ dependencies = [
1128
+ "cfg-if",
1129
+ "libc",
1130
+ "wasi",
1131
+ ]
1132
+
1133
+ [[package]]
1134
+ name = "getrandom"
1135
+ version = "0.3.4"
1136
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1137
+ checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd"
1138
+ dependencies = [
1139
+ "cfg-if",
1140
+ "libc",
1141
+ "r-efi",
1142
+ "wasip2",
1143
+ ]
1144
+
1145
+ [[package]]
1146
+ name = "group"
1147
+ version = "0.12.1"
1148
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1149
+ checksum = "5dfbfb3a6cfbd390d5c9564ab283a0349b9b9fcd46a706c1eb10e0db70bfbac7"
1150
+ dependencies = [
1151
+ "ff",
1152
+ "rand_core",
1153
+ "subtle",
1154
+ ]
1155
+
1156
+ [[package]]
1157
+ name = "h2"
1158
+ version = "0.3.27"
1159
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1160
+ checksum = "0beca50380b1fc32983fc1cb4587bfa4bb9e78fc259aad4a0032d2080309222d"
1161
+ dependencies = [
1162
+ "bytes",
1163
+ "fnv",
1164
+ "futures-core",
1165
+ "futures-sink",
1166
+ "futures-util",
1167
+ "http 0.2.12",
1168
+ "indexmap",
1169
+ "slab",
1170
+ "tokio",
1171
+ "tokio-util",
1172
+ "tracing",
1173
+ ]
1174
+
1175
+ [[package]]
1176
+ name = "h2"
1177
+ version = "0.4.14"
1178
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1179
+ checksum = "171fefbc92fe4a4de27e0698d6a5b392d6a0e333506bc49133760b3bcf948733"
1180
+ dependencies = [
1181
+ "atomic-waker",
1182
+ "bytes",
1183
+ "fnv",
1184
+ "futures-core",
1185
+ "futures-sink",
1186
+ "http 1.4.0",
1187
+ "indexmap",
1188
+ "slab",
1189
+ "tokio",
1190
+ "tokio-util",
1191
+ "tracing",
1192
+ ]
1193
+
1194
+ [[package]]
1195
+ name = "hashbrown"
1196
+ version = "0.14.5"
1197
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1198
+ checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1"
1199
+
1200
+ [[package]]
1201
+ name = "hashbrown"
1202
+ version = "0.16.1"
1203
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1204
+ checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100"
1205
+ dependencies = [
1206
+ "allocator-api2",
1207
+ "equivalent",
1208
+ "foldhash",
1209
+ ]
1210
+
1211
+ [[package]]
1212
+ name = "hashbrown"
1213
+ version = "0.17.0"
1214
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1215
+ checksum = "4f467dd6dccf739c208452f8014c75c18bb8301b050ad1cfb27153803edb0f51"
1216
+
1217
+ [[package]]
1218
+ name = "hex"
1219
+ version = "0.4.3"
1220
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1221
+ checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"
1222
+
1223
+ [[package]]
1224
+ name = "hmac"
1225
+ version = "0.12.1"
1226
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1227
+ checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e"
1228
+ dependencies = [
1229
+ "digest",
1230
+ ]
1231
+
1232
+ [[package]]
1233
+ name = "http"
1234
+ version = "0.2.12"
1235
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1236
+ checksum = "601cbb57e577e2f5ef5be8e7b83f0f63994f25aa94d673e54a92d5c516d101f1"
1237
+ dependencies = [
1238
+ "bytes",
1239
+ "fnv",
1240
+ "itoa",
1241
+ ]
1242
+
1243
+ [[package]]
1244
+ name = "http"
1245
+ version = "1.4.0"
1246
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1247
+ checksum = "e3ba2a386d7f85a81f119ad7498ebe444d2e22c2af0b86b069416ace48b3311a"
1248
+ dependencies = [
1249
+ "bytes",
1250
+ "itoa",
1251
+ ]
1252
+
1253
+ [[package]]
1254
+ name = "http-body"
1255
+ version = "0.4.6"
1256
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1257
+ checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2"
1258
+ dependencies = [
1259
+ "bytes",
1260
+ "http 0.2.12",
1261
+ "pin-project-lite",
1262
+ ]
1263
+
1264
+ [[package]]
1265
+ name = "http-body"
1266
+ version = "1.0.1"
1267
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1268
+ checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184"
1269
+ dependencies = [
1270
+ "bytes",
1271
+ "http 1.4.0",
1272
+ ]
1273
+
1274
+ [[package]]
1275
+ name = "http-body-util"
1276
+ version = "0.1.3"
1277
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1278
+ checksum = "b021d93e26becf5dc7e1b75b1bed1fd93124b374ceb73f43d4d4eafec896a64a"
1279
+ dependencies = [
1280
+ "bytes",
1281
+ "futures-core",
1282
+ "http 1.4.0",
1283
+ "http-body 1.0.1",
1284
+ "pin-project-lite",
1285
+ ]
1286
+
1287
+ [[package]]
1288
+ name = "httparse"
1289
+ version = "1.10.1"
1290
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1291
+ checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87"
1292
+
1293
+ [[package]]
1294
+ name = "httpdate"
1295
+ version = "1.0.3"
1296
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1297
+ checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9"
1298
+
1299
+ [[package]]
1300
+ name = "hyper"
1301
+ version = "0.14.32"
1302
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1303
+ checksum = "41dfc780fdec9373c01bae43289ea34c972e40ee3c9f6b3c8801a35f35586ce7"
1304
+ dependencies = [
1305
+ "bytes",
1306
+ "futures-channel",
1307
+ "futures-core",
1308
+ "futures-util",
1309
+ "h2 0.3.27",
1310
+ "http 0.2.12",
1311
+ "http-body 0.4.6",
1312
+ "httparse",
1313
+ "httpdate",
1314
+ "itoa",
1315
+ "pin-project-lite",
1316
+ "socket2 0.5.10",
1317
+ "tokio",
1318
+ "tower-service",
1319
+ "tracing",
1320
+ "want",
1321
+ ]
1322
+
1323
+ [[package]]
1324
+ name = "hyper"
1325
+ version = "1.8.1"
1326
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1327
+ checksum = "2ab2d4f250c3d7b1c9fcdff1cece94ea4e2dfbec68614f7b87cb205f24ca9d11"
1328
+ dependencies = [
1329
+ "atomic-waker",
1330
+ "bytes",
1331
+ "futures-channel",
1332
+ "futures-core",
1333
+ "h2 0.4.14",
1334
+ "http 1.4.0",
1335
+ "http-body 1.0.1",
1336
+ "httparse",
1337
+ "httpdate",
1338
+ "itoa",
1339
+ "pin-project-lite",
1340
+ "pin-utils",
1341
+ "smallvec",
1342
+ "tokio",
1343
+ "want",
1344
+ ]
1345
+
1346
+ [[package]]
1347
+ name = "hyper-rustls"
1348
+ version = "0.24.2"
1349
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1350
+ checksum = "ec3efd23720e2049821a693cbc7e65ea87c72f1c58ff2f9522ff332b1491e590"
1351
+ dependencies = [
1352
+ "futures-util",
1353
+ "http 0.2.12",
1354
+ "hyper 0.14.32",
1355
+ "log",
1356
+ "rustls 0.21.12",
1357
+ "tokio",
1358
+ "tokio-rustls 0.24.1",
1359
+ ]
1360
+
1361
+ [[package]]
1362
+ name = "hyper-rustls"
1363
+ version = "0.27.9"
1364
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1365
+ checksum = "33ca68d021ef39cf6463ab54c1d0f5daf03377b70561305bb89a8f83aab66e0f"
1366
+ dependencies = [
1367
+ "http 1.4.0",
1368
+ "hyper 1.8.1",
1369
+ "hyper-util",
1370
+ "rustls 0.23.40",
1371
+ "rustls-native-certs 0.8.3",
1372
+ "tokio",
1373
+ "tokio-rustls 0.26.4",
1374
+ "tower-service",
1375
+ ]
1376
+
1377
+ [[package]]
1378
+ name = "hyper-util"
1379
+ version = "0.1.19"
1380
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1381
+ checksum = "727805d60e7938b76b826a6ef209eb70eaa1812794f9424d4a4e2d740662df5f"
1382
+ dependencies = [
1383
+ "base64 0.22.1",
1384
+ "bytes",
1385
+ "futures-channel",
1386
+ "futures-core",
1387
+ "futures-util",
1388
+ "http 1.4.0",
1389
+ "http-body 1.0.1",
1390
+ "hyper 1.8.1",
1391
+ "ipnet",
1392
+ "libc",
1393
+ "percent-encoding",
1394
+ "pin-project-lite",
1395
+ "socket2 0.6.1",
1396
+ "tokio",
1397
+ "tower-service",
1398
+ "tracing",
1399
+ ]
1400
+
1401
+ [[package]]
1402
+ name = "icu_collections"
1403
+ version = "2.2.0"
1404
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1405
+ checksum = "2984d1cd16c883d7935b9e07e44071dca8d917fd52ecc02c04d5fa0b5a3f191c"
1406
+ dependencies = [
1407
+ "displaydoc",
1408
+ "potential_utf",
1409
+ "utf8_iter",
1410
+ "yoke",
1411
+ "zerofrom",
1412
+ "zerovec",
1413
+ ]
1414
+
1415
+ [[package]]
1416
+ name = "icu_locale_core"
1417
+ version = "2.2.0"
1418
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1419
+ checksum = "92219b62b3e2b4d88ac5119f8904c10f8f61bf7e95b640d25ba3075e6cac2c29"
1420
+ dependencies = [
1421
+ "displaydoc",
1422
+ "litemap",
1423
+ "tinystr",
1424
+ "writeable",
1425
+ "zerovec",
1426
+ ]
1427
+
1428
+ [[package]]
1429
+ name = "icu_normalizer"
1430
+ version = "2.2.0"
1431
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1432
+ checksum = "c56e5ee99d6e3d33bd91c5d85458b6005a22140021cc324cea84dd0e72cff3b4"
1433
+ dependencies = [
1434
+ "icu_collections",
1435
+ "icu_normalizer_data",
1436
+ "icu_properties",
1437
+ "icu_provider",
1438
+ "smallvec",
1439
+ "zerovec",
1440
+ ]
1441
+
1442
+ [[package]]
1443
+ name = "icu_normalizer_data"
1444
+ version = "2.2.0"
1445
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1446
+ checksum = "da3be0ae77ea334f4da67c12f149704f19f81d1adf7c51cf482943e84a2bad38"
1447
+
1448
+ [[package]]
1449
+ name = "icu_properties"
1450
+ version = "2.2.0"
1451
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1452
+ checksum = "bee3b67d0ea5c2cca5003417989af8996f8604e34fb9ddf96208a033901e70de"
1453
+ dependencies = [
1454
+ "icu_collections",
1455
+ "icu_locale_core",
1456
+ "icu_properties_data",
1457
+ "icu_provider",
1458
+ "zerotrie",
1459
+ "zerovec",
1460
+ ]
1461
+
1462
+ [[package]]
1463
+ name = "icu_properties_data"
1464
+ version = "2.2.0"
1465
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1466
+ checksum = "8e2bbb201e0c04f7b4b3e14382af113e17ba4f63e2c9d2ee626b720cbce54a14"
1467
+
1468
+ [[package]]
1469
+ name = "icu_provider"
1470
+ version = "2.2.0"
1471
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1472
+ checksum = "139c4cf31c8b5f33d7e199446eff9c1e02decfc2f0eec2c8d71f65befa45b421"
1473
+ dependencies = [
1474
+ "displaydoc",
1475
+ "icu_locale_core",
1476
+ "writeable",
1477
+ "yoke",
1478
+ "zerofrom",
1479
+ "zerotrie",
1480
+ "zerovec",
1481
+ ]
1482
+
1483
+ [[package]]
1484
+ name = "idna"
1485
+ version = "1.1.0"
1486
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1487
+ checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de"
1488
+ dependencies = [
1489
+ "idna_adapter",
1490
+ "smallvec",
1491
+ "utf8_iter",
1492
+ ]
1493
+
1494
+ [[package]]
1495
+ name = "idna_adapter"
1496
+ version = "1.2.1"
1497
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1498
+ checksum = "3acae9609540aa318d1bc588455225fb2085b9ed0c4f6bd0d9d5bcd86f1a0344"
1499
+ dependencies = [
1500
+ "icu_normalizer",
1501
+ "icu_properties",
1502
+ ]
1503
+
1504
+ [[package]]
1505
+ name = "indexmap"
1506
+ version = "2.14.0"
1507
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1508
+ checksum = "d466e9454f08e4a911e14806c24e16fba1b4c121d1ea474396f396069cf949d9"
1509
+ dependencies = [
1510
+ "equivalent",
1511
+ "hashbrown 0.17.0",
1512
+ ]
1513
+
1514
+ [[package]]
1515
+ name = "ipnet"
1516
+ version = "2.12.0"
1517
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1518
+ checksum = "d98f6fed1fde3f8c21bc40a1abb88dd75e67924f9cffc3ef95607bad8017f8e2"
1519
+
1520
+ [[package]]
1521
+ name = "itoa"
1522
+ version = "1.0.17"
1523
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1524
+ checksum = "92ecc6618181def0457392ccd0ee51198e065e016d1d527a7ac1b6dc7c1f09d2"
1525
+
1526
+ [[package]]
1527
+ name = "jobserver"
1528
+ version = "0.1.34"
1529
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1530
+ checksum = "9afb3de4395d6b3e67a780b6de64b51c978ecf11cb9a462c66be7d4ca9039d33"
1531
+ dependencies = [
1532
+ "getrandom 0.3.4",
1533
+ "libc",
1534
+ ]
1535
+
1536
+ [[package]]
1537
+ name = "js-sys"
1538
+ version = "0.3.95"
1539
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1540
+ checksum = "2964e92d1d9dc3364cae4d718d93f227e3abb088e747d92e0395bfdedf1c12ca"
1541
+ dependencies = [
1542
+ "once_cell",
1543
+ "wasm-bindgen",
1544
+ ]
1545
+
1546
+ [[package]]
1547
+ name = "lazy_static"
1548
+ version = "1.5.0"
1549
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1550
+ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
1551
+
1552
+ [[package]]
1553
+ name = "libc"
1554
+ version = "0.2.179"
1555
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1556
+ checksum = "c5a2d376baa530d1238d133232d15e239abad80d05838b4b59354e5268af431f"
1557
+
1558
+ [[package]]
1559
+ name = "linux-raw-sys"
1560
+ version = "0.11.0"
1561
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1562
+ checksum = "df1d3c3b53da64cf5760482273a98e575c651a67eec7f77df96b5b642de8f039"
1563
+
1564
+ [[package]]
1565
+ name = "litemap"
1566
+ version = "0.8.2"
1567
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1568
+ checksum = "92daf443525c4cce67b150400bc2316076100ce0b3686209eb8cf3c31612e6f0"
1569
+
1570
+ [[package]]
1571
+ name = "lock_api"
1572
+ version = "0.4.14"
1573
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1574
+ checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965"
1575
+ dependencies = [
1576
+ "scopeguard",
1577
+ ]
1578
+
1579
+ [[package]]
1580
+ name = "log"
1581
+ version = "0.4.29"
1582
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1583
+ checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897"
1584
+
1585
+ [[package]]
1586
+ name = "lru"
1587
+ version = "0.16.4"
1588
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1589
+ checksum = "7f66e8d5d03f609abc3a39e6f08e4164ebf1447a732906d39eb9b99b7919ef39"
1590
+ dependencies = [
1591
+ "hashbrown 0.16.1",
1592
+ ]
1593
+
1594
+ [[package]]
1595
+ name = "matchit"
1596
+ version = "0.7.3"
1597
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1598
+ checksum = "0e7465ac9959cc2b1404e8e2367b43684a6d13790fe23056cc8c6c5a6b7bcb94"
1599
+
1600
+ [[package]]
1601
+ name = "md-5"
1602
+ version = "0.10.6"
1603
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1604
+ checksum = "d89e7ee0cfbedfc4da3340218492196241d89eefb6dab27de5df917a6d2e78cf"
1605
+ dependencies = [
1606
+ "cfg-if",
1607
+ "digest",
1608
+ ]
1609
+
1610
+ [[package]]
1611
+ name = "memchr"
1612
+ version = "2.7.6"
1613
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1614
+ checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273"
1615
+
1616
+ [[package]]
1617
+ name = "mime"
1618
+ version = "0.3.17"
1619
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1620
+ checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a"
1621
+
1622
+ [[package]]
1623
+ name = "minimal-lexical"
1624
+ version = "0.2.1"
1625
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1626
+ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
1627
+
1628
+ [[package]]
1629
+ name = "mio"
1630
+ version = "1.1.1"
1631
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1632
+ checksum = "a69bcab0ad47271a0234d9422b131806bf3968021e5dc9328caf2d4cd58557fc"
1633
+ dependencies = [
1634
+ "libc",
1635
+ "wasi",
1636
+ "windows-sys 0.61.2",
1637
+ ]
1638
+
1639
+ [[package]]
1640
+ name = "monteeq-video-service"
1641
+ version = "0.1.0"
1642
+ dependencies = [
1643
+ "anyhow",
1644
+ "async-trait",
1645
+ "aws-config",
1646
+ "aws-credential-types",
1647
+ "aws-sdk-s3",
1648
+ "axum",
1649
+ "dashmap",
1650
+ "dotenvy",
1651
+ "fred",
1652
+ "serde",
1653
+ "serde_json",
1654
+ "sysinfo",
1655
+ "tempfile",
1656
+ "tokio",
1657
+ "tokio-stream",
1658
+ "tower-http",
1659
+ "uuid",
1660
+ ]
1661
+
1662
+ [[package]]
1663
+ name = "multer"
1664
+ version = "3.1.0"
1665
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1666
+ checksum = "83e87776546dc87511aa5ee218730c92b666d7264ab6ed41f9d215af9cd5224b"
1667
+ dependencies = [
1668
+ "bytes",
1669
+ "encoding_rs",
1670
+ "futures-util",
1671
+ "http 1.4.0",
1672
+ "httparse",
1673
+ "memchr",
1674
+ "mime",
1675
+ "spin 0.9.8",
1676
+ "version_check",
1677
+ ]
1678
+
1679
+ [[package]]
1680
+ name = "nom"
1681
+ version = "7.1.3"
1682
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1683
+ checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
1684
+ dependencies = [
1685
+ "memchr",
1686
+ "minimal-lexical",
1687
+ ]
1688
+
1689
+ [[package]]
1690
+ name = "ntapi"
1691
+ version = "0.4.3"
1692
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1693
+ checksum = "c3b335231dfd352ffb0f8017f3b6027a4917f7df785ea2143d8af2adc66980ae"
1694
+ dependencies = [
1695
+ "winapi",
1696
+ ]
1697
+
1698
+ [[package]]
1699
+ name = "num-conv"
1700
+ version = "0.2.1"
1701
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1702
+ checksum = "c6673768db2d862beb9b39a78fdcb1a69439615d5794a1be50caa9bc92c81967"
1703
+
1704
+ [[package]]
1705
+ name = "num-integer"
1706
+ version = "0.1.46"
1707
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1708
+ checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f"
1709
+ dependencies = [
1710
+ "num-traits",
1711
+ ]
1712
+
1713
+ [[package]]
1714
+ name = "num-traits"
1715
+ version = "0.2.19"
1716
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1717
+ checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
1718
+ dependencies = [
1719
+ "autocfg",
1720
+ ]
1721
+
1722
+ [[package]]
1723
+ name = "once_cell"
1724
+ version = "1.21.3"
1725
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1726
+ checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
1727
+
1728
+ [[package]]
1729
+ name = "openssl-probe"
1730
+ version = "0.1.6"
1731
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1732
+ checksum = "d05e27ee213611ffe7d6348b942e8f942b37114c00cc03cec254295a4a17852e"
1733
+
1734
+ [[package]]
1735
+ name = "openssl-probe"
1736
+ version = "0.2.1"
1737
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1738
+ checksum = "7c87def4c32ab89d880effc9e097653c8da5d6ef28e6b539d313baaacfbafcbe"
1739
+
1740
+ [[package]]
1741
+ name = "outref"
1742
+ version = "0.5.2"
1743
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1744
+ checksum = "1a80800c0488c3a21695ea981a54918fbb37abf04f4d0720c453632255e2ff0e"
1745
+
1746
+ [[package]]
1747
+ name = "p256"
1748
+ version = "0.11.1"
1749
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1750
+ checksum = "51f44edd08f51e2ade572f141051021c5af22677e42b7dd28a88155151c33594"
1751
+ dependencies = [
1752
+ "ecdsa",
1753
+ "elliptic-curve",
1754
+ "sha2",
1755
+ ]
1756
+
1757
+ [[package]]
1758
+ name = "parking_lot"
1759
+ version = "0.12.5"
1760
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1761
+ checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a"
1762
+ dependencies = [
1763
+ "lock_api",
1764
+ "parking_lot_core",
1765
+ ]
1766
+
1767
+ [[package]]
1768
+ name = "parking_lot_core"
1769
+ version = "0.9.12"
1770
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1771
+ checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1"
1772
+ dependencies = [
1773
+ "cfg-if",
1774
+ "libc",
1775
+ "redox_syscall",
1776
+ "smallvec",
1777
+ "windows-link",
1778
+ ]
1779
+
1780
+ [[package]]
1781
+ name = "percent-encoding"
1782
+ version = "2.3.2"
1783
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1784
+ checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220"
1785
+
1786
+ [[package]]
1787
+ name = "pin-project-lite"
1788
+ version = "0.2.16"
1789
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1790
+ checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b"
1791
+
1792
+ [[package]]
1793
+ name = "pin-utils"
1794
+ version = "0.1.0"
1795
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1796
+ checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
1797
+
1798
+ [[package]]
1799
+ name = "pkcs8"
1800
+ version = "0.9.0"
1801
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1802
+ checksum = "9eca2c590a5f85da82668fa685c09ce2888b9430e83299debf1f34b65fd4a4ba"
1803
+ dependencies = [
1804
+ "der",
1805
+ "spki",
1806
+ ]
1807
+
1808
+ [[package]]
1809
+ name = "potential_utf"
1810
+ version = "0.1.5"
1811
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1812
+ checksum = "0103b1cef7ec0cf76490e969665504990193874ea05c85ff9bab8b911d0a0564"
1813
+ dependencies = [
1814
+ "zerovec",
1815
+ ]
1816
+
1817
+ [[package]]
1818
+ name = "powerfmt"
1819
+ version = "0.2.0"
1820
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1821
+ checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391"
1822
+
1823
+ [[package]]
1824
+ name = "ppv-lite86"
1825
+ version = "0.2.21"
1826
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1827
+ checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9"
1828
+ dependencies = [
1829
+ "zerocopy",
1830
+ ]
1831
+
1832
+ [[package]]
1833
+ name = "proc-macro2"
1834
+ version = "1.0.104"
1835
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1836
+ checksum = "9695f8df41bb4f3d222c95a67532365f569318332d03d5f3f67f37b20e6ebdf0"
1837
+ dependencies = [
1838
+ "unicode-ident",
1839
+ ]
1840
+
1841
+ [[package]]
1842
+ name = "quote"
1843
+ version = "1.0.45"
1844
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1845
+ checksum = "41f2619966050689382d2b44f664f4bc593e129785a36d6ee376ddf37259b924"
1846
+ dependencies = [
1847
+ "proc-macro2",
1848
+ ]
1849
+
1850
+ [[package]]
1851
+ name = "r-efi"
1852
+ version = "5.3.0"
1853
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1854
+ checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f"
1855
+
1856
+ [[package]]
1857
+ name = "rand"
1858
+ version = "0.8.5"
1859
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1860
+ checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
1861
+ dependencies = [
1862
+ "libc",
1863
+ "rand_chacha",
1864
+ "rand_core",
1865
+ ]
1866
+
1867
+ [[package]]
1868
+ name = "rand_chacha"
1869
+ version = "0.3.1"
1870
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1871
+ checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
1872
+ dependencies = [
1873
+ "ppv-lite86",
1874
+ "rand_core",
1875
+ ]
1876
+
1877
+ [[package]]
1878
+ name = "rand_core"
1879
+ version = "0.6.4"
1880
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1881
+ checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
1882
+ dependencies = [
1883
+ "getrandom 0.2.17",
1884
+ ]
1885
+
1886
+ [[package]]
1887
+ name = "rayon"
1888
+ version = "1.11.0"
1889
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1890
+ checksum = "368f01d005bf8fd9b1206fb6fa653e6c4a81ceb1466406b81792d87c5677a58f"
1891
+ dependencies = [
1892
+ "either",
1893
+ "rayon-core",
1894
+ ]
1895
+
1896
+ [[package]]
1897
+ name = "rayon-core"
1898
+ version = "1.13.0"
1899
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1900
+ checksum = "22e18b0f0062d30d4230b2e85ff77fdfe4326feb054b9783a3460d8435c8ab91"
1901
+ dependencies = [
1902
+ "crossbeam-deque",
1903
+ "crossbeam-utils",
1904
+ ]
1905
+
1906
+ [[package]]
1907
+ name = "redis-protocol"
1908
+ version = "4.1.0"
1909
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1910
+ checksum = "9c31deddf734dc0a39d3112e73490e88b61a05e83e074d211f348404cee4d2c6"
1911
+ dependencies = [
1912
+ "bytes",
1913
+ "bytes-utils",
1914
+ "cookie-factory",
1915
+ "crc16",
1916
+ "log",
1917
+ "nom",
1918
+ ]
1919
+
1920
+ [[package]]
1921
+ name = "redox_syscall"
1922
+ version = "0.5.18"
1923
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1924
+ checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d"
1925
+ dependencies = [
1926
+ "bitflags",
1927
+ ]
1928
+
1929
+ [[package]]
1930
+ name = "regex-lite"
1931
+ version = "0.1.9"
1932
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1933
+ checksum = "cab834c73d247e67f4fae452806d17d3c7501756d98c8808d7c9c7aa7d18f973"
1934
+
1935
+ [[package]]
1936
+ name = "rfc6979"
1937
+ version = "0.3.1"
1938
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1939
+ checksum = "7743f17af12fa0b03b803ba12cd6a8d9483a587e89c69445e3909655c0b9fabb"
1940
+ dependencies = [
1941
+ "crypto-bigint 0.4.9",
1942
+ "hmac",
1943
+ "zeroize",
1944
+ ]
1945
+
1946
+ [[package]]
1947
+ name = "ring"
1948
+ version = "0.17.14"
1949
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1950
+ checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7"
1951
+ dependencies = [
1952
+ "cc",
1953
+ "cfg-if",
1954
+ "getrandom 0.2.17",
1955
+ "libc",
1956
+ "untrusted",
1957
+ "windows-sys 0.52.0",
1958
+ ]
1959
+
1960
+ [[package]]
1961
+ name = "rustc_version"
1962
+ version = "0.4.1"
1963
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1964
+ checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92"
1965
+ dependencies = [
1966
+ "semver",
1967
+ ]
1968
+
1969
+ [[package]]
1970
+ name = "rustix"
1971
+ version = "1.1.3"
1972
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1973
+ checksum = "146c9e247ccc180c1f61615433868c99f3de3ae256a30a43b49f67c2d9171f34"
1974
+ dependencies = [
1975
+ "bitflags",
1976
+ "errno",
1977
+ "libc",
1978
+ "linux-raw-sys",
1979
+ "windows-sys 0.61.2",
1980
+ ]
1981
+
1982
+ [[package]]
1983
+ name = "rustls"
1984
+ version = "0.21.12"
1985
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1986
+ checksum = "3f56a14d1f48b391359b22f731fd4bd7e43c97f3c50eee276f3aa09c94784d3e"
1987
+ dependencies = [
1988
+ "log",
1989
+ "ring",
1990
+ "rustls-webpki 0.101.7",
1991
+ "sct",
1992
+ ]
1993
+
1994
+ [[package]]
1995
+ name = "rustls"
1996
+ version = "0.23.40"
1997
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1998
+ checksum = "ef86cd5876211988985292b91c96a8f2d298df24e75989a43a3c73f2d4d8168b"
1999
+ dependencies = [
2000
+ "aws-lc-rs",
2001
+ "once_cell",
2002
+ "rustls-pki-types",
2003
+ "rustls-webpki 0.103.13",
2004
+ "subtle",
2005
+ "zeroize",
2006
+ ]
2007
+
2008
+ [[package]]
2009
+ name = "rustls-native-certs"
2010
+ version = "0.6.3"
2011
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2012
+ checksum = "a9aace74cb666635c918e9c12bc0d348266037aa8eb599b5cba565709a8dff00"
2013
+ dependencies = [
2014
+ "openssl-probe 0.1.6",
2015
+ "rustls-pemfile",
2016
+ "schannel",
2017
+ "security-framework 2.11.1",
2018
+ ]
2019
+
2020
+ [[package]]
2021
+ name = "rustls-native-certs"
2022
+ version = "0.8.3"
2023
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2024
+ checksum = "612460d5f7bea540c490b2b6395d8e34a953e52b491accd6c86c8164c5932a63"
2025
+ dependencies = [
2026
+ "openssl-probe 0.2.1",
2027
+ "rustls-pki-types",
2028
+ "schannel",
2029
+ "security-framework 3.6.0",
2030
+ ]
2031
+
2032
+ [[package]]
2033
+ name = "rustls-pemfile"
2034
+ version = "1.0.4"
2035
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2036
+ checksum = "1c74cae0a4cf6ccbbf5f359f08efdf8ee7e1dc532573bf0db71968cb56b1448c"
2037
+ dependencies = [
2038
+ "base64 0.21.7",
2039
+ ]
2040
+
2041
+ [[package]]
2042
+ name = "rustls-pki-types"
2043
+ version = "1.14.1"
2044
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2045
+ checksum = "30a7197ae7eb376e574fe940d068c30fe0462554a3ddbe4eca7838e049c937a9"
2046
+ dependencies = [
2047
+ "zeroize",
2048
+ ]
2049
+
2050
+ [[package]]
2051
+ name = "rustls-webpki"
2052
+ version = "0.101.7"
2053
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2054
+ checksum = "8b6275d1ee7a1cd780b64aca7726599a1dbc893b1e64144529e55c3c2f745765"
2055
+ dependencies = [
2056
+ "ring",
2057
+ "untrusted",
2058
+ ]
2059
+
2060
+ [[package]]
2061
+ name = "rustls-webpki"
2062
+ version = "0.103.13"
2063
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2064
+ checksum = "61c429a8649f110dddef65e2a5ad240f747e85f7758a6bccc7e5777bd33f756e"
2065
+ dependencies = [
2066
+ "aws-lc-rs",
2067
+ "ring",
2068
+ "rustls-pki-types",
2069
+ "untrusted",
2070
+ ]
2071
+
2072
+ [[package]]
2073
+ name = "rustversion"
2074
+ version = "1.0.22"
2075
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2076
+ checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d"
2077
+
2078
+ [[package]]
2079
+ name = "ryu"
2080
+ version = "1.0.22"
2081
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2082
+ checksum = "a50f4cf475b65d88e057964e0e9bb1f0aa9bbb2036dc65c64596b42932536984"
2083
+
2084
+ [[package]]
2085
+ name = "schannel"
2086
+ version = "0.1.29"
2087
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2088
+ checksum = "91c1b7e4904c873ef0710c1f407dde2e6287de2bebc1bbbf7d430bb7cbffd939"
2089
+ dependencies = [
2090
+ "windows-sys 0.61.2",
2091
+ ]
2092
+
2093
+ [[package]]
2094
+ name = "scopeguard"
2095
+ version = "1.2.0"
2096
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2097
+ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
2098
+
2099
+ [[package]]
2100
+ name = "sct"
2101
+ version = "0.7.1"
2102
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2103
+ checksum = "da046153aa2352493d6cb7da4b6e5c0c057d8a1d0a9aa8560baffdd945acd414"
2104
+ dependencies = [
2105
+ "ring",
2106
+ "untrusted",
2107
+ ]
2108
+
2109
+ [[package]]
2110
+ name = "sec1"
2111
+ version = "0.3.0"
2112
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2113
+ checksum = "3be24c1842290c45df0a7bf069e0c268a747ad05a192f2fd7dcfdbc1cba40928"
2114
+ dependencies = [
2115
+ "base16ct",
2116
+ "der",
2117
+ "generic-array",
2118
+ "pkcs8",
2119
+ "subtle",
2120
+ "zeroize",
2121
+ ]
2122
+
2123
+ [[package]]
2124
+ name = "security-framework"
2125
+ version = "2.11.1"
2126
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2127
+ checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02"
2128
+ dependencies = [
2129
+ "bitflags",
2130
+ "core-foundation 0.9.4",
2131
+ "core-foundation-sys",
2132
+ "libc",
2133
+ "security-framework-sys",
2134
+ ]
2135
+
2136
+ [[package]]
2137
+ name = "security-framework"
2138
+ version = "3.6.0"
2139
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2140
+ checksum = "d17b898a6d6948c3a8ee4372c17cb384f90d2e6e912ef00895b14fd7ab54ec38"
2141
+ dependencies = [
2142
+ "bitflags",
2143
+ "core-foundation 0.10.1",
2144
+ "core-foundation-sys",
2145
+ "libc",
2146
+ "security-framework-sys",
2147
+ ]
2148
+
2149
+ [[package]]
2150
+ name = "security-framework-sys"
2151
+ version = "2.17.0"
2152
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2153
+ checksum = "6ce2691df843ecc5d231c0b14ece2acc3efb62c0a398c7e1d875f3983ce020e3"
2154
+ dependencies = [
2155
+ "core-foundation-sys",
2156
+ "libc",
2157
+ ]
2158
+
2159
+ [[package]]
2160
+ name = "semver"
2161
+ version = "1.0.28"
2162
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2163
+ checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd"
2164
+
2165
+ [[package]]
2166
+ name = "serde"
2167
+ version = "1.0.228"
2168
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2169
+ checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e"
2170
+ dependencies = [
2171
+ "serde_core",
2172
+ "serde_derive",
2173
+ ]
2174
+
2175
+ [[package]]
2176
+ name = "serde_core"
2177
+ version = "1.0.228"
2178
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2179
+ checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad"
2180
+ dependencies = [
2181
+ "serde_derive",
2182
+ ]
2183
+
2184
+ [[package]]
2185
+ name = "serde_derive"
2186
+ version = "1.0.228"
2187
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2188
+ checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79"
2189
+ dependencies = [
2190
+ "proc-macro2",
2191
+ "quote",
2192
+ "syn",
2193
+ ]
2194
+
2195
+ [[package]]
2196
+ name = "serde_json"
2197
+ version = "1.0.148"
2198
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2199
+ checksum = "3084b546a1dd6289475996f182a22aba973866ea8e8b02c51d9f46b1336a22da"
2200
+ dependencies = [
2201
+ "itoa",
2202
+ "memchr",
2203
+ "serde",
2204
+ "serde_core",
2205
+ "zmij",
2206
+ ]
2207
+
2208
+ [[package]]
2209
+ name = "serde_path_to_error"
2210
+ version = "0.1.20"
2211
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2212
+ checksum = "10a9ff822e371bb5403e391ecd83e182e0e77ba7f6fe0160b795797109d1b457"
2213
+ dependencies = [
2214
+ "itoa",
2215
+ "serde",
2216
+ "serde_core",
2217
+ ]
2218
+
2219
+ [[package]]
2220
+ name = "serde_urlencoded"
2221
+ version = "0.7.1"
2222
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2223
+ checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd"
2224
+ dependencies = [
2225
+ "form_urlencoded",
2226
+ "itoa",
2227
+ "ryu",
2228
+ "serde",
2229
+ ]
2230
+
2231
+ [[package]]
2232
+ name = "sha1"
2233
+ version = "0.10.6"
2234
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2235
+ checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba"
2236
+ dependencies = [
2237
+ "cfg-if",
2238
+ "cpufeatures",
2239
+ "digest",
2240
+ ]
2241
+
2242
+ [[package]]
2243
+ name = "sha2"
2244
+ version = "0.10.9"
2245
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2246
+ checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283"
2247
+ dependencies = [
2248
+ "cfg-if",
2249
+ "cpufeatures",
2250
+ "digest",
2251
+ ]
2252
+
2253
+ [[package]]
2254
+ name = "shlex"
2255
+ version = "1.3.0"
2256
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2257
+ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
2258
+
2259
+ [[package]]
2260
+ name = "signal-hook-registry"
2261
+ version = "1.4.8"
2262
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2263
+ checksum = "c4db69cba1110affc0e9f7bcd48bbf87b3f4fc7c61fc9155afd4c469eb3d6c1b"
2264
+ dependencies = [
2265
+ "errno",
2266
+ "libc",
2267
+ ]
2268
+
2269
+ [[package]]
2270
+ name = "signature"
2271
+ version = "1.6.4"
2272
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2273
+ checksum = "74233d3b3b2f6d4b006dc19dee745e73e2a6bfb6f93607cd3b02bd5b00797d7c"
2274
+ dependencies = [
2275
+ "digest",
2276
+ "rand_core",
2277
+ ]
2278
+
2279
+ [[package]]
2280
+ name = "slab"
2281
+ version = "0.4.12"
2282
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2283
+ checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5"
2284
+
2285
+ [[package]]
2286
+ name = "smallvec"
2287
+ version = "1.15.1"
2288
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2289
+ checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03"
2290
+
2291
+ [[package]]
2292
+ name = "socket2"
2293
+ version = "0.5.10"
2294
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2295
+ checksum = "e22376abed350d73dd1cd119b57ffccad95b4e585a7cda43e286245ce23c0678"
2296
+ dependencies = [
2297
+ "libc",
2298
+ "windows-sys 0.52.0",
2299
+ ]
2300
+
2301
+ [[package]]
2302
+ name = "socket2"
2303
+ version = "0.6.1"
2304
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2305
+ checksum = "17129e116933cf371d018bb80ae557e889637989d8638274fb25622827b03881"
2306
+ dependencies = [
2307
+ "libc",
2308
+ "windows-sys 0.60.2",
2309
+ ]
2310
+
2311
+ [[package]]
2312
+ name = "spin"
2313
+ version = "0.9.8"
2314
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2315
+ checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67"
2316
+
2317
+ [[package]]
2318
+ name = "spin"
2319
+ version = "0.10.0"
2320
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2321
+ checksum = "d5fe4ccb98d9c292d56fec89a5e07da7fc4cf0dc11e156b41793132775d3e591"
2322
+
2323
+ [[package]]
2324
+ name = "spki"
2325
+ version = "0.6.0"
2326
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2327
+ checksum = "67cf02bbac7a337dc36e4f5a693db6c21e7863f45070f7064577eb4367a3212b"
2328
+ dependencies = [
2329
+ "base64ct",
2330
+ "der",
2331
+ ]
2332
+
2333
+ [[package]]
2334
+ name = "stable_deref_trait"
2335
+ version = "1.2.1"
2336
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2337
+ checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596"
2338
+
2339
+ [[package]]
2340
+ name = "subtle"
2341
+ version = "2.6.1"
2342
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2343
+ checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292"
2344
+
2345
+ [[package]]
2346
+ name = "syn"
2347
+ version = "2.0.113"
2348
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2349
+ checksum = "678faa00651c9eb72dd2020cbdf275d92eccb2400d568e419efdd64838145cb4"
2350
+ dependencies = [
2351
+ "proc-macro2",
2352
+ "quote",
2353
+ "unicode-ident",
2354
+ ]
2355
+
2356
+ [[package]]
2357
+ name = "sync_wrapper"
2358
+ version = "1.0.2"
2359
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2360
+ checksum = "0bf256ce5efdfa370213c1dabab5935a12e49f2c58d15e9eac2870d3b4f27263"
2361
+
2362
+ [[package]]
2363
+ name = "synstructure"
2364
+ version = "0.13.2"
2365
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2366
+ checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2"
2367
+ dependencies = [
2368
+ "proc-macro2",
2369
+ "quote",
2370
+ "syn",
2371
+ ]
2372
+
2373
+ [[package]]
2374
+ name = "sysinfo"
2375
+ version = "0.29.11"
2376
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2377
+ checksum = "cd727fc423c2060f6c92d9534cef765c65a6ed3f428a03d7def74a8c4348e666"
2378
+ dependencies = [
2379
+ "cfg-if",
2380
+ "core-foundation-sys",
2381
+ "libc",
2382
+ "ntapi",
2383
+ "once_cell",
2384
+ "rayon",
2385
+ "winapi",
2386
+ ]
2387
+
2388
+ [[package]]
2389
+ name = "tempfile"
2390
+ version = "3.24.0"
2391
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2392
+ checksum = "655da9c7eb6305c55742045d5a8d2037996d61d8de95806335c7c86ce0f82e9c"
2393
+ dependencies = [
2394
+ "fastrand",
2395
+ "getrandom 0.3.4",
2396
+ "once_cell",
2397
+ "rustix",
2398
+ "windows-sys 0.61.2",
2399
+ ]
2400
+
2401
+ [[package]]
2402
+ name = "time"
2403
+ version = "0.3.47"
2404
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2405
+ checksum = "743bd48c283afc0388f9b8827b976905fb217ad9e647fae3a379a9283c4def2c"
2406
+ dependencies = [
2407
+ "deranged",
2408
+ "num-conv",
2409
+ "powerfmt",
2410
+ "serde_core",
2411
+ "time-core",
2412
+ "time-macros",
2413
+ ]
2414
+
2415
+ [[package]]
2416
+ name = "time-core"
2417
+ version = "0.1.8"
2418
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2419
+ checksum = "7694e1cfe791f8d31026952abf09c69ca6f6fa4e1a1229e18988f06a04a12dca"
2420
+
2421
+ [[package]]
2422
+ name = "time-macros"
2423
+ version = "0.2.27"
2424
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2425
+ checksum = "2e70e4c5a0e0a8a4823ad65dfe1a6930e4f4d756dcd9dd7939022b5e8c501215"
2426
+ dependencies = [
2427
+ "num-conv",
2428
+ "time-core",
2429
+ ]
2430
+
2431
+ [[package]]
2432
+ name = "tinystr"
2433
+ version = "0.8.3"
2434
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2435
+ checksum = "c8323304221c2a851516f22236c5722a72eaa19749016521d6dff0824447d96d"
2436
+ dependencies = [
2437
+ "displaydoc",
2438
+ "zerovec",
2439
+ ]
2440
+
2441
+ [[package]]
2442
+ name = "tokio"
2443
+ version = "1.49.0"
2444
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2445
+ checksum = "72a2903cd7736441aac9df9d7688bd0ce48edccaadf181c3b90be801e81d3d86"
2446
+ dependencies = [
2447
+ "bytes",
2448
+ "libc",
2449
+ "mio",
2450
+ "parking_lot",
2451
+ "pin-project-lite",
2452
+ "signal-hook-registry",
2453
+ "socket2 0.6.1",
2454
+ "tokio-macros",
2455
+ "windows-sys 0.61.2",
2456
+ ]
2457
+
2458
+ [[package]]
2459
+ name = "tokio-macros"
2460
+ version = "2.6.0"
2461
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2462
+ checksum = "af407857209536a95c8e56f8231ef2c2e2aff839b22e07a1ffcbc617e9db9fa5"
2463
+ dependencies = [
2464
+ "proc-macro2",
2465
+ "quote",
2466
+ "syn",
2467
+ ]
2468
+
2469
+ [[package]]
2470
+ name = "tokio-rustls"
2471
+ version = "0.24.1"
2472
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2473
+ checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081"
2474
+ dependencies = [
2475
+ "rustls 0.21.12",
2476
+ "tokio",
2477
+ ]
2478
+
2479
+ [[package]]
2480
+ name = "tokio-rustls"
2481
+ version = "0.26.4"
2482
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2483
+ checksum = "1729aa945f29d91ba541258c8df89027d5792d85a8841fb65e8bf0f4ede4ef61"
2484
+ dependencies = [
2485
+ "rustls 0.23.40",
2486
+ "tokio",
2487
+ ]
2488
+
2489
+ [[package]]
2490
+ name = "tokio-stream"
2491
+ version = "0.1.18"
2492
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2493
+ checksum = "32da49809aab5c3bc678af03902d4ccddea2a87d028d86392a4b1560c6906c70"
2494
+ dependencies = [
2495
+ "futures-core",
2496
+ "pin-project-lite",
2497
+ "tokio",
2498
+ ]
2499
+
2500
+ [[package]]
2501
+ name = "tokio-util"
2502
+ version = "0.7.18"
2503
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2504
+ checksum = "9ae9cec805b01e8fc3fd2fe289f89149a9b66dd16786abd8b19cfa7b48cb0098"
2505
+ dependencies = [
2506
+ "bytes",
2507
+ "futures-core",
2508
+ "futures-sink",
2509
+ "pin-project-lite",
2510
+ "tokio",
2511
+ ]
2512
+
2513
+ [[package]]
2514
+ name = "tower"
2515
+ version = "0.5.2"
2516
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2517
+ checksum = "d039ad9159c98b70ecfd540b2573b97f7f52c3e8d9f8ad57a24b916a536975f9"
2518
+ dependencies = [
2519
+ "futures-core",
2520
+ "futures-util",
2521
+ "pin-project-lite",
2522
+ "sync_wrapper",
2523
+ "tokio",
2524
+ "tower-layer",
2525
+ "tower-service",
2526
+ "tracing",
2527
+ ]
2528
+
2529
+ [[package]]
2530
+ name = "tower-http"
2531
+ version = "0.5.2"
2532
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2533
+ checksum = "1e9cd434a998747dd2c4276bc96ee2e0c7a2eadf3cae88e52be55a05fa9053f5"
2534
+ dependencies = [
2535
+ "bitflags",
2536
+ "bytes",
2537
+ "http 1.4.0",
2538
+ "http-body 1.0.1",
2539
+ "http-body-util",
2540
+ "pin-project-lite",
2541
+ "tower-layer",
2542
+ "tower-service",
2543
+ ]
2544
+
2545
+ [[package]]
2546
+ name = "tower-layer"
2547
+ version = "0.3.3"
2548
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2549
+ checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e"
2550
+
2551
+ [[package]]
2552
+ name = "tower-service"
2553
+ version = "0.3.3"
2554
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2555
+ checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3"
2556
+
2557
+ [[package]]
2558
+ name = "tracing"
2559
+ version = "0.1.44"
2560
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2561
+ checksum = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100"
2562
+ dependencies = [
2563
+ "log",
2564
+ "pin-project-lite",
2565
+ "tracing-attributes",
2566
+ "tracing-core",
2567
+ ]
2568
+
2569
+ [[package]]
2570
+ name = "tracing-attributes"
2571
+ version = "0.1.31"
2572
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2573
+ checksum = "7490cfa5ec963746568740651ac6781f701c9c5ea257c58e057f3ba8cf69e8da"
2574
+ dependencies = [
2575
+ "proc-macro2",
2576
+ "quote",
2577
+ "syn",
2578
+ ]
2579
+
2580
+ [[package]]
2581
+ name = "tracing-core"
2582
+ version = "0.1.36"
2583
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2584
+ checksum = "db97caf9d906fbde555dd62fa95ddba9eecfd14cb388e4f491a66d74cd5fb79a"
2585
+ dependencies = [
2586
+ "once_cell",
2587
+ ]
2588
+
2589
+ [[package]]
2590
+ name = "try-lock"
2591
+ version = "0.2.5"
2592
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2593
+ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b"
2594
+
2595
+ [[package]]
2596
+ name = "typenum"
2597
+ version = "1.19.0"
2598
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2599
+ checksum = "562d481066bde0658276a35467c4af00bdc6ee726305698a55b86e61d7ad82bb"
2600
+
2601
+ [[package]]
2602
+ name = "unicode-ident"
2603
+ version = "1.0.22"
2604
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2605
+ checksum = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5"
2606
+
2607
+ [[package]]
2608
+ name = "untrusted"
2609
+ version = "0.9.0"
2610
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2611
+ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1"
2612
+
2613
+ [[package]]
2614
+ name = "url"
2615
+ version = "2.5.8"
2616
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2617
+ checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed"
2618
+ dependencies = [
2619
+ "form_urlencoded",
2620
+ "idna",
2621
+ "percent-encoding",
2622
+ "serde",
2623
+ ]
2624
+
2625
+ [[package]]
2626
+ name = "urlencoding"
2627
+ version = "2.1.3"
2628
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2629
+ checksum = "daf8dba3b7eb870caf1ddeed7bc9d2a049f3cfdfae7cb521b087cc33ae4c49da"
2630
+
2631
+ [[package]]
2632
+ name = "utf8_iter"
2633
+ version = "1.0.4"
2634
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2635
+ checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be"
2636
+
2637
+ [[package]]
2638
+ name = "uuid"
2639
+ version = "1.19.0"
2640
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2641
+ checksum = "e2e054861b4bd027cd373e18e8d8d8e6548085000e41290d95ce0c373a654b4a"
2642
+ dependencies = [
2643
+ "getrandom 0.3.4",
2644
+ "js-sys",
2645
+ "wasm-bindgen",
2646
+ ]
2647
+
2648
+ [[package]]
2649
+ name = "version_check"
2650
+ version = "0.9.5"
2651
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2652
+ checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
2653
+
2654
+ [[package]]
2655
+ name = "vsimd"
2656
+ version = "0.8.0"
2657
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2658
+ checksum = "5c3082ca00d5a5ef149bb8b555a72ae84c9c59f7250f013ac822ac2e49b19c64"
2659
+
2660
+ [[package]]
2661
+ name = "want"
2662
+ version = "0.3.1"
2663
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2664
+ checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e"
2665
+ dependencies = [
2666
+ "try-lock",
2667
+ ]
2668
+
2669
+ [[package]]
2670
+ name = "wasi"
2671
+ version = "0.11.1+wasi-snapshot-preview1"
2672
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2673
+ checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
2674
+
2675
+ [[package]]
2676
+ name = "wasip2"
2677
+ version = "1.0.1+wasi-0.2.4"
2678
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2679
+ checksum = "0562428422c63773dad2c345a1882263bbf4d65cf3f42e90921f787ef5ad58e7"
2680
+ dependencies = [
2681
+ "wit-bindgen",
2682
+ ]
2683
+
2684
+ [[package]]
2685
+ name = "wasm-bindgen"
2686
+ version = "0.2.118"
2687
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2688
+ checksum = "0bf938a0bacb0469e83c1e148908bd7d5a6010354cf4fb73279b7447422e3a89"
2689
+ dependencies = [
2690
+ "cfg-if",
2691
+ "once_cell",
2692
+ "rustversion",
2693
+ "wasm-bindgen-macro",
2694
+ "wasm-bindgen-shared",
2695
+ ]
2696
+
2697
+ [[package]]
2698
+ name = "wasm-bindgen-macro"
2699
+ version = "0.2.118"
2700
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2701
+ checksum = "eeff24f84126c0ec2db7a449f0c2ec963c6a49efe0698c4242929da037ca28ed"
2702
+ dependencies = [
2703
+ "quote",
2704
+ "wasm-bindgen-macro-support",
2705
+ ]
2706
+
2707
+ [[package]]
2708
+ name = "wasm-bindgen-macro-support"
2709
+ version = "0.2.118"
2710
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2711
+ checksum = "9d08065faf983b2b80a79fd87d8254c409281cf7de75fc4b773019824196c904"
2712
+ dependencies = [
2713
+ "bumpalo",
2714
+ "proc-macro2",
2715
+ "quote",
2716
+ "syn",
2717
+ "wasm-bindgen-shared",
2718
+ ]
2719
+
2720
+ [[package]]
2721
+ name = "wasm-bindgen-shared"
2722
+ version = "0.2.118"
2723
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2724
+ checksum = "5fd04d9e306f1907bd13c6361b5c6bfc7b3b3c095ed3f8a9246390f8dbdee129"
2725
+ dependencies = [
2726
+ "unicode-ident",
2727
+ ]
2728
+
2729
+ [[package]]
2730
+ name = "winapi"
2731
+ version = "0.3.9"
2732
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2733
+ checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
2734
+ dependencies = [
2735
+ "winapi-i686-pc-windows-gnu",
2736
+ "winapi-x86_64-pc-windows-gnu",
2737
+ ]
2738
+
2739
+ [[package]]
2740
+ name = "winapi-i686-pc-windows-gnu"
2741
+ version = "0.4.0"
2742
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2743
+ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
2744
+
2745
+ [[package]]
2746
+ name = "winapi-x86_64-pc-windows-gnu"
2747
+ version = "0.4.0"
2748
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2749
+ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
2750
+
2751
+ [[package]]
2752
+ name = "windows-link"
2753
+ version = "0.2.1"
2754
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2755
+ checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
2756
+
2757
+ [[package]]
2758
+ name = "windows-sys"
2759
+ version = "0.52.0"
2760
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2761
+ checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
2762
+ dependencies = [
2763
+ "windows-targets 0.52.6",
2764
+ ]
2765
+
2766
+ [[package]]
2767
+ name = "windows-sys"
2768
+ version = "0.60.2"
2769
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2770
+ checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb"
2771
+ dependencies = [
2772
+ "windows-targets 0.53.5",
2773
+ ]
2774
+
2775
+ [[package]]
2776
+ name = "windows-sys"
2777
+ version = "0.61.2"
2778
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2779
+ checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
2780
+ dependencies = [
2781
+ "windows-link",
2782
+ ]
2783
+
2784
+ [[package]]
2785
+ name = "windows-targets"
2786
+ version = "0.52.6"
2787
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2788
+ checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
2789
+ dependencies = [
2790
+ "windows_aarch64_gnullvm 0.52.6",
2791
+ "windows_aarch64_msvc 0.52.6",
2792
+ "windows_i686_gnu 0.52.6",
2793
+ "windows_i686_gnullvm 0.52.6",
2794
+ "windows_i686_msvc 0.52.6",
2795
+ "windows_x86_64_gnu 0.52.6",
2796
+ "windows_x86_64_gnullvm 0.52.6",
2797
+ "windows_x86_64_msvc 0.52.6",
2798
+ ]
2799
+
2800
+ [[package]]
2801
+ name = "windows-targets"
2802
+ version = "0.53.5"
2803
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2804
+ checksum = "4945f9f551b88e0d65f3db0bc25c33b8acea4d9e41163edf90dcd0b19f9069f3"
2805
+ dependencies = [
2806
+ "windows-link",
2807
+ "windows_aarch64_gnullvm 0.53.1",
2808
+ "windows_aarch64_msvc 0.53.1",
2809
+ "windows_i686_gnu 0.53.1",
2810
+ "windows_i686_gnullvm 0.53.1",
2811
+ "windows_i686_msvc 0.53.1",
2812
+ "windows_x86_64_gnu 0.53.1",
2813
+ "windows_x86_64_gnullvm 0.53.1",
2814
+ "windows_x86_64_msvc 0.53.1",
2815
+ ]
2816
+
2817
+ [[package]]
2818
+ name = "windows_aarch64_gnullvm"
2819
+ version = "0.52.6"
2820
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2821
+ checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
2822
+
2823
+ [[package]]
2824
+ name = "windows_aarch64_gnullvm"
2825
+ version = "0.53.1"
2826
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2827
+ checksum = "a9d8416fa8b42f5c947f8482c43e7d89e73a173cead56d044f6a56104a6d1b53"
2828
+
2829
+ [[package]]
2830
+ name = "windows_aarch64_msvc"
2831
+ version = "0.52.6"
2832
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2833
+ checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
2834
+
2835
+ [[package]]
2836
+ name = "windows_aarch64_msvc"
2837
+ version = "0.53.1"
2838
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2839
+ checksum = "b9d782e804c2f632e395708e99a94275910eb9100b2114651e04744e9b125006"
2840
+
2841
+ [[package]]
2842
+ name = "windows_i686_gnu"
2843
+ version = "0.52.6"
2844
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2845
+ checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
2846
+
2847
+ [[package]]
2848
+ name = "windows_i686_gnu"
2849
+ version = "0.53.1"
2850
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2851
+ checksum = "960e6da069d81e09becb0ca57a65220ddff016ff2d6af6a223cf372a506593a3"
2852
+
2853
+ [[package]]
2854
+ name = "windows_i686_gnullvm"
2855
+ version = "0.52.6"
2856
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2857
+ checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
2858
+
2859
+ [[package]]
2860
+ name = "windows_i686_gnullvm"
2861
+ version = "0.53.1"
2862
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2863
+ checksum = "fa7359d10048f68ab8b09fa71c3daccfb0e9b559aed648a8f95469c27057180c"
2864
+
2865
+ [[package]]
2866
+ name = "windows_i686_msvc"
2867
+ version = "0.52.6"
2868
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2869
+ checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
2870
+
2871
+ [[package]]
2872
+ name = "windows_i686_msvc"
2873
+ version = "0.53.1"
2874
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2875
+ checksum = "1e7ac75179f18232fe9c285163565a57ef8d3c89254a30685b57d83a38d326c2"
2876
+
2877
+ [[package]]
2878
+ name = "windows_x86_64_gnu"
2879
+ version = "0.52.6"
2880
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2881
+ checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
2882
+
2883
+ [[package]]
2884
+ name = "windows_x86_64_gnu"
2885
+ version = "0.53.1"
2886
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2887
+ checksum = "9c3842cdd74a865a8066ab39c8a7a473c0778a3f29370b5fd6b4b9aa7df4a499"
2888
+
2889
+ [[package]]
2890
+ name = "windows_x86_64_gnullvm"
2891
+ version = "0.52.6"
2892
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2893
+ checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
2894
+
2895
+ [[package]]
2896
+ name = "windows_x86_64_gnullvm"
2897
+ version = "0.53.1"
2898
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2899
+ checksum = "0ffa179e2d07eee8ad8f57493436566c7cc30ac536a3379fdf008f47f6bb7ae1"
2900
+
2901
+ [[package]]
2902
+ name = "windows_x86_64_msvc"
2903
+ version = "0.52.6"
2904
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2905
+ checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
2906
+
2907
+ [[package]]
2908
+ name = "windows_x86_64_msvc"
2909
+ version = "0.53.1"
2910
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2911
+ checksum = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650"
2912
+
2913
+ [[package]]
2914
+ name = "wit-bindgen"
2915
+ version = "0.46.0"
2916
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2917
+ checksum = "f17a85883d4e6d00e8a97c586de764dabcc06133f7f1d55dce5cdc070ad7fe59"
2918
+
2919
+ [[package]]
2920
+ name = "writeable"
2921
+ version = "0.6.3"
2922
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2923
+ checksum = "1ffae5123b2d3fc086436f8834ae3ab053a283cfac8fe0a0b8eaae044768a4c4"
2924
+
2925
+ [[package]]
2926
+ name = "xmlparser"
2927
+ version = "0.13.6"
2928
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2929
+ checksum = "66fee0b777b0f5ac1c69bb06d361268faafa61cd4682ae064a171c16c433e9e4"
2930
+
2931
+ [[package]]
2932
+ name = "yoke"
2933
+ version = "0.8.2"
2934
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2935
+ checksum = "abe8c5fda708d9ca3df187cae8bfb9ceda00dd96231bed36e445a1a48e66f9ca"
2936
+ dependencies = [
2937
+ "stable_deref_trait",
2938
+ "yoke-derive",
2939
+ "zerofrom",
2940
+ ]
2941
+
2942
+ [[package]]
2943
+ name = "yoke-derive"
2944
+ version = "0.8.2"
2945
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2946
+ checksum = "de844c262c8848816172cef550288e7dc6c7b7814b4ee56b3e1553f275f1858e"
2947
+ dependencies = [
2948
+ "proc-macro2",
2949
+ "quote",
2950
+ "syn",
2951
+ "synstructure",
2952
+ ]
2953
+
2954
+ [[package]]
2955
+ name = "zerocopy"
2956
+ version = "0.8.48"
2957
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2958
+ checksum = "eed437bf9d6692032087e337407a86f04cd8d6a16a37199ed57949d415bd68e9"
2959
+ dependencies = [
2960
+ "zerocopy-derive",
2961
+ ]
2962
+
2963
+ [[package]]
2964
+ name = "zerocopy-derive"
2965
+ version = "0.8.48"
2966
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2967
+ checksum = "70e3cd084b1788766f53af483dd21f93881ff30d7320490ec3ef7526d203bad4"
2968
+ dependencies = [
2969
+ "proc-macro2",
2970
+ "quote",
2971
+ "syn",
2972
+ ]
2973
+
2974
+ [[package]]
2975
+ name = "zerofrom"
2976
+ version = "0.1.7"
2977
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2978
+ checksum = "69faa1f2a1ea75661980b013019ed6687ed0e83d069bc1114e2cc74c6c04c4df"
2979
+ dependencies = [
2980
+ "zerofrom-derive",
2981
+ ]
2982
+
2983
+ [[package]]
2984
+ name = "zerofrom-derive"
2985
+ version = "0.1.7"
2986
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2987
+ checksum = "11532158c46691caf0f2593ea8358fed6bbf68a0315e80aae9bd41fbade684a1"
2988
+ dependencies = [
2989
+ "proc-macro2",
2990
+ "quote",
2991
+ "syn",
2992
+ "synstructure",
2993
+ ]
2994
+
2995
+ [[package]]
2996
+ name = "zeroize"
2997
+ version = "1.8.2"
2998
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2999
+ checksum = "b97154e67e32c85465826e8bcc1c59429aaaf107c1e4a9e53c8d8ccd5eff88d0"
3000
+
3001
+ [[package]]
3002
+ name = "zerotrie"
3003
+ version = "0.2.4"
3004
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3005
+ checksum = "0f9152d31db0792fa83f70fb2f83148effb5c1f5b8c7686c3459e361d9bc20bf"
3006
+ dependencies = [
3007
+ "displaydoc",
3008
+ "yoke",
3009
+ "zerofrom",
3010
+ ]
3011
+
3012
+ [[package]]
3013
+ name = "zerovec"
3014
+ version = "0.11.6"
3015
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3016
+ checksum = "90f911cbc359ab6af17377d242225f4d75119aec87ea711a880987b18cd7b239"
3017
+ dependencies = [
3018
+ "yoke",
3019
+ "zerofrom",
3020
+ "zerovec-derive",
3021
+ ]
3022
+
3023
+ [[package]]
3024
+ name = "zerovec-derive"
3025
+ version = "0.11.3"
3026
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3027
+ checksum = "625dc425cab0dca6dc3c3319506e6593dcb08a9f387ea3b284dbd52a92c40555"
3028
+ dependencies = [
3029
+ "proc-macro2",
3030
+ "quote",
3031
+ "syn",
3032
+ ]
3033
+
3034
+ [[package]]
3035
+ name = "zmij"
3036
+ version = "1.0.10"
3037
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3038
+ checksum = "30e0d8dffbae3d840f64bda38e28391faef673a7b5a6017840f2a106c8145868"
Cargo.toml ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [package]
2
+ name = "monteeq-video-service"
3
+ version = "0.1.0"
4
+ edition = "2021"
5
+
6
+ [dependencies]
7
+ axum = { version = "0.7", features = ["macros", "multipart"] }
8
+ tokio = { version = "1.0", features = ["full"] }
9
+ serde = { version = "1.0", features = ["derive"] }
10
+ serde_json = "1.0"
11
+ tower-http = { version = "0.5", features = ["cors"] }
12
+ tempfile = "3.8"
13
+ uuid = { version = "1.4", features = ["v4"] }
14
+ anyhow = "1.0"
15
+ dashmap = "5.5"
16
+ fred = { version = "7.0", features = ["subscriber-client", "enable-rustls"] }
17
+ tokio-stream = "0.1"
18
+ dotenvy = "0.15"
19
+ sysinfo = "0.29"
20
+ async-trait = "0.1"
21
+
22
+ aws-config = "1.0"
23
+ aws-sdk-s3 = "1.0"
24
+ aws-credential-types = "1.0"
25
+ [profile.release]
26
+ opt-level = 3
Dockerfile ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # --- Build Stage ---
2
+ FROM rust:1.78-slim-bookworm AS builder
3
+
4
+ # Install build dependencies
5
+ RUN apt-get update && apt-get install -y \
6
+ pkg-config \
7
+ libssl-dev \
8
+ git \
9
+ && rm -rf /var/lib/apt/lists/*
10
+
11
+ WORKDIR /app
12
+
13
+ # Copy Cargo files first to cache dependencies
14
+ COPY Cargo.toml Cargo.lock ./
15
+
16
+ # Create a dummy src/main.rs to build dependencies and cache them
17
+ RUN mkdir src && \
18
+ echo "fn main() {}" > src/main.rs && \
19
+ cargo build --release && \
20
+ rm -rf src
21
+
22
+ # Copy the actual source code
23
+ COPY src ./src
24
+
25
+ # Build the real binary (update the timestamp on main.rs to force rebuild)
26
+ RUN touch src/main.rs && cargo build --release
27
+
28
+ # --- Runner Stage ---
29
+ FROM debian:bookworm-slim
30
+
31
+ # Install runtime dependencies (FFmpeg, FFprobe, OpenSSL, CA-Certificates)
32
+ RUN apt-get update && apt-get install -y \
33
+ ffmpeg \
34
+ ca-certificates \
35
+ libssl3 \
36
+ && rm -rf /var/lib/apt/lists/*
37
+
38
+ # Create a non-root user for Hugging Face Spaces (runs as user 1000)
39
+ RUN useradd -m -u 1000 appuser
40
+ WORKDIR /app
41
+
42
+ # Copy the compiled binary from builder
43
+ COPY --from=builder /app/target/release/monteeq-video-service /app/monteeq-video-service
44
+
45
+ # Ensure appuser owns the working directory for temp file writes if needed
46
+ RUN chown -R appuser:appuser /app
47
+
48
+ USER appuser
49
+
50
+ # Set environment variables
51
+ ENV PORT=7860
52
+ ENV RUST_LOG=info
53
+
54
+ # Expose port (HF Spaces defaults to 7860 or app_port metadata)
55
+ EXPOSE 7860
56
+
57
+ # Run the video service
58
+ CMD ["/app/monteeq-video-service"]
README.md ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: Monteeq Video Service
3
+ emoji: 🎥
4
+ colorFrom: blue
5
+ colorTo: indigo
6
+ sdk: docker
7
+ app_port: 7860
8
+ pinned: false
9
+ ---
10
+
11
+ # Monteeq Video Service
12
+
13
+ High-performance, asynchronous Rust service for processing and transcoding video to HLS.
14
+
15
+ ## Configuration
16
+
17
+ This service requires connection to a Redis server and an AWS S3 bucket (or compatible storage). In your Hugging Face Space settings, add the following **Variables and Secrets**:
18
+
19
+ | Secret Name | Description |
20
+ |---|---|
21
+ | `REDIS_URL` | Redis connection URL (e.g. `redis://default:password@host:port`) |
22
+ | `AWS_ACCESS_KEY_ID` | Your S3 access key ID |
23
+ | `AWS_SECRET_ACCESS_KEY` | Your S3 secret access key |
24
+ | `AWS_STORAGE_BUCKET_NAME` | The target S3 bucket (e.g. `monteeq-2`) |
25
+ | `AWS_S3_REGION_NAME` | The S3 bucket region (e.g. `eu-central-1`) |
26
+ | `S3_ENDPOINT` | (Optional) Custom endpoint URL if not using AWS S3 (e.g., Backblaze B2, Cloudflare R2) |
27
+ | `AWS_S3_USE_ACCELERATE` | (Optional) Set to `true` to enable Transfer Acceleration |
28
+
29
+ ## Deployment
30
+
31
+ To push changes to your Hugging Face Space:
32
+
33
+ 1. Initialize git and configure the Hugging Face Space remote:
34
+ ```bash
35
+ git init
36
+ git remote add hf git@hf.co:spaces/<your-username>/<your-space-name>
37
+ ```
38
+ 2. Commit and push:
39
+ ```bash
40
+ git add .
41
+ git commit -m "Deploy to Hugging Face Spaces"
42
+ git push hf master --force
43
+ ```
src/main.rs ADDED
@@ -0,0 +1,153 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ use std::sync::Arc;
2
+ use axum::{
3
+ routing::{post, get},
4
+ extract::{Json, Path, State}, Router,
5
+ };
6
+ // use std::net::SocketAddr; // Removed unused import
7
+ use tower_http::cors::CorsLayer;
8
+ use dotenvy::dotenv;
9
+ use std::env;
10
+ use fred::prelude::*;
11
+ use fred::interfaces::KeysInterface;
12
+
13
+ mod transcoder;
14
+ mod worker;
15
+ mod models;
16
+ mod queue;
17
+ mod storage;
18
+
19
+ use models::{VideoTask, UserTier, TaskStatus};
20
+ use queue::WeightedScheduler;
21
+ use worker::WorkerPool;
22
+
23
+ #[derive(serde::Serialize, serde::Deserialize)]
24
+ struct ProcessRequest {
25
+ video_id: String,
26
+ task_id: String,
27
+ target_format: String,
28
+ #[serde(default)]
29
+ tier: UserTier,
30
+ #[serde(default)]
31
+ skip_thumbnail: bool,
32
+ }
33
+
34
+ struct AppState {
35
+ scheduler: WeightedScheduler,
36
+ }
37
+
38
+ #[tokio::main]
39
+ async fn main() {
40
+ dotenv().ok();
41
+
42
+ // We bind the port first so Render doesn't time out while we connect to Redis
43
+ let port = env::var("PORT").unwrap_or_else(|_| "8080".to_string());
44
+ let addr = format!("0.0.0.0:{}", port);
45
+ let listener = tokio::net::TcpListener::bind(&addr).await.expect("Failed to bind to PORT");
46
+ println!("Monteeq High-Performance Video Service listening on {}", addr);
47
+
48
+ // Redis Setup - Highly optimized for limited connections
49
+ let redis_url = env::var("REDIS_URL").unwrap_or_else(|_| "redis://127.0.0.1:6379".to_string());
50
+ let mut config = RedisConfig::from_url(&redis_url).unwrap();
51
+
52
+ // Allow for connection retries and higher throughput
53
+ config.fail_fast = false;
54
+
55
+ let perf = PerformanceConfig {
56
+ // Increase timeout and allow more concurrent operations
57
+ default_command_timeout: std::time::Duration::from_secs(30),
58
+ ..Default::default()
59
+ };
60
+
61
+ let policy = ReconnectPolicy::default();
62
+ // Use a connection pool for higher concurrency
63
+ let pool = RedisPool::new(config, Some(perf), None, Some(policy), 16).unwrap();
64
+
65
+ println!("[DEBUG] Initiating Redis connection to {}...", redis_url);
66
+ pool.connect();
67
+ // We don't wait_for_connect() here to avoid blocking Render's port detection.
68
+ // Fred will automatically queue commands until the connection is established.
69
+ println!("[DEBUG] Redis connection task initiated.");
70
+
71
+ let scheduler = WeightedScheduler::new(pool);
72
+ let worker_pool = WorkerPool::new(scheduler.clone());
73
+
74
+ // Start prioritized worker pool
75
+ tokio::spawn(async move {
76
+ worker_pool.start().await;
77
+ });
78
+
79
+ let state = Arc::new(AppState {
80
+ scheduler: scheduler.clone(),
81
+ });
82
+
83
+ let app = Router::new()
84
+ .route("/health", get(|| async { "OK" }))
85
+ .route("/process", post(process_video))
86
+ .route("/status/:task_id", get(get_status))
87
+ .layer(CorsLayer::permissive())
88
+ .with_state(state);
89
+
90
+ axum::serve(listener, app).await.unwrap();
91
+ }
92
+
93
+ async fn process_video(
94
+ State(state): State<Arc<AppState>>,
95
+ Json(payload): Json<ProcessRequest>
96
+ ) -> Json<serde_json::Value> {
97
+ let task = VideoTask {
98
+ video_id: payload.video_id,
99
+ task_id: payload.task_id.clone(),
100
+ target_format: payload.target_format,
101
+ tier: payload.tier,
102
+ skip_thumbnail: payload.skip_thumbnail,
103
+ };
104
+
105
+ let status = TaskStatus {
106
+ progress: 0,
107
+ status: "queued".to_string(),
108
+ message: "Task added to priority queue".to_string(),
109
+ };
110
+
111
+ // Save status to Redis with 24h TTL
112
+ let status_json = serde_json::to_string(&status).unwrap();
113
+ let status_key = format!("task:status:{}", payload.task_id);
114
+ let _: () = state.scheduler.client().set(status_key, status_json, Some(Expiration::EX(86400)), None, false).await.unwrap_or_default();
115
+
116
+ // Push to weighted queue
117
+ match state.scheduler.push_task(task).await {
118
+ Ok(_) => {
119
+ println!("[UPLOAD] Task accepted: {}", payload.task_id);
120
+ Json(serde_json::json!({
121
+ "status": "accepted",
122
+ "task_id": payload.task_id
123
+ }))
124
+ },
125
+ Err(e) => {
126
+ eprintln!("[ERROR] Failed to push task {}: {}", payload.task_id, e);
127
+ Json(serde_json::json!({
128
+ "status": "error",
129
+ "message": e.to_string()
130
+ }))
131
+ }
132
+ }
133
+ }
134
+
135
+ async fn get_status(
136
+ State(state): State<Arc<AppState>>,
137
+ Path(task_id): Path<String>
138
+ ) -> Json<Option<TaskStatus>> {
139
+ let status_key = format!("task:status:{}", task_id);
140
+ let val: Option<String> = state.scheduler.client().get(status_key).await.unwrap_or(None);
141
+
142
+ match val {
143
+ Some(json) => {
144
+ let status: TaskStatus = serde_json::from_str(&json).unwrap_or(TaskStatus {
145
+ progress: 0,
146
+ status: "error".to_string(),
147
+ message: "Failed to parse status".to_string(),
148
+ });
149
+ Json(Some(status))
150
+ },
151
+ None => Json(None)
152
+ }
153
+ }
src/models.rs ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ use serde::{Deserialize, Serialize};
2
+
3
+ #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Default)]
4
+ #[serde(rename_all = "lowercase")]
5
+ pub enum UserTier {
6
+ #[default]
7
+ Free,
8
+ Pro,
9
+ }
10
+
11
+ #[derive(Serialize, Deserialize, Debug, Clone)]
12
+ pub struct VideoTask {
13
+ pub video_id: String,
14
+ pub task_id: String,
15
+ pub target_format: String, // "home" or "flash"
16
+ pub tier: UserTier,
17
+ #[serde(default)]
18
+ pub skip_thumbnail: bool,
19
+ }
20
+
21
+ #[derive(Serialize, Deserialize, Clone, Debug)]
22
+ pub struct TaskStatus {
23
+ pub progress: u32,
24
+ pub status: String,
25
+ pub message: String,
26
+ }
src/queue.rs ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ use fred::prelude::*;
2
+ use crate::models::{VideoTask, UserTier};
3
+ use anyhow::{Result, anyhow};
4
+ use std::sync::Arc;
5
+ use tokio::sync::Mutex;
6
+
7
+ pub const QUEUE_PRO: &str = "tasks:pro";
8
+ pub const QUEUE_FREE: &str = "tasks:free";
9
+
10
+ #[derive(Clone)]
11
+ pub struct WeightedScheduler {
12
+ client: RedisPool,
13
+ pro_counter: Arc<Mutex<u32>>,
14
+ }
15
+
16
+ impl WeightedScheduler {
17
+ pub fn new(client: RedisPool) -> Self {
18
+ Self {
19
+ client,
20
+ pro_counter: Arc::new(Mutex::new(0)),
21
+ }
22
+ }
23
+
24
+ pub fn client(&self) -> &RedisPool {
25
+ &self.client
26
+ }
27
+
28
+ /// Fetches a task using a 70:30 weighted ratio (PRO:FREE).
29
+ /// If both queues are empty, it waits (BRPOP) with a timeout.
30
+ pub async fn next_task(&self) -> Result<VideoTask> {
31
+ let mut pro_count = self.pro_counter.lock().await;
32
+
33
+ // Determine which list to check first based on weights
34
+ let (first, second) = if *pro_count < 3 {
35
+ (QUEUE_PRO, QUEUE_FREE)
36
+ } else {
37
+ (QUEUE_FREE, QUEUE_PRO)
38
+ };
39
+
40
+ // 1. Try first choice (Non-blocking)
41
+ if let Some(val) = self.try_pop(first).await? {
42
+ if first == QUEUE_PRO { *pro_count += 1; } else { *pro_count = 0; }
43
+ return Ok(serde_json::from_str(&val)?);
44
+ }
45
+
46
+ // 2. Try second choice (Non-blocking)
47
+ if let Some(val) = self.try_pop(second).await? {
48
+ if second == QUEUE_PRO { *pro_count += 1; } else { *pro_count = 0; }
49
+ return Ok(serde_json::from_str(&val)?);
50
+ }
51
+
52
+ // 3. Fallback: Wait on both (Anti-starvation)
53
+ // Note: fred's brpop on multiple keys picks the first available.
54
+ // We'll reset counts if we resort to waiting.
55
+ let result: Option<(String, String)> = self.client.brpop(vec![QUEUE_PRO, QUEUE_FREE], 30.0).await?;
56
+
57
+ if let Some((key, val)) = result {
58
+ if key == QUEUE_PRO { *pro_count += 1; } else { *pro_count = 0; }
59
+ return Ok(serde_json::from_str(&val)?);
60
+ }
61
+
62
+ Err(anyhow!("No tasks available"))
63
+ }
64
+
65
+ async fn try_pop(&self, key: &str) -> Result<Option<String>> {
66
+ let val: Option<String> = self.client.lpop(key, None).await?;
67
+ Ok(val)
68
+ }
69
+
70
+ pub async fn push_task(&self, task: VideoTask) -> Result<()> {
71
+ let key = if task.tier == UserTier::Pro { QUEUE_PRO } else { QUEUE_FREE };
72
+ let json = serde_json::to_string(&task)?;
73
+ self.client.rpush::<(), _, _>(key, json).await?;
74
+ Ok(())
75
+ }
76
+ }
src/storage.rs ADDED
@@ -0,0 +1,118 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ use aws_config::meta::region::RegionProviderChain;
2
+ use aws_sdk_s3::Client;
3
+ use aws_sdk_s3::primitives::ByteStream;
4
+ use anyhow::{Result, anyhow};
5
+ use std::path::Path;
6
+ use tokio::fs;
7
+
8
+ pub struct StorageManager {
9
+ client: Client,
10
+ bucket: String,
11
+ }
12
+
13
+ use aws_config::Region;
14
+
15
+ impl StorageManager {
16
+ pub async fn new() -> Result<Self> {
17
+ let region_name = std::env::var("S3_REGION").ok()
18
+ .or_else(|| std::env::var("AWS_S3_REGION_NAME").ok())
19
+ .or_else(|| std::env::var("AWS_REGION").ok());
20
+
21
+ let region_provider = RegionProviderChain::first_try(region_name.map(Region::new))
22
+ .or_default_provider()
23
+ .or_else(Region::new("eu-west-1"));
24
+
25
+ let config = aws_config::defaults(aws_config::BehaviorVersion::latest())
26
+ .region(region_provider)
27
+ .load()
28
+ .await;
29
+
30
+ let mut s3_config_builder = aws_sdk_s3::config::Builder::from(&config);
31
+
32
+ // Handle custom endpoint (e.g. Backblaze)
33
+ if let Ok(endpoint) = std::env::var("S3_ENDPOINT") {
34
+ println!("Rust: Using custom S3 endpoint: {}", endpoint);
35
+ s3_config_builder = s3_config_builder.endpoint_url(endpoint);
36
+ }
37
+
38
+ // Build S3 config with optional Transfer Acceleration
39
+ let use_accelerate = std::env::var("AWS_S3_USE_ACCELERATE")
40
+ .map(|v| v.to_lowercase() == "true")
41
+ .unwrap_or(false);
42
+
43
+ if use_accelerate {
44
+ println!("Rust: Enabling S3 Transfer Acceleration");
45
+ s3_config_builder = s3_config_builder.accelerate(true);
46
+ }
47
+
48
+ let s3_config = s3_config_builder.build();
49
+ let client = Client::from_conf(s3_config);
50
+
51
+ let bucket = std::env::var("S3_BUCKET_NAME")
52
+ .or_else(|_| std::env::var("AWS_STORAGE_BUCKET_NAME"))
53
+ .map_err(|_| anyhow!("Storage bucket name not set (S3_BUCKET_NAME or AWS_STORAGE_BUCKET_NAME)"))?;
54
+
55
+ Ok(Self { client, bucket })
56
+ }
57
+
58
+
59
+ /// Recursively upload HLS directory to S3
60
+ pub async fn upload_hls_dir(&self, local_dir: &str, s3_prefix: &str) -> Result<()> {
61
+ let mut entries = fs::read_dir(local_dir).await?;
62
+
63
+ while let Some(entry) = entries.next_entry().await? {
64
+ let path = entry.path();
65
+ if path.is_file() {
66
+ let filename = path.file_name().unwrap().to_str().unwrap();
67
+ let key = format!("{}/{}", s3_prefix, filename);
68
+ self.upload_file(&path, &key).await?;
69
+ }
70
+ }
71
+ Ok(())
72
+ }
73
+
74
+ pub async fn upload_file(&self, local_path: &Path, key: &str) -> Result<()> {
75
+ let data = fs::read(local_path).await?;
76
+ let mime_type = match local_path.extension().and_then(|s| s.to_str()) {
77
+ Some("m3u8") => "application/x-mpegURL",
78
+ Some("ts") => "video/MP2T",
79
+ Some("jpg") | Some("jpeg") => "image/jpeg",
80
+ _ => "application/octet-stream",
81
+ };
82
+
83
+ let body = ByteStream::from(data);
84
+
85
+ self.client
86
+ .put_object()
87
+ .bucket(&self.bucket)
88
+ .key(key)
89
+ .body(body)
90
+ .content_type(mime_type)
91
+ .send()
92
+ .await
93
+ .map_err(|e| anyhow!("Upload failed: {}", e))?;
94
+
95
+ Ok(())
96
+ }
97
+
98
+ pub async fn download_file(&self, key: &str, local_path: &Path) -> Result<()> {
99
+ println!("Attempting to download from S3: bucket={}, key={}", self.bucket, key);
100
+ let res = self.client
101
+ .get_object()
102
+ .bucket(&self.bucket)
103
+ .key(key)
104
+ .send()
105
+ .await
106
+ .map_err(|e| {
107
+ let service_err = e.into_service_error();
108
+ anyhow!("S3 Download Error [Bucket: {}, Key: {}]: {}", self.bucket, key, service_err)
109
+ })?;
110
+
111
+ let data = res.body.collect().await
112
+ .map_err(|e| anyhow!("Failed to collect body: {}", e))?
113
+ .into_bytes();
114
+
115
+ fs::write(local_path, data).await?;
116
+ Ok(())
117
+ }
118
+ }
src/transcoder.rs ADDED
@@ -0,0 +1,305 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ use tokio::process::Command;
2
+ use fred::interfaces::KeysInterface;
3
+ use anyhow::{Result, anyhow};
4
+ use std::path::Path;
5
+ use tokio::fs;
6
+ use crate::storage::StorageManager;
7
+ use crate::models::{UserTier, TaskStatus};
8
+ use crate::queue::WeightedScheduler;
9
+
10
+ pub struct TranscodingConfig {
11
+ pub preset: String,
12
+ pub max_height: i32,
13
+ pub crf: String,
14
+ }
15
+
16
+ impl TranscodingConfig {
17
+ pub fn for_tier(tier: &UserTier) -> Self {
18
+ match tier {
19
+ UserTier::Free => Self {
20
+ preset: "ultrafast".to_string(),
21
+ max_height: 720,
22
+ crf: "26".to_string(), // Slightly lower quality for space/speed
23
+ },
24
+ UserTier::Pro => Self {
25
+ preset: "medium".to_string(),
26
+ max_height: 2160, // Support up to 4K
27
+ crf: "23".to_string(), // Better quality
28
+ },
29
+ }
30
+ }
31
+ }
32
+
33
+ pub async fn process(
34
+ _video_id: String, // Platform ID
35
+ video_path: &str, // Local filesystem path
36
+ format: &str,
37
+ tier: UserTier,
38
+ skip_thumbnail: bool,
39
+ scheduler: Option<WeightedScheduler>,
40
+ task_id: String // Processing Key
41
+ ) -> Result<()> {
42
+ println!("Starting processing for task_id={} video_path={}", task_id, video_path);
43
+
44
+ // Check if file exists
45
+ if !Path::new(video_path).exists() {
46
+ return Err(anyhow!("Video file not found at path: {}", video_path));
47
+ }
48
+
49
+ let config = TranscodingConfig::for_tier(&tier);
50
+
51
+ // 1. Metadata extraction
52
+ if let Some(ref sched) = scheduler {
53
+ let status = TaskStatus {
54
+ progress: 5,
55
+ status: "processing".to_string(),
56
+ message: "Analyzing video streams and metadata...".to_string(),
57
+ };
58
+ let status_json = serde_json::to_string(&status).unwrap();
59
+ let _: () = sched.client().set(format!("task:status:{}", task_id), status_json, Some(fred::types::Expiration::EX(86400)), None, false).await.unwrap_or_default();
60
+ }
61
+ println!("Extracting metadata for {}", video_path);
62
+ let (width, height, has_audio) = match get_video_metadata(video_path).await {
63
+ Ok(m) => m,
64
+ Err(e) => {
65
+ eprintln!("Metadata extraction failed for {}: {}", video_path, e);
66
+ return Err(e);
67
+ }
68
+ };
69
+ let aspect_ratio = width / height;
70
+ println!("Metadata: width={} height={} has_audio={} aspect_ratio={}", width, height, has_audio, aspect_ratio);
71
+
72
+ // 2. Prep Output
73
+ let output_dir = format!("{}_hls", video_path);
74
+ if !Path::new(&output_dir).exists() {
75
+ fs::create_dir_all(&output_dir).await?;
76
+ }
77
+
78
+ // 3. Transcode + Thumbnail Concurrently
79
+ let transcoding_fut = transcode_tiered(video_path, &output_dir, format, &config, scheduler.clone(), task_id.clone(), has_audio, &tier);
80
+ let v_path = video_path.to_string();
81
+ let thumbnail_fut = async move {
82
+ if !skip_thumbnail {
83
+ generate_thumbnail(&v_path).await
84
+ } else {
85
+ Ok(())
86
+ }
87
+ };
88
+
89
+ // Run both. Pro users might benefit from faster total completion time
90
+ let (trans_res, thumb_res) = tokio::join!(transcoding_fut, thumbnail_fut);
91
+
92
+ trans_res?;
93
+ thumb_res?;
94
+
95
+ // 4. Upload to Storage
96
+ match StorageManager::new().await {
97
+ Ok(storage) => {
98
+ let s3_prefix = format!("videos/{}", task_id);
99
+ if let Some(ref sched) = scheduler {
100
+ let status = TaskStatus {
101
+ progress: 90,
102
+ status: "processing".to_string(),
103
+ message: "Syncing video segments to edge nodes...".to_string(),
104
+ };
105
+ let status_json = serde_json::to_string(&status).unwrap();
106
+ let _: () = sched.client().set(format!("task:status:{}", task_id), status_json, Some(fred::types::Expiration::EX(86400)), None, false).await.unwrap_or_default();
107
+ }
108
+ storage.upload_hls_dir(&output_dir, &s3_prefix).await?;
109
+
110
+ // Upload thumbnail too
111
+ if !skip_thumbnail {
112
+ let thumb_path = format!("{}.jpg", video_path);
113
+ let thumb_key = format!("thumbnails/{}.jpg", task_id);
114
+ storage.upload_file(Path::new(&thumb_path), &thumb_key).await?;
115
+ }
116
+ },
117
+ Err(e) => {
118
+ eprintln!("Storage Manager initialization failed: {}. Skipping upload.", e);
119
+ return Err(anyhow!("Storage initialization failed: {}", e));
120
+ }
121
+ }
122
+ Ok(())
123
+ }
124
+
125
+ async fn get_video_metadata(video_path: &str) -> Result<(i32, i32, bool)> {
126
+ let output = Command::new("ffprobe")
127
+ .args(&[
128
+ "-v", "error", "-select_streams", "v:0",
129
+ "-show_entries", "stream=width,height",
130
+ "-of", "csv=s=x:p=0",
131
+ video_path,
132
+ ])
133
+ .output().await?;
134
+
135
+ let s = String::from_utf8(output.stdout)?;
136
+ let parts: Vec<&str> = s.trim().split('x').collect();
137
+ if parts.len() != 2 {
138
+ return Err(anyhow!("Invalid ffprobe output: {}", s));
139
+ }
140
+
141
+ let width = parts[0].parse()?;
142
+ let height = parts[1].parse()?;
143
+
144
+ // Check for audio
145
+ let audio_output = Command::new("ffprobe")
146
+ .args(&[
147
+ "-v", "error", "-select_streams", "a",
148
+ "-show_entries", "stream=index",
149
+ "-of", "csv=p=0",
150
+ video_path,
151
+ ])
152
+ .output().await?;
153
+
154
+ let has_audio = !String::from_utf8(audio_output.stdout)?.trim().is_empty();
155
+
156
+ Ok((width, height, has_audio))
157
+ }
158
+
159
+ async fn transcode_tiered(
160
+ input: &str,
161
+ output_dir: &str,
162
+ format: &str,
163
+ config: &TranscodingConfig,
164
+ scheduler: Option<WeightedScheduler>,
165
+ task_id: String,
166
+ has_audio: bool,
167
+ tier: &UserTier
168
+ ) -> Result<()> {
169
+ println!("Transcoding tiered levels for {} -> {}", input, output_dir);
170
+
171
+ let source_height = get_video_height(input).await?;
172
+ let _target_height = source_height.min(config.max_height);
173
+
174
+ // ── 1. Determine variants ────────────────────────────────────────────────
175
+ // num_variants = how many video streams (and therefore audio streams) we produce.
176
+ // stream_map uses unique a:N per variant — sharing a:0 across variants is the
177
+ // root cause of FFmpeg error "Same elementary stream found more than once".
178
+ let (filter, stream_map, num_variants): (String, String, usize) = if format == "flash" {
179
+ // Single quality for flash (Original resolution)
180
+ let sm = if has_audio { "v:0,a:0,name:original".to_string() } else { "v:0,name:original".to_string() };
181
+ (format!("[0:v]scale=w=-2:h={}[vout]", source_height), sm, 1)
182
+ } else if config.max_height <= 720 {
183
+ // Free tier — two quality levels, capped at 720p
184
+ let sm = if has_audio {
185
+ "v:0,a:0,name:720p v:1,a:1,name:480p".to_string() // ← unique a:0 / a:1
186
+ } else {
187
+ "v:0,name:720p v:1,name:480p".to_string()
188
+ };
189
+ (
190
+ "[0:v]split=2[v1][v2]; [v1]scale=w=-2:h=720[v1out]; [v2]scale=w=-2:h=480[v2out]".to_string(),
191
+ sm, 2
192
+ )
193
+ } else {
194
+ // Pro tier — three quality levels up to 1080p
195
+ let sm = if has_audio {
196
+ "v:0,a:0,name:1080p v:1,a:1,name:720p v:2,a:2,name:480p".to_string() // ← unique a:0/a:1/a:2
197
+ } else {
198
+ "v:0,name:1080p v:1,name:720p v:2,name:480p".to_string()
199
+ };
200
+ (
201
+ "[0:v]split=3[v1][v2][v3]; [v1]scale=w=-2:h=1080[v1out]; [v2]scale=w=-2:h=720[v2out]; [v3]scale=w=-2:h=480[v3out]".to_string(),
202
+ sm, 3
203
+ )
204
+ };
205
+
206
+ // ── 2. Build args as Vec<String> so we can push dynamic per-stream options ─
207
+ let mut args: Vec<String> = vec![
208
+ "-i".into(), input.into(),
209
+ // NOTE: Do NOT add global -c:a here — it conflicts with per-stream -c:a:N below
210
+ "-preset".into(), config.preset.clone(),
211
+ "-crf".into(), config.crf.clone(),
212
+ "-f".into(), "hls".into(),
213
+ "-hls_time".into(), "6".into(),
214
+ "-hls_playlist_type".into(), "vod".into(),
215
+ "-master_pl_name".into(), "master.m3u8".into(),
216
+ "-filter_complex".into(), filter.clone(),
217
+ ];
218
+
219
+ // ── 3. Video stream mappings ─────────────────────────────────────────────
220
+ if filter.contains("split=3") {
221
+ args.extend(["-map","[v1out]","-c:v:0","libx264","-b:v:0","5000k",
222
+ "-map","[v2out]","-c:v:1","libx264","-b:v:1","2800k",
223
+ "-map","[v3out]","-c:v:2","libx264","-b:v:2","1200k"]
224
+ .iter().map(|s| s.to_string()));
225
+ } else if filter.contains("split=2") {
226
+ args.extend(["-map","[v1out]","-c:v:0","libx264","-b:v:0","2800k",
227
+ "-map","[v2out]","-c:v:1","libx264","-b:v:1","1200k"]
228
+ .iter().map(|s| s.to_string()));
229
+ } else {
230
+ args.extend(["-map","[vout]","-c:v:0","libx264","-b:v:0","2800k"]
231
+ .iter().map(|s| s.to_string()));
232
+ }
233
+
234
+ // ── 4. Audio stream mappings ─────────────────────────────────────────────
235
+ // Each HLS variant needs its OWN audio output stream. We map the single
236
+ // source audio track N times (once per variant) so the muxer can write
237
+ // independent AAC streams into the separate .ts segment files.
238
+ if has_audio {
239
+ for _ in 0..num_variants {
240
+ args.push("-map".into());
241
+ args.push("0:a?".into());
242
+ }
243
+ for i in 0..num_variants {
244
+ args.push(format!("-c:a:{}", i));
245
+ args.push("aac".into());
246
+ args.push(format!("-b:a:{}", i));
247
+ args.push("128k".into());
248
+ }
249
+ }
250
+
251
+ // ── 5. HLS output options ────────────────────────────────────────────────
252
+ let segment_filename = format!("{}/%v_%03d.ts", output_dir);
253
+ let output_pattern = format!("{}/%v.m3u8", output_dir);
254
+
255
+ args.extend([
256
+ "-hls_segment_filename".to_string(), segment_filename,
257
+ "-var_stream_map".to_string(), stream_map,
258
+ output_pattern,
259
+ ]);
260
+
261
+ if let Some(ref sched) = scheduler {
262
+ let status = TaskStatus {
263
+ progress: 15,
264
+ status: "processing".to_string(),
265
+ message: format!("Compressing and optimizing video (Tier: {:?})", tier),
266
+ };
267
+ let status_json = serde_json::to_string(&status).unwrap();
268
+ let _: () = sched.client().set(format!("task:status:{}", task_id), status_json, Some(fred::types::Expiration::EX(86400)), None, false).await.unwrap_or_default();
269
+ }
270
+
271
+ let output = Command::new("ffmpeg").args(&args).output().await?;
272
+ if !output.status.success() {
273
+ let err = String::from_utf8_lossy(&output.stderr);
274
+ eprintln!("FFmpeg Error: {}", err);
275
+ return Err(anyhow!("FFmpeg failed: {}", err));
276
+ }
277
+ Ok(())
278
+
279
+ }
280
+
281
+ async fn get_video_height(input: &str) -> Result<i32> {
282
+ let output = Command::new("ffprobe")
283
+ .args(&["-v", "error", "-select_streams", "v:0", "-show_entries", "stream=height", "-of", "csv=p=0", input])
284
+ .output().await?;
285
+ let s = String::from_utf8(output.stdout)?;
286
+ Ok(s.trim().parse()?)
287
+ }
288
+
289
+ async fn generate_thumbnail(video_path: &str) -> Result<()> {
290
+ let thumb_path = format!("{}.jpg", video_path);
291
+ let status = Command::new("ffmpeg")
292
+ .args(&[
293
+ "-ss", "00:00:01",
294
+ "-i", video_path,
295
+ "-frames:v", "1",
296
+ "-update", "1",
297
+ "-q:v", "2",
298
+ "-y", &thumb_path
299
+ ])
300
+ .status().await?;
301
+ if !status.success() {
302
+ return Err(anyhow!("Thumbnail generation failed"));
303
+ }
304
+ Ok(())
305
+ }
src/worker.rs ADDED
@@ -0,0 +1,147 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ use std::sync::Arc;
2
+ use tokio::sync::Semaphore;
3
+ use sysinfo::{System, SystemExt};
4
+ use crate::queue::WeightedScheduler;
5
+ use fred::interfaces::KeysInterface;
6
+ use crate::transcoder;
7
+ use crate::models::TaskStatus;
8
+
9
+ pub struct WorkerPool {
10
+ scheduler: WeightedScheduler,
11
+ semaphore: Arc<Semaphore>,
12
+ }
13
+
14
+ impl WorkerPool {
15
+ pub fn new(scheduler: WeightedScheduler) -> Self {
16
+ let max_procs = calculate_max_processes();
17
+ println!("Initializing Worker Pool with {} slots", max_procs);
18
+
19
+ Self {
20
+ scheduler,
21
+ semaphore: Arc::new(Semaphore::new(max_procs)),
22
+ }
23
+ }
24
+
25
+ pub async fn start(&self) {
26
+ println!("Worker Pool started. Polling for tasks...");
27
+
28
+ loop {
29
+ // Wait for a slot to be available before even pulling a task
30
+ // This prevents filling RAM with tasks that are just waiting
31
+ let permit = self.semaphore.clone().acquire_owned().await.unwrap();
32
+
33
+ match self.scheduler.next_task().await {
34
+ Ok(task) => {
35
+ let scheduler = self.scheduler.clone();
36
+
37
+ tokio::spawn(async move {
38
+ let _permit = permit; // Hold permit until done
39
+ let task_id = task.task_id.clone();
40
+ let s3_key = task.video_id.clone();
41
+ let tier = task.tier.clone();
42
+ let target_format = task.target_format.clone();
43
+ let skip_thumbnail = task.skip_thumbnail;
44
+
45
+ // Phase 0: Download from S3
46
+ let storage = match crate::storage::StorageManager::new().await {
47
+ Ok(s) => s,
48
+ Err(e) => {
49
+ eprintln!("Failed to initialize StorageManager for task {}: {}", task_id, e);
50
+ return;
51
+ }
52
+ };
53
+
54
+ let temp_file = match tempfile::NamedTempFile::new() {
55
+ Ok(f) => f,
56
+ Err(e) => {
57
+ eprintln!("Failed to create temp file for task {}: {}", task_id, e);
58
+ return;
59
+ }
60
+ };
61
+ let temp_path = temp_file.path().to_str().unwrap().to_string();
62
+
63
+ println!("Downloading {} from S3 to {}", s3_key, temp_path);
64
+ if let Err(e) = storage.download_file(&s3_key, temp_file.path()).await {
65
+ eprintln!("Download failed for task {}: {}", task_id, e);
66
+ let status = TaskStatus {
67
+ progress: 0,
68
+ status: "error".to_string(),
69
+ message: format!("Download failed: {}", e),
70
+ };
71
+ let status_json = serde_json::to_string(&status).unwrap();
72
+ let _: () = scheduler.client().set(format!("task:status:{}", task_id), status_json, Some(fred::types::Expiration::EX(86400)), None, false).await.unwrap_or_default();
73
+ return;
74
+ }
75
+
76
+ // Phase 1: Processing with retries
77
+ for attempt in 1..=3 {
78
+ if attempt > 1 { println!("Retrying {} (Attempt {})", task_id, attempt); }
79
+
80
+ let res = transcoder::process(
81
+ task_id.clone(),
82
+ &temp_path,
83
+ &target_format,
84
+ tier.clone(),
85
+ skip_thumbnail,
86
+ Some(scheduler.clone()),
87
+ task_id.clone()
88
+ ).await;
89
+
90
+ match res {
91
+ Ok(_) => {
92
+ println!("Completed Task: {}", task_id);
93
+ let status = TaskStatus {
94
+ progress: 100,
95
+ status: "completed".to_string(),
96
+ message: "Video live and distributed globally!".to_string(),
97
+ };
98
+ let status_json = serde_json::to_string(&status).unwrap();
99
+ let _: () = scheduler.client().set(format!("task:status:{}", task_id), status_json, Some(fred::types::Expiration::EX(86400)), None, false).await.unwrap_or_default();
100
+ break;
101
+ },
102
+ Err(e) if attempt == 3 => {
103
+ eprintln!("Failed Task {} after 3 attempts: {}", task_id, e);
104
+ let status = TaskStatus {
105
+ progress: 0,
106
+ status: "error".to_string(),
107
+ message: format!("Final error: {}", e),
108
+ };
109
+ let status_json = serde_json::to_string(&status).unwrap();
110
+ let _: () = scheduler.client().set(format!("task:status:{}", task_id), status_json, Some(fred::types::Expiration::EX(86400)), None, false).await.unwrap_or_default();
111
+ },
112
+ Err(_) => {
113
+ tokio::time::sleep(tokio::time::Duration::from_secs(2)).await;
114
+ }
115
+ }
116
+ }
117
+ });
118
+ },
119
+ Err(_) => {
120
+ // No tasks or wait timeout
121
+ tokio::time::sleep(tokio::time::Duration::from_secs(1)).await;
122
+ }
123
+ }
124
+ }
125
+ }
126
+ }
127
+
128
+ fn calculate_max_processes() -> usize {
129
+ let mut sys = System::new_all();
130
+ sys.refresh_all();
131
+
132
+ let cpus = sys.cpus().len();
133
+ let total_ram_gb = sys.total_memory() as f64 / (1024.0 * 1024.0 * 1024.0);
134
+
135
+ // Formula: min(cpus/2, ram/1.5, disk_limit)
136
+ let cpu_limit = (cpus as f64 / 2.0).floor() as usize;
137
+ let ram_limit = (total_ram_gb / 1.5).floor() as usize;
138
+ let disk_limit = std::env::var("DISK_IO_LIMIT")
139
+ .unwrap_or_else(|_| "4".to_string())
140
+ .parse::<usize>()
141
+ .unwrap_or(4);
142
+
143
+ let calculated = cpu_limit.min(ram_limit).min(disk_limit);
144
+
145
+ // Ensure at least 1 worker
146
+ calculated.max(1)
147
+ }