├── .github
└── workflows
│ ├── release.yaml
│ └── wf.yaml
├── .gitignore
├── Cargo.lock
├── Cargo.toml
├── LICENSE-GPL.txt
├── LICENSE-MIT.txt
├── README.md
├── debian
├── luminous-ttv.service
└── maint-scripts
│ └── .gitkeep
├── rustfmt.toml
└── src
├── common.rs
├── hello.rs
├── hello_config.rs
├── main.rs
└── status.rs
/.github/workflows/release.yaml:
--------------------------------------------------------------------------------
1 | # taken from https://github.com/cargo-generate/cargo-generate/blob/master/.github/workflows/release.yml and
2 | # https://github.com/cargo-generate/cargo-generate/blob/master/.github/workflows/release-binary-assets.yml and
3 | # modified
4 |
5 | ## references:
6 | # cache: https://github.com/actions/cache/blob/main/examples.md#rust---cargo
7 | # audit: https://github.com/actions-rs/audit-check
8 | # "needs": https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idneeds
9 |
10 | name: Release
11 | on:
12 | push:
13 | tags:
14 | - 'v[0-9]+.[0-9]+.[0-9]+'
15 | - 'v[0-9]+.[0-9]+.[0-9]-alpha.[0-9]+'
16 | - 'v[0-9]+.[0-9]+.[0-9]-beta.[0-9]+'
17 | paths-ignore:
18 | - "**/docs/**"
19 | - "**.md"
20 |
21 | jobs:
22 | check:
23 | name: check
24 | strategy:
25 | fail-fast: false
26 | matrix:
27 | version: [ 'macos-latest', 'ubuntu-latest', 'windows-latest' ]
28 | runs-on: ${{ matrix.version }}
29 | steps:
30 | - uses: actions/checkout@v4
31 | - name: setup | rust
32 | uses: dtolnay/rust-toolchain@stable
33 | with:
34 | components: clippy, rustfmt
35 | - uses: Swatinem/rust-cache@v2
36 | - run: cargo check
37 |
38 | lint:
39 | name: lint
40 | needs: check
41 | strategy:
42 | fail-fast: false
43 | matrix:
44 | version: [ 'macos-latest', 'ubuntu-20.04', 'windows-2022' ]
45 | cargo-cmd:
46 | - fmt --all -- --check
47 | - clippy --all-targets --all-features -- -D warnings
48 | runs-on: ${{ matrix.version }}
49 | steps:
50 | - uses: actions/checkout@v4
51 | - name: setup | rust
52 | uses: dtolnay/rust-toolchain@stable
53 | with:
54 | components: clippy, rustfmt
55 | - uses: Swatinem/rust-cache@v2
56 | - run: cargo ${{ matrix['cargo-cmd'] }}
57 |
58 | release:
59 | name: post / github release
60 | needs: lint
61 | runs-on: ubuntu-latest
62 | environment: release
63 | outputs:
64 | version: ${{ steps.tag_name.outputs.current_version }}
65 | steps:
66 | - uses: actions/checkout@v4
67 | - name: Get version from tag
68 | id: tag_name
69 | run: |
70 | echo ::set-output name=current_version::${GITHUB_REF#refs/tags/v}
71 | shell: bash
72 | - name: Create Release
73 | id: create_release
74 | uses: actions/create-release@v1
75 | env:
76 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
77 | with:
78 | # This pulls from the "Get Changelog Entry" step above, referencing its ID to get its outputs object.
79 | # See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
80 | tag_name: ${{ github.ref }}
81 | release_name: Release ${{ steps.tag_name.outputs.current_version }}
82 |
83 | rba:
84 | name: release binary assets
85 | needs: release
86 | runs-on: ${{ matrix.os }}
87 | env:
88 | CC_aarch64_unknown_linux_musl: "clang"
89 | AR_aarch64_unknown_linux_musl: "llvm-ar"
90 | CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_RUSTFLAGS: "-Clink-self-contained=yes -Clinker=rust-lld"
91 | strategy:
92 | fail-fast: false
93 | matrix:
94 | include:
95 | - target: x86_64-unknown-linux-musl
96 | os: ubuntu-20.04
97 | binName: luminous-ttv
98 | - target: aarch64-unknown-linux-musl
99 | os: ubuntu-20.04
100 | binName: luminous-ttv
101 | - target: x86_64-apple-darwin
102 | os: macos-latest
103 | binName: luminous-ttv
104 | - target: aarch64-apple-darwin
105 | os: macos-latest
106 | binName: luminous-ttv
107 | - target: i686-pc-windows-msvc
108 | os: windows-2022
109 | binName: luminous-ttv.exe
110 | - target: x86_64-pc-windows-msvc
111 | os: windows-2022
112 | binName: luminous-ttv.exe
113 | steps:
114 | - uses: actions/checkout@v4
115 | - name: Install musl tools
116 | if: ${{ contains(matrix.os, 'ubuntu') }}
117 | run: sudo apt-get install -y musl-dev musl-tools clang llvm
118 | - name: Setup Rust
119 | uses: dtolnay/rust-toolchain@stable
120 | with:
121 | targets: ${{ matrix.target }}
122 | - uses: Swatinem/rust-cache@v2
123 | - run: cargo build --release --target=${{ matrix.target }}
124 | - name: Smoke Test
125 | if: ${{ !contains(matrix.target, 'aarch64') }}
126 | run: cargo run --release --target=${{ matrix.target }} -- -V
127 | - name: Move Binary
128 | id: mv
129 | run: mv "target/${{ matrix.target }}/release/${{ matrix.binName }}" .
130 | - name: chmod binary #not working? ignored by zip action?
131 | if: ${{ matrix.os == 'ubuntu-latest' }}
132 | run: chmod +x "${{ matrix.binName }}"
133 | - name: Zip Files
134 | uses: vimtor/action-zip@v1
135 | id: archive
136 | with:
137 | files: README.md LICENSE-GPL.txt LICENSE-MIT.txt ${{ matrix.binName }}
138 | dest: luminous-ttv-${{ needs.release.outputs.version }}-${{ matrix.target }}.zip
139 | - name: Upload Archive
140 | uses: ncipollo/release-action@v1
141 | with:
142 | token: ${{ secrets.GITHUB_TOKEN }}
143 | allowUpdates: true
144 | artifactErrorsFailBuild: true
145 | artifacts: luminous-ttv-${{ needs.release.outputs.version }}-${{ matrix.target }}.zip
146 | artifactContentType: application/zip
147 | omitBodyDuringUpdate: true
148 | omitNameDuringUpdate: true
149 | omitPrereleaseDuringUpdate: true
150 |
--------------------------------------------------------------------------------
/.github/workflows/wf.yaml:
--------------------------------------------------------------------------------
1 | on:
2 | push:
3 | paths-ignore:
4 | - "**.md"
5 | pull_request:
6 | paths-ignore:
7 | - "**.md"
8 |
9 | name: CI
10 |
11 | jobs:
12 | check:
13 | name: Check
14 | runs-on: ubuntu-20.04
15 | steps:
16 | - uses: actions/checkout@v4
17 | - uses: dtolnay/rust-toolchain@stable
18 | - uses: Swatinem/rust-cache@v2
19 | - run: cargo check --no-default-features
20 | - run: cargo check --all-features
21 |
22 | fmt:
23 | name: Rustfmt
24 | runs-on: ubuntu-20.04
25 | steps:
26 | - uses: actions/checkout@v4
27 | - uses: dtolnay/rust-toolchain@stable
28 | with:
29 | components: rustfmt
30 | - uses: Swatinem/rust-cache@v2
31 | - run: cargo fmt --all -- --check
32 |
33 | clippy:
34 | name: Clippy
35 | runs-on: ubuntu-20.04
36 | steps:
37 | - uses: actions/checkout@v4
38 | - uses: dtolnay/rust-toolchain@stable
39 | with:
40 | components: clippy
41 | - uses: Swatinem/rust-cache@v2
42 | - run: cargo clippy --no-default-features -- -D warnings
43 | - run: cargo clippy --all-features -- -D warnings
44 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | target/
2 | old-garbage/
--------------------------------------------------------------------------------
/Cargo.lock:
--------------------------------------------------------------------------------
1 | # This file is automatically @generated by Cargo.
2 | # It is not intended for manual editing.
3 | version = 4
4 |
5 | [[package]]
6 | name = "addr2line"
7 | version = "0.24.2"
8 | source = "registry+https://github.com/rust-lang/crates.io-index"
9 | checksum = "dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1"
10 | dependencies = [
11 | "gimli",
12 | ]
13 |
14 | [[package]]
15 | name = "adler2"
16 | version = "2.0.0"
17 | source = "registry+https://github.com/rust-lang/crates.io-index"
18 | checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627"
19 |
20 | [[package]]
21 | name = "aho-corasick"
22 | version = "1.1.3"
23 | source = "registry+https://github.com/rust-lang/crates.io-index"
24 | checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916"
25 | dependencies = [
26 | "memchr",
27 | ]
28 |
29 | [[package]]
30 | name = "alloc-no-stdlib"
31 | version = "2.0.4"
32 | source = "registry+https://github.com/rust-lang/crates.io-index"
33 | checksum = "cc7bb162ec39d46ab1ca8c77bf72e890535becd1751bb45f64c597edb4c8c6b3"
34 |
35 | [[package]]
36 | name = "alloc-stdlib"
37 | version = "0.2.2"
38 | source = "registry+https://github.com/rust-lang/crates.io-index"
39 | checksum = "94fb8275041c72129eb51b7d0322c29b8387a0386127718b096429201a5d6ece"
40 | dependencies = [
41 | "alloc-no-stdlib",
42 | ]
43 |
44 | [[package]]
45 | name = "anstream"
46 | version = "0.6.18"
47 | source = "registry+https://github.com/rust-lang/crates.io-index"
48 | checksum = "8acc5369981196006228e28809f761875c0327210a891e941f4c683b3a99529b"
49 | dependencies = [
50 | "anstyle",
51 | "anstyle-parse",
52 | "anstyle-query",
53 | "anstyle-wincon",
54 | "colorchoice",
55 | "is_terminal_polyfill",
56 | "utf8parse",
57 | ]
58 |
59 | [[package]]
60 | name = "anstyle"
61 | version = "1.0.10"
62 | source = "registry+https://github.com/rust-lang/crates.io-index"
63 | checksum = "55cc3b69f167a1ef2e161439aa98aed94e6028e5f9a59be9a6ffb47aef1651f9"
64 |
65 | [[package]]
66 | name = "anstyle-parse"
67 | version = "0.2.6"
68 | source = "registry+https://github.com/rust-lang/crates.io-index"
69 | checksum = "3b2d16507662817a6a20a9ea92df6652ee4f94f914589377d69f3b21bc5798a9"
70 | dependencies = [
71 | "utf8parse",
72 | ]
73 |
74 | [[package]]
75 | name = "anstyle-query"
76 | version = "1.1.2"
77 | source = "registry+https://github.com/rust-lang/crates.io-index"
78 | checksum = "79947af37f4177cfead1110013d678905c37501914fba0efea834c3fe9a8d60c"
79 | dependencies = [
80 | "windows-sys 0.59.0",
81 | ]
82 |
83 | [[package]]
84 | name = "anstyle-wincon"
85 | version = "3.0.6"
86 | source = "registry+https://github.com/rust-lang/crates.io-index"
87 | checksum = "2109dbce0e72be3ec00bed26e6a7479ca384ad226efdd66db8fa2e3a38c83125"
88 | dependencies = [
89 | "anstyle",
90 | "windows-sys 0.59.0",
91 | ]
92 |
93 | [[package]]
94 | name = "anyhow"
95 | version = "1.0.95"
96 | source = "registry+https://github.com/rust-lang/crates.io-index"
97 | checksum = "34ac096ce696dc2fcabef30516bb13c0a68a11d30131d3df6f04711467681b04"
98 |
99 | [[package]]
100 | name = "arc-swap"
101 | version = "1.7.1"
102 | source = "registry+https://github.com/rust-lang/crates.io-index"
103 | checksum = "69f7f8c3906b62b754cd5326047894316021dcfe5a194c8ea52bdd94934a3457"
104 |
105 | [[package]]
106 | name = "async-compression"
107 | version = "0.4.18"
108 | source = "registry+https://github.com/rust-lang/crates.io-index"
109 | checksum = "df895a515f70646414f4b45c0b79082783b80552b373a68283012928df56f522"
110 | dependencies = [
111 | "brotli",
112 | "flate2",
113 | "futures-core",
114 | "memchr",
115 | "pin-project-lite",
116 | "tokio",
117 | ]
118 |
119 | [[package]]
120 | name = "async-trait"
121 | version = "0.1.85"
122 | source = "registry+https://github.com/rust-lang/crates.io-index"
123 | checksum = "3f934833b4b7233644e5848f235df3f57ed8c80f1528a26c3dfa13d2147fa056"
124 | dependencies = [
125 | "proc-macro2",
126 | "quote",
127 | "syn",
128 | ]
129 |
130 | [[package]]
131 | name = "atomic-waker"
132 | version = "1.1.2"
133 | source = "registry+https://github.com/rust-lang/crates.io-index"
134 | checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0"
135 |
136 | [[package]]
137 | name = "autocfg"
138 | version = "1.4.0"
139 | source = "registry+https://github.com/rust-lang/crates.io-index"
140 | checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26"
141 |
142 | [[package]]
143 | name = "aws-lc-rs"
144 | version = "1.12.0"
145 | source = "registry+https://github.com/rust-lang/crates.io-index"
146 | checksum = "f409eb70b561706bf8abba8ca9c112729c481595893fd06a2dd9af8ed8441148"
147 | dependencies = [
148 | "aws-lc-sys",
149 | "paste",
150 | "zeroize",
151 | ]
152 |
153 | [[package]]
154 | name = "aws-lc-sys"
155 | version = "0.24.1"
156 | source = "registry+https://github.com/rust-lang/crates.io-index"
157 | checksum = "923ded50f602b3007e5e63e3f094c479d9c8a9b42d7f4034e4afe456aa48bfd2"
158 | dependencies = [
159 | "bindgen",
160 | "cc",
161 | "cmake",
162 | "dunce",
163 | "fs_extra",
164 | "paste",
165 | ]
166 |
167 | [[package]]
168 | name = "axum"
169 | version = "0.8.1"
170 | source = "registry+https://github.com/rust-lang/crates.io-index"
171 | checksum = "6d6fd624c75e18b3b4c6b9caf42b1afe24437daaee904069137d8bab077be8b8"
172 | dependencies = [
173 | "axum-core",
174 | "bytes",
175 | "form_urlencoded",
176 | "futures-util",
177 | "http",
178 | "http-body",
179 | "http-body-util",
180 | "hyper",
181 | "hyper-util",
182 | "itoa",
183 | "matchit",
184 | "memchr",
185 | "mime",
186 | "percent-encoding",
187 | "pin-project-lite",
188 | "rustversion",
189 | "serde",
190 | "serde_json",
191 | "serde_path_to_error",
192 | "serde_urlencoded",
193 | "sync_wrapper",
194 | "tokio",
195 | "tower 0.5.2",
196 | "tower-layer",
197 | "tower-service",
198 | "tracing",
199 | ]
200 |
201 | [[package]]
202 | name = "axum-core"
203 | version = "0.5.0"
204 | source = "registry+https://github.com/rust-lang/crates.io-index"
205 | checksum = "df1362f362fd16024ae199c1970ce98f9661bf5ef94b9808fee734bc3698b733"
206 | dependencies = [
207 | "bytes",
208 | "futures-util",
209 | "http",
210 | "http-body",
211 | "http-body-util",
212 | "mime",
213 | "pin-project-lite",
214 | "rustversion",
215 | "sync_wrapper",
216 | "tower-layer",
217 | "tower-service",
218 | "tracing",
219 | ]
220 |
221 | [[package]]
222 | name = "axum-extra"
223 | version = "0.10.0"
224 | source = "registry+https://github.com/rust-lang/crates.io-index"
225 | checksum = "460fc6f625a1f7705c6cf62d0d070794e94668988b1c38111baeec177c715f7b"
226 | dependencies = [
227 | "axum",
228 | "axum-core",
229 | "bytes",
230 | "futures-util",
231 | "headers",
232 | "http",
233 | "http-body",
234 | "http-body-util",
235 | "mime",
236 | "pin-project-lite",
237 | "serde",
238 | "tower 0.5.2",
239 | "tower-layer",
240 | "tower-service",
241 | ]
242 |
243 | [[package]]
244 | name = "axum-server"
245 | version = "0.7.1"
246 | source = "registry+https://github.com/rust-lang/crates.io-index"
247 | checksum = "56bac90848f6a9393ac03c63c640925c4b7c8ca21654de40d53f55964667c7d8"
248 | dependencies = [
249 | "arc-swap",
250 | "bytes",
251 | "futures-util",
252 | "http",
253 | "http-body",
254 | "http-body-util",
255 | "hyper",
256 | "hyper-util",
257 | "pin-project-lite",
258 | "rustls",
259 | "rustls-pemfile",
260 | "rustls-pki-types",
261 | "tokio",
262 | "tokio-rustls",
263 | "tower 0.4.13",
264 | "tower-service",
265 | ]
266 |
267 | [[package]]
268 | name = "backtrace"
269 | version = "0.3.74"
270 | source = "registry+https://github.com/rust-lang/crates.io-index"
271 | checksum = "8d82cb332cdfaed17ae235a638438ac4d4839913cc2af585c3c6746e8f8bee1a"
272 | dependencies = [
273 | "addr2line",
274 | "cfg-if",
275 | "libc",
276 | "miniz_oxide",
277 | "object",
278 | "rustc-demangle",
279 | "windows-targets 0.52.6",
280 | ]
281 |
282 | [[package]]
283 | name = "base64"
284 | version = "0.21.7"
285 | source = "registry+https://github.com/rust-lang/crates.io-index"
286 | checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567"
287 |
288 | [[package]]
289 | name = "base64"
290 | version = "0.22.1"
291 | source = "registry+https://github.com/rust-lang/crates.io-index"
292 | checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
293 |
294 | [[package]]
295 | name = "bindgen"
296 | version = "0.69.5"
297 | source = "registry+https://github.com/rust-lang/crates.io-index"
298 | checksum = "271383c67ccabffb7381723dea0672a673f292304fcb45c01cc648c7a8d58088"
299 | dependencies = [
300 | "bitflags 2.7.0",
301 | "cexpr",
302 | "clang-sys",
303 | "itertools",
304 | "lazy_static",
305 | "lazycell",
306 | "log",
307 | "prettyplease",
308 | "proc-macro2",
309 | "quote",
310 | "regex",
311 | "rustc-hash 1.1.0",
312 | "shlex",
313 | "syn",
314 | "which",
315 | ]
316 |
317 | [[package]]
318 | name = "bitflags"
319 | version = "1.3.2"
320 | source = "registry+https://github.com/rust-lang/crates.io-index"
321 | checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
322 |
323 | [[package]]
324 | name = "bitflags"
325 | version = "2.7.0"
326 | source = "registry+https://github.com/rust-lang/crates.io-index"
327 | checksum = "1be3f42a67d6d345ecd59f675f3f012d6974981560836e938c22b424b85ce1be"
328 |
329 | [[package]]
330 | name = "block-buffer"
331 | version = "0.10.4"
332 | source = "registry+https://github.com/rust-lang/crates.io-index"
333 | checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
334 | dependencies = [
335 | "generic-array",
336 | ]
337 |
338 | [[package]]
339 | name = "brotli"
340 | version = "7.0.0"
341 | source = "registry+https://github.com/rust-lang/crates.io-index"
342 | checksum = "cc97b8f16f944bba54f0433f07e30be199b6dc2bd25937444bbad560bcea29bd"
343 | dependencies = [
344 | "alloc-no-stdlib",
345 | "alloc-stdlib",
346 | "brotli-decompressor",
347 | ]
348 |
349 | [[package]]
350 | name = "brotli-decompressor"
351 | version = "4.0.1"
352 | source = "registry+https://github.com/rust-lang/crates.io-index"
353 | checksum = "9a45bd2e4095a8b518033b128020dd4a55aab1c0a381ba4404a472630f4bc362"
354 | dependencies = [
355 | "alloc-no-stdlib",
356 | "alloc-stdlib",
357 | ]
358 |
359 | [[package]]
360 | name = "bumpalo"
361 | version = "3.16.0"
362 | source = "registry+https://github.com/rust-lang/crates.io-index"
363 | checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c"
364 |
365 | [[package]]
366 | name = "byteorder"
367 | version = "1.5.0"
368 | source = "registry+https://github.com/rust-lang/crates.io-index"
369 | checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
370 |
371 | [[package]]
372 | name = "bytes"
373 | version = "1.9.0"
374 | source = "registry+https://github.com/rust-lang/crates.io-index"
375 | checksum = "325918d6fe32f23b19878fe4b34794ae41fc19ddbe53b10571a4874d44ffd39b"
376 |
377 | [[package]]
378 | name = "cc"
379 | version = "1.2.8"
380 | source = "registry+https://github.com/rust-lang/crates.io-index"
381 | checksum = "ad0cf6e91fde44c773c6ee7ec6bba798504641a8bc2eb7e37a04ffbf4dfaa55a"
382 | dependencies = [
383 | "jobserver",
384 | "libc",
385 | "shlex",
386 | ]
387 |
388 | [[package]]
389 | name = "cexpr"
390 | version = "0.6.0"
391 | source = "registry+https://github.com/rust-lang/crates.io-index"
392 | checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766"
393 | dependencies = [
394 | "nom",
395 | ]
396 |
397 | [[package]]
398 | name = "cfg-if"
399 | version = "1.0.0"
400 | source = "registry+https://github.com/rust-lang/crates.io-index"
401 | checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
402 |
403 | [[package]]
404 | name = "cfg_aliases"
405 | version = "0.2.1"
406 | source = "registry+https://github.com/rust-lang/crates.io-index"
407 | checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724"
408 |
409 | [[package]]
410 | name = "clang-sys"
411 | version = "1.8.1"
412 | source = "registry+https://github.com/rust-lang/crates.io-index"
413 | checksum = "0b023947811758c97c59bf9d1c188fd619ad4718dcaa767947df1cadb14f39f4"
414 | dependencies = [
415 | "glob",
416 | "libc",
417 | "libloading",
418 | ]
419 |
420 | [[package]]
421 | name = "clap"
422 | version = "4.5.26"
423 | source = "registry+https://github.com/rust-lang/crates.io-index"
424 | checksum = "a8eb5e908ef3a6efbe1ed62520fb7287959888c88485abe072543190ecc66783"
425 | dependencies = [
426 | "clap_builder",
427 | "clap_derive",
428 | ]
429 |
430 | [[package]]
431 | name = "clap_builder"
432 | version = "4.5.26"
433 | source = "registry+https://github.com/rust-lang/crates.io-index"
434 | checksum = "96b01801b5fc6a0a232407abc821660c9c6d25a1cafc0d4f85f29fb8d9afc121"
435 | dependencies = [
436 | "anstream",
437 | "anstyle",
438 | "clap_lex",
439 | "strsim",
440 | ]
441 |
442 | [[package]]
443 | name = "clap_derive"
444 | version = "4.5.24"
445 | source = "registry+https://github.com/rust-lang/crates.io-index"
446 | checksum = "54b755194d6389280185988721fffba69495eed5ee9feeee9a599b53db80318c"
447 | dependencies = [
448 | "heck",
449 | "proc-macro2",
450 | "quote",
451 | "syn",
452 | ]
453 |
454 | [[package]]
455 | name = "clap_lex"
456 | version = "0.7.4"
457 | source = "registry+https://github.com/rust-lang/crates.io-index"
458 | checksum = "f46ad14479a25103f283c0f10005961cf086d8dc42205bb44c46ac563475dca6"
459 |
460 | [[package]]
461 | name = "cmake"
462 | version = "0.1.52"
463 | source = "registry+https://github.com/rust-lang/crates.io-index"
464 | checksum = "c682c223677e0e5b6b7f63a64b9351844c3f1b1678a68b7ee617e30fb082620e"
465 | dependencies = [
466 | "cc",
467 | ]
468 |
469 | [[package]]
470 | name = "colorchoice"
471 | version = "1.0.3"
472 | source = "registry+https://github.com/rust-lang/crates.io-index"
473 | checksum = "5b63caa9aa9397e2d9480a9b13673856c78d8ac123288526c37d7839f2a86990"
474 |
475 | [[package]]
476 | name = "confy"
477 | version = "0.6.1"
478 | source = "registry+https://github.com/rust-lang/crates.io-index"
479 | checksum = "45b1f4c00870f07dc34adcac82bb6a72cc5aabca8536ba1797e01df51d2ce9a0"
480 | dependencies = [
481 | "directories",
482 | "serde",
483 | "thiserror 1.0.69",
484 | "toml",
485 | ]
486 |
487 | [[package]]
488 | name = "const_format"
489 | version = "0.2.34"
490 | source = "registry+https://github.com/rust-lang/crates.io-index"
491 | checksum = "126f97965c8ad46d6d9163268ff28432e8f6a1196a55578867832e3049df63dd"
492 | dependencies = [
493 | "const_format_proc_macros",
494 | ]
495 |
496 | [[package]]
497 | name = "const_format_proc_macros"
498 | version = "0.2.34"
499 | source = "registry+https://github.com/rust-lang/crates.io-index"
500 | checksum = "1d57c2eccfb16dbac1f4e61e206105db5820c9d26c3c472bc17c774259ef7744"
501 | dependencies = [
502 | "proc-macro2",
503 | "quote",
504 | "unicode-xid",
505 | ]
506 |
507 | [[package]]
508 | name = "cpufeatures"
509 | version = "0.2.16"
510 | source = "registry+https://github.com/rust-lang/crates.io-index"
511 | checksum = "16b80225097f2e5ae4e7179dd2266824648f3e2f49d9134d584b76389d31c4c3"
512 | dependencies = [
513 | "libc",
514 | ]
515 |
516 | [[package]]
517 | name = "crc32fast"
518 | version = "1.4.2"
519 | source = "registry+https://github.com/rust-lang/crates.io-index"
520 | checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3"
521 | dependencies = [
522 | "cfg-if",
523 | ]
524 |
525 | [[package]]
526 | name = "crypto-common"
527 | version = "0.1.6"
528 | source = "registry+https://github.com/rust-lang/crates.io-index"
529 | checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3"
530 | dependencies = [
531 | "generic-array",
532 | "typenum",
533 | ]
534 |
535 | [[package]]
536 | name = "digest"
537 | version = "0.10.7"
538 | source = "registry+https://github.com/rust-lang/crates.io-index"
539 | checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
540 | dependencies = [
541 | "block-buffer",
542 | "crypto-common",
543 | ]
544 |
545 | [[package]]
546 | name = "directories"
547 | version = "5.0.1"
548 | source = "registry+https://github.com/rust-lang/crates.io-index"
549 | checksum = "9a49173b84e034382284f27f1af4dcbbd231ffa358c0fe316541a7337f376a35"
550 | dependencies = [
551 | "dirs-sys",
552 | ]
553 |
554 | [[package]]
555 | name = "dirs-sys"
556 | version = "0.4.1"
557 | source = "registry+https://github.com/rust-lang/crates.io-index"
558 | checksum = "520f05a5cbd335fae5a99ff7a6ab8627577660ee5cfd6a94a6a929b52ff0321c"
559 | dependencies = [
560 | "libc",
561 | "option-ext",
562 | "redox_users",
563 | "windows-sys 0.48.0",
564 | ]
565 |
566 | [[package]]
567 | name = "displaydoc"
568 | version = "0.2.5"
569 | source = "registry+https://github.com/rust-lang/crates.io-index"
570 | checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0"
571 | dependencies = [
572 | "proc-macro2",
573 | "quote",
574 | "syn",
575 | ]
576 |
577 | [[package]]
578 | name = "dunce"
579 | version = "1.0.5"
580 | source = "registry+https://github.com/rust-lang/crates.io-index"
581 | checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813"
582 |
583 | [[package]]
584 | name = "either"
585 | version = "1.13.0"
586 | source = "registry+https://github.com/rust-lang/crates.io-index"
587 | checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0"
588 |
589 | [[package]]
590 | name = "equivalent"
591 | version = "1.0.1"
592 | source = "registry+https://github.com/rust-lang/crates.io-index"
593 | checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5"
594 |
595 | [[package]]
596 | name = "erased-serde"
597 | version = "0.4.5"
598 | source = "registry+https://github.com/rust-lang/crates.io-index"
599 | checksum = "24e2389d65ab4fab27dc2a5de7b191e1f6617d1f1c8855c0dc569c94a4cbb18d"
600 | dependencies = [
601 | "serde",
602 | "typeid",
603 | ]
604 |
605 | [[package]]
606 | name = "errno"
607 | version = "0.3.10"
608 | source = "registry+https://github.com/rust-lang/crates.io-index"
609 | checksum = "33d852cb9b869c2a9b3df2f71a3074817f01e1844f839a144f5fcef059a4eb5d"
610 | dependencies = [
611 | "libc",
612 | "windows-sys 0.59.0",
613 | ]
614 |
615 | [[package]]
616 | name = "extend"
617 | version = "1.2.0"
618 | source = "registry+https://github.com/rust-lang/crates.io-index"
619 | checksum = "311a6d2f1f9d60bff73d2c78a0af97ed27f79672f15c238192a5bbb64db56d00"
620 | dependencies = [
621 | "proc-macro2",
622 | "quote",
623 | "syn",
624 | ]
625 |
626 | [[package]]
627 | name = "flate2"
628 | version = "1.0.35"
629 | source = "registry+https://github.com/rust-lang/crates.io-index"
630 | checksum = "c936bfdafb507ebbf50b8074c54fa31c5be9a1e7e5f467dd659697041407d07c"
631 | dependencies = [
632 | "crc32fast",
633 | "miniz_oxide",
634 | ]
635 |
636 | [[package]]
637 | name = "fnv"
638 | version = "1.0.7"
639 | source = "registry+https://github.com/rust-lang/crates.io-index"
640 | checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
641 |
642 | [[package]]
643 | name = "form_urlencoded"
644 | version = "1.2.1"
645 | source = "registry+https://github.com/rust-lang/crates.io-index"
646 | checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456"
647 | dependencies = [
648 | "percent-encoding",
649 | ]
650 |
651 | [[package]]
652 | name = "fs_extra"
653 | version = "1.3.0"
654 | source = "registry+https://github.com/rust-lang/crates.io-index"
655 | checksum = "42703706b716c37f96a77aea830392ad231f44c9e9a67872fa5548707e11b11c"
656 |
657 | [[package]]
658 | name = "futures"
659 | version = "0.3.31"
660 | source = "registry+https://github.com/rust-lang/crates.io-index"
661 | checksum = "65bc07b1a8bc7c85c5f2e110c476c7389b4554ba72af57d8445ea63a576b0876"
662 | dependencies = [
663 | "futures-channel",
664 | "futures-core",
665 | "futures-executor",
666 | "futures-io",
667 | "futures-sink",
668 | "futures-task",
669 | "futures-util",
670 | ]
671 |
672 | [[package]]
673 | name = "futures-channel"
674 | version = "0.3.31"
675 | source = "registry+https://github.com/rust-lang/crates.io-index"
676 | checksum = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10"
677 | dependencies = [
678 | "futures-core",
679 | "futures-sink",
680 | ]
681 |
682 | [[package]]
683 | name = "futures-core"
684 | version = "0.3.31"
685 | source = "registry+https://github.com/rust-lang/crates.io-index"
686 | checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e"
687 |
688 | [[package]]
689 | name = "futures-executor"
690 | version = "0.3.31"
691 | source = "registry+https://github.com/rust-lang/crates.io-index"
692 | checksum = "1e28d1d997f585e54aebc3f97d39e72338912123a67330d723fdbb564d646c9f"
693 | dependencies = [
694 | "futures-core",
695 | "futures-task",
696 | "futures-util",
697 | ]
698 |
699 | [[package]]
700 | name = "futures-io"
701 | version = "0.3.31"
702 | source = "registry+https://github.com/rust-lang/crates.io-index"
703 | checksum = "9e5c1b78ca4aae1ac06c48a526a655760685149f0d465d21f37abfe57ce075c6"
704 |
705 | [[package]]
706 | name = "futures-macro"
707 | version = "0.3.31"
708 | source = "registry+https://github.com/rust-lang/crates.io-index"
709 | checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650"
710 | dependencies = [
711 | "proc-macro2",
712 | "quote",
713 | "syn",
714 | ]
715 |
716 | [[package]]
717 | name = "futures-sink"
718 | version = "0.3.31"
719 | source = "registry+https://github.com/rust-lang/crates.io-index"
720 | checksum = "e575fab7d1e0dcb8d0c7bcf9a63ee213816ab51902e6d244a95819acacf1d4f7"
721 |
722 | [[package]]
723 | name = "futures-task"
724 | version = "0.3.31"
725 | source = "registry+https://github.com/rust-lang/crates.io-index"
726 | checksum = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988"
727 |
728 | [[package]]
729 | name = "futures-util"
730 | version = "0.3.31"
731 | source = "registry+https://github.com/rust-lang/crates.io-index"
732 | checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81"
733 | dependencies = [
734 | "futures-channel",
735 | "futures-core",
736 | "futures-io",
737 | "futures-macro",
738 | "futures-sink",
739 | "futures-task",
740 | "memchr",
741 | "pin-project-lite",
742 | "pin-utils",
743 | "slab",
744 | ]
745 |
746 | [[package]]
747 | name = "generic-array"
748 | version = "0.14.7"
749 | source = "registry+https://github.com/rust-lang/crates.io-index"
750 | checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
751 | dependencies = [
752 | "typenum",
753 | "version_check",
754 | ]
755 |
756 | [[package]]
757 | name = "getrandom"
758 | version = "0.2.15"
759 | source = "registry+https://github.com/rust-lang/crates.io-index"
760 | checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7"
761 | dependencies = [
762 | "cfg-if",
763 | "js-sys",
764 | "libc",
765 | "wasi",
766 | "wasm-bindgen",
767 | ]
768 |
769 | [[package]]
770 | name = "gimli"
771 | version = "0.31.1"
772 | source = "registry+https://github.com/rust-lang/crates.io-index"
773 | checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f"
774 |
775 | [[package]]
776 | name = "glob"
777 | version = "0.3.2"
778 | source = "registry+https://github.com/rust-lang/crates.io-index"
779 | checksum = "a8d1add55171497b4705a648c6b583acafb01d58050a51727785f0b2c8e0a2b2"
780 |
781 | [[package]]
782 | name = "h2"
783 | version = "0.4.7"
784 | source = "registry+https://github.com/rust-lang/crates.io-index"
785 | checksum = "ccae279728d634d083c00f6099cb58f01cc99c145b84b8be2f6c74618d79922e"
786 | dependencies = [
787 | "atomic-waker",
788 | "bytes",
789 | "fnv",
790 | "futures-core",
791 | "futures-sink",
792 | "http",
793 | "indexmap",
794 | "slab",
795 | "tokio",
796 | "tokio-util",
797 | "tracing",
798 | ]
799 |
800 | [[package]]
801 | name = "hashbrown"
802 | version = "0.15.2"
803 | source = "registry+https://github.com/rust-lang/crates.io-index"
804 | checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289"
805 |
806 | [[package]]
807 | name = "headers"
808 | version = "0.4.0"
809 | source = "registry+https://github.com/rust-lang/crates.io-index"
810 | checksum = "322106e6bd0cba2d5ead589ddb8150a13d7c4217cf80d7c4f682ca994ccc6aa9"
811 | dependencies = [
812 | "base64 0.21.7",
813 | "bytes",
814 | "headers-core",
815 | "http",
816 | "httpdate",
817 | "mime",
818 | "sha1",
819 | ]
820 |
821 | [[package]]
822 | name = "headers-core"
823 | version = "0.3.0"
824 | source = "registry+https://github.com/rust-lang/crates.io-index"
825 | checksum = "54b4a22553d4242c49fddb9ba998a99962b5cc6f22cb5a3482bec22522403ce4"
826 | dependencies = [
827 | "http",
828 | ]
829 |
830 | [[package]]
831 | name = "heck"
832 | version = "0.5.0"
833 | source = "registry+https://github.com/rust-lang/crates.io-index"
834 | checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
835 |
836 | [[package]]
837 | name = "home"
838 | version = "0.5.11"
839 | source = "registry+https://github.com/rust-lang/crates.io-index"
840 | checksum = "589533453244b0995c858700322199b2becb13b627df2851f64a2775d024abcf"
841 | dependencies = [
842 | "windows-sys 0.59.0",
843 | ]
844 |
845 | [[package]]
846 | name = "http"
847 | version = "1.2.0"
848 | source = "registry+https://github.com/rust-lang/crates.io-index"
849 | checksum = "f16ca2af56261c99fba8bac40a10251ce8188205a4c448fbb745a2e4daa76fea"
850 | dependencies = [
851 | "bytes",
852 | "fnv",
853 | "itoa",
854 | ]
855 |
856 | [[package]]
857 | name = "http-body"
858 | version = "1.0.1"
859 | source = "registry+https://github.com/rust-lang/crates.io-index"
860 | checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184"
861 | dependencies = [
862 | "bytes",
863 | "http",
864 | ]
865 |
866 | [[package]]
867 | name = "http-body-util"
868 | version = "0.1.2"
869 | source = "registry+https://github.com/rust-lang/crates.io-index"
870 | checksum = "793429d76616a256bcb62c2a2ec2bed781c8307e797e2598c50010f2bee2544f"
871 | dependencies = [
872 | "bytes",
873 | "futures-util",
874 | "http",
875 | "http-body",
876 | "pin-project-lite",
877 | ]
878 |
879 | [[package]]
880 | name = "httparse"
881 | version = "1.9.5"
882 | source = "registry+https://github.com/rust-lang/crates.io-index"
883 | checksum = "7d71d3574edd2771538b901e6549113b4006ece66150fb69c0fb6d9a2adae946"
884 |
885 | [[package]]
886 | name = "httpdate"
887 | version = "1.0.3"
888 | source = "registry+https://github.com/rust-lang/crates.io-index"
889 | checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9"
890 |
891 | [[package]]
892 | name = "hyper"
893 | version = "1.5.2"
894 | source = "registry+https://github.com/rust-lang/crates.io-index"
895 | checksum = "256fb8d4bd6413123cc9d91832d78325c48ff41677595be797d90f42969beae0"
896 | dependencies = [
897 | "bytes",
898 | "futures-channel",
899 | "futures-util",
900 | "h2",
901 | "http",
902 | "http-body",
903 | "httparse",
904 | "httpdate",
905 | "itoa",
906 | "pin-project-lite",
907 | "smallvec",
908 | "tokio",
909 | "want",
910 | ]
911 |
912 | [[package]]
913 | name = "hyper-rustls"
914 | version = "0.27.5"
915 | source = "registry+https://github.com/rust-lang/crates.io-index"
916 | checksum = "2d191583f3da1305256f22463b9bb0471acad48a4e534a5218b9963e9c1f59b2"
917 | dependencies = [
918 | "futures-util",
919 | "http",
920 | "hyper",
921 | "hyper-util",
922 | "rustls",
923 | "rustls-pki-types",
924 | "tokio",
925 | "tokio-rustls",
926 | "tower-service",
927 | "webpki-roots",
928 | ]
929 |
930 | [[package]]
931 | name = "hyper-util"
932 | version = "0.1.10"
933 | source = "registry+https://github.com/rust-lang/crates.io-index"
934 | checksum = "df2dcfbe0677734ab2f3ffa7fa7bfd4706bfdc1ef393f2ee30184aed67e631b4"
935 | dependencies = [
936 | "bytes",
937 | "futures-channel",
938 | "futures-util",
939 | "http",
940 | "http-body",
941 | "hyper",
942 | "pin-project-lite",
943 | "socket2",
944 | "tokio",
945 | "tower-service",
946 | "tracing",
947 | ]
948 |
949 | [[package]]
950 | name = "icu_collections"
951 | version = "1.5.0"
952 | source = "registry+https://github.com/rust-lang/crates.io-index"
953 | checksum = "db2fa452206ebee18c4b5c2274dbf1de17008e874b4dc4f0aea9d01ca79e4526"
954 | dependencies = [
955 | "displaydoc",
956 | "yoke",
957 | "zerofrom",
958 | "zerovec",
959 | ]
960 |
961 | [[package]]
962 | name = "icu_locid"
963 | version = "1.5.0"
964 | source = "registry+https://github.com/rust-lang/crates.io-index"
965 | checksum = "13acbb8371917fc971be86fc8057c41a64b521c184808a698c02acc242dbf637"
966 | dependencies = [
967 | "displaydoc",
968 | "litemap",
969 | "tinystr",
970 | "writeable",
971 | "zerovec",
972 | ]
973 |
974 | [[package]]
975 | name = "icu_locid_transform"
976 | version = "1.5.0"
977 | source = "registry+https://github.com/rust-lang/crates.io-index"
978 | checksum = "01d11ac35de8e40fdeda00d9e1e9d92525f3f9d887cdd7aa81d727596788b54e"
979 | dependencies = [
980 | "displaydoc",
981 | "icu_locid",
982 | "icu_locid_transform_data",
983 | "icu_provider",
984 | "tinystr",
985 | "zerovec",
986 | ]
987 |
988 | [[package]]
989 | name = "icu_locid_transform_data"
990 | version = "1.5.0"
991 | source = "registry+https://github.com/rust-lang/crates.io-index"
992 | checksum = "fdc8ff3388f852bede6b579ad4e978ab004f139284d7b28715f773507b946f6e"
993 |
994 | [[package]]
995 | name = "icu_normalizer"
996 | version = "1.5.0"
997 | source = "registry+https://github.com/rust-lang/crates.io-index"
998 | checksum = "19ce3e0da2ec68599d193c93d088142efd7f9c5d6fc9b803774855747dc6a84f"
999 | dependencies = [
1000 | "displaydoc",
1001 | "icu_collections",
1002 | "icu_normalizer_data",
1003 | "icu_properties",
1004 | "icu_provider",
1005 | "smallvec",
1006 | "utf16_iter",
1007 | "utf8_iter",
1008 | "write16",
1009 | "zerovec",
1010 | ]
1011 |
1012 | [[package]]
1013 | name = "icu_normalizer_data"
1014 | version = "1.5.0"
1015 | source = "registry+https://github.com/rust-lang/crates.io-index"
1016 | checksum = "f8cafbf7aa791e9b22bec55a167906f9e1215fd475cd22adfcf660e03e989516"
1017 |
1018 | [[package]]
1019 | name = "icu_properties"
1020 | version = "1.5.1"
1021 | source = "registry+https://github.com/rust-lang/crates.io-index"
1022 | checksum = "93d6020766cfc6302c15dbbc9c8778c37e62c14427cb7f6e601d849e092aeef5"
1023 | dependencies = [
1024 | "displaydoc",
1025 | "icu_collections",
1026 | "icu_locid_transform",
1027 | "icu_properties_data",
1028 | "icu_provider",
1029 | "tinystr",
1030 | "zerovec",
1031 | ]
1032 |
1033 | [[package]]
1034 | name = "icu_properties_data"
1035 | version = "1.5.0"
1036 | source = "registry+https://github.com/rust-lang/crates.io-index"
1037 | checksum = "67a8effbc3dd3e4ba1afa8ad918d5684b8868b3b26500753effea8d2eed19569"
1038 |
1039 | [[package]]
1040 | name = "icu_provider"
1041 | version = "1.5.0"
1042 | source = "registry+https://github.com/rust-lang/crates.io-index"
1043 | checksum = "6ed421c8a8ef78d3e2dbc98a973be2f3770cb42b606e3ab18d6237c4dfde68d9"
1044 | dependencies = [
1045 | "displaydoc",
1046 | "icu_locid",
1047 | "icu_provider_macros",
1048 | "stable_deref_trait",
1049 | "tinystr",
1050 | "writeable",
1051 | "yoke",
1052 | "zerofrom",
1053 | "zerovec",
1054 | ]
1055 |
1056 | [[package]]
1057 | name = "icu_provider_macros"
1058 | version = "1.5.0"
1059 | source = "registry+https://github.com/rust-lang/crates.io-index"
1060 | checksum = "1ec89e9337638ecdc08744df490b221a7399bf8d164eb52a665454e60e075ad6"
1061 | dependencies = [
1062 | "proc-macro2",
1063 | "quote",
1064 | "syn",
1065 | ]
1066 |
1067 | [[package]]
1068 | name = "idna"
1069 | version = "1.0.3"
1070 | source = "registry+https://github.com/rust-lang/crates.io-index"
1071 | checksum = "686f825264d630750a544639377bae737628043f20d38bbc029e8f29ea968a7e"
1072 | dependencies = [
1073 | "idna_adapter",
1074 | "smallvec",
1075 | "utf8_iter",
1076 | ]
1077 |
1078 | [[package]]
1079 | name = "idna_adapter"
1080 | version = "1.2.0"
1081 | source = "registry+https://github.com/rust-lang/crates.io-index"
1082 | checksum = "daca1df1c957320b2cf139ac61e7bd64fed304c5040df000a745aa1de3b4ef71"
1083 | dependencies = [
1084 | "icu_normalizer",
1085 | "icu_properties",
1086 | ]
1087 |
1088 | [[package]]
1089 | name = "indexmap"
1090 | version = "2.7.0"
1091 | source = "registry+https://github.com/rust-lang/crates.io-index"
1092 | checksum = "62f822373a4fe84d4bb149bf54e584a7f4abec90e072ed49cda0edea5b95471f"
1093 | dependencies = [
1094 | "equivalent",
1095 | "hashbrown",
1096 | ]
1097 |
1098 | [[package]]
1099 | name = "instant"
1100 | version = "0.1.13"
1101 | source = "registry+https://github.com/rust-lang/crates.io-index"
1102 | checksum = "e0242819d153cba4b4b05a5a8f2a7e9bbf97b6055b2a002b395c96b5ff3c0222"
1103 | dependencies = [
1104 | "cfg-if",
1105 | "js-sys",
1106 | "wasm-bindgen",
1107 | "web-sys",
1108 | ]
1109 |
1110 | [[package]]
1111 | name = "ipnet"
1112 | version = "2.10.1"
1113 | source = "registry+https://github.com/rust-lang/crates.io-index"
1114 | checksum = "ddc24109865250148c2e0f3d25d4f0f479571723792d3802153c60922a4fb708"
1115 |
1116 | [[package]]
1117 | name = "is_terminal_polyfill"
1118 | version = "1.70.1"
1119 | source = "registry+https://github.com/rust-lang/crates.io-index"
1120 | checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf"
1121 |
1122 | [[package]]
1123 | name = "isocountry"
1124 | version = "0.3.2"
1125 | source = "registry+https://github.com/rust-lang/crates.io-index"
1126 | checksum = "1ea1dc4bf0fb4904ba83ffdb98af3d9c325274e92e6e295e4151e86c96363e04"
1127 | dependencies = [
1128 | "serde",
1129 | "thiserror 1.0.69",
1130 | ]
1131 |
1132 | [[package]]
1133 | name = "itertools"
1134 | version = "0.12.1"
1135 | source = "registry+https://github.com/rust-lang/crates.io-index"
1136 | checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569"
1137 | dependencies = [
1138 | "either",
1139 | ]
1140 |
1141 | [[package]]
1142 | name = "itoa"
1143 | version = "1.0.14"
1144 | source = "registry+https://github.com/rust-lang/crates.io-index"
1145 | checksum = "d75a2a4b1b190afb6f5425f10f6a8f959d2ea0b9c2b1d79553551850539e4674"
1146 |
1147 | [[package]]
1148 | name = "jobserver"
1149 | version = "0.1.32"
1150 | source = "registry+https://github.com/rust-lang/crates.io-index"
1151 | checksum = "48d1dbcbbeb6a7fec7e059840aa538bd62aaccf972c7346c4d9d2059312853d0"
1152 | dependencies = [
1153 | "libc",
1154 | ]
1155 |
1156 | [[package]]
1157 | name = "js-sys"
1158 | version = "0.3.76"
1159 | source = "registry+https://github.com/rust-lang/crates.io-index"
1160 | checksum = "6717b6b5b077764fb5966237269cb3c64edddde4b14ce42647430a78ced9e7b7"
1161 | dependencies = [
1162 | "once_cell",
1163 | "wasm-bindgen",
1164 | ]
1165 |
1166 | [[package]]
1167 | name = "lazy-regex"
1168 | version = "3.4.1"
1169 | source = "registry+https://github.com/rust-lang/crates.io-index"
1170 | checksum = "60c7310b93682b36b98fa7ea4de998d3463ccbebd94d935d6b48ba5b6ffa7126"
1171 | dependencies = [
1172 | "lazy-regex-proc_macros",
1173 | "once_cell",
1174 | "regex",
1175 | ]
1176 |
1177 | [[package]]
1178 | name = "lazy-regex-proc_macros"
1179 | version = "3.4.1"
1180 | source = "registry+https://github.com/rust-lang/crates.io-index"
1181 | checksum = "4ba01db5ef81e17eb10a5e0f2109d1b3a3e29bac3070fdbd7d156bf7dbd206a1"
1182 | dependencies = [
1183 | "proc-macro2",
1184 | "quote",
1185 | "regex",
1186 | "syn",
1187 | ]
1188 |
1189 | [[package]]
1190 | name = "lazy_static"
1191 | version = "1.5.0"
1192 | source = "registry+https://github.com/rust-lang/crates.io-index"
1193 | checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
1194 |
1195 | [[package]]
1196 | name = "lazycell"
1197 | version = "1.3.0"
1198 | source = "registry+https://github.com/rust-lang/crates.io-index"
1199 | checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
1200 |
1201 | [[package]]
1202 | name = "libc"
1203 | version = "0.2.169"
1204 | source = "registry+https://github.com/rust-lang/crates.io-index"
1205 | checksum = "b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a"
1206 |
1207 | [[package]]
1208 | name = "libloading"
1209 | version = "0.8.6"
1210 | source = "registry+https://github.com/rust-lang/crates.io-index"
1211 | checksum = "fc2f4eb4bc735547cfed7c0a4922cbd04a4655978c09b54f1f7b228750664c34"
1212 | dependencies = [
1213 | "cfg-if",
1214 | "windows-targets 0.52.6",
1215 | ]
1216 |
1217 | [[package]]
1218 | name = "libredox"
1219 | version = "0.1.3"
1220 | source = "registry+https://github.com/rust-lang/crates.io-index"
1221 | checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d"
1222 | dependencies = [
1223 | "bitflags 2.7.0",
1224 | "libc",
1225 | ]
1226 |
1227 | [[package]]
1228 | name = "linux-raw-sys"
1229 | version = "0.4.15"
1230 | source = "registry+https://github.com/rust-lang/crates.io-index"
1231 | checksum = "d26c52dbd32dccf2d10cac7725f8eae5296885fb5703b261f7d0a0739ec807ab"
1232 |
1233 | [[package]]
1234 | name = "litemap"
1235 | version = "0.7.4"
1236 | source = "registry+https://github.com/rust-lang/crates.io-index"
1237 | checksum = "4ee93343901ab17bd981295f2cf0026d4ad018c7c31ba84549a4ddbb47a45104"
1238 |
1239 | [[package]]
1240 | name = "lock_api"
1241 | version = "0.4.12"
1242 | source = "registry+https://github.com/rust-lang/crates.io-index"
1243 | checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17"
1244 | dependencies = [
1245 | "autocfg",
1246 | "scopeguard",
1247 | ]
1248 |
1249 | [[package]]
1250 | name = "log"
1251 | version = "0.4.24"
1252 | source = "registry+https://github.com/rust-lang/crates.io-index"
1253 | checksum = "3d6ea2a48c204030ee31a7d7fc72c93294c92fe87ecb1789881c9543516e1a0d"
1254 | dependencies = [
1255 | "value-bag",
1256 | ]
1257 |
1258 | [[package]]
1259 | name = "luminous-ttv"
1260 | version = "0.5.8"
1261 | dependencies = [
1262 | "anyhow",
1263 | "axum",
1264 | "axum-extra",
1265 | "axum-server",
1266 | "cfg-if",
1267 | "clap",
1268 | "confy",
1269 | "const_format",
1270 | "extend",
1271 | "http",
1272 | "isocountry",
1273 | "lazy-regex",
1274 | "nu-ansi-term 0.50.1",
1275 | "once_cell",
1276 | "phf",
1277 | "rand",
1278 | "reqwest",
1279 | "reqwest-middleware",
1280 | "reqwest-retry",
1281 | "serde",
1282 | "serde-tuple-vec-map",
1283 | "serde_json",
1284 | "serde_urlencoded",
1285 | "tokio",
1286 | "tower 0.5.2",
1287 | "tower-http",
1288 | "tracing",
1289 | "tracing-subscriber",
1290 | "url",
1291 | "uuid",
1292 | ]
1293 |
1294 | [[package]]
1295 | name = "matchit"
1296 | version = "0.8.4"
1297 | source = "registry+https://github.com/rust-lang/crates.io-index"
1298 | checksum = "47e1ffaa40ddd1f3ed91f717a33c8c0ee23fff369e3aa8772b9605cc1d22f4c3"
1299 |
1300 | [[package]]
1301 | name = "memchr"
1302 | version = "2.7.4"
1303 | source = "registry+https://github.com/rust-lang/crates.io-index"
1304 | checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
1305 |
1306 | [[package]]
1307 | name = "mime"
1308 | version = "0.3.17"
1309 | source = "registry+https://github.com/rust-lang/crates.io-index"
1310 | checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a"
1311 |
1312 | [[package]]
1313 | name = "minimal-lexical"
1314 | version = "0.2.1"
1315 | source = "registry+https://github.com/rust-lang/crates.io-index"
1316 | checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
1317 |
1318 | [[package]]
1319 | name = "miniz_oxide"
1320 | version = "0.8.2"
1321 | source = "registry+https://github.com/rust-lang/crates.io-index"
1322 | checksum = "4ffbe83022cedc1d264172192511ae958937694cd57ce297164951b8b3568394"
1323 | dependencies = [
1324 | "adler2",
1325 | ]
1326 |
1327 | [[package]]
1328 | name = "mio"
1329 | version = "1.0.3"
1330 | source = "registry+https://github.com/rust-lang/crates.io-index"
1331 | checksum = "2886843bf800fba2e3377cff24abf6379b4c4d5c6681eaf9ea5b0d15090450bd"
1332 | dependencies = [
1333 | "libc",
1334 | "wasi",
1335 | "windows-sys 0.52.0",
1336 | ]
1337 |
1338 | [[package]]
1339 | name = "nom"
1340 | version = "7.1.3"
1341 | source = "registry+https://github.com/rust-lang/crates.io-index"
1342 | checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
1343 | dependencies = [
1344 | "memchr",
1345 | "minimal-lexical",
1346 | ]
1347 |
1348 | [[package]]
1349 | name = "nu-ansi-term"
1350 | version = "0.46.0"
1351 | source = "registry+https://github.com/rust-lang/crates.io-index"
1352 | checksum = "77a8165726e8236064dbb45459242600304b42a5ea24ee2948e18e023bf7ba84"
1353 | dependencies = [
1354 | "overload",
1355 | "winapi",
1356 | ]
1357 |
1358 | [[package]]
1359 | name = "nu-ansi-term"
1360 | version = "0.50.1"
1361 | source = "registry+https://github.com/rust-lang/crates.io-index"
1362 | checksum = "d4a28e057d01f97e61255210fcff094d74ed0466038633e95017f5beb68e4399"
1363 | dependencies = [
1364 | "windows-sys 0.52.0",
1365 | ]
1366 |
1367 | [[package]]
1368 | name = "object"
1369 | version = "0.36.7"
1370 | source = "registry+https://github.com/rust-lang/crates.io-index"
1371 | checksum = "62948e14d923ea95ea2c7c86c71013138b66525b86bdc08d2dcc262bdb497b87"
1372 | dependencies = [
1373 | "memchr",
1374 | ]
1375 |
1376 | [[package]]
1377 | name = "once_cell"
1378 | version = "1.20.2"
1379 | source = "registry+https://github.com/rust-lang/crates.io-index"
1380 | checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775"
1381 |
1382 | [[package]]
1383 | name = "option-ext"
1384 | version = "0.2.0"
1385 | source = "registry+https://github.com/rust-lang/crates.io-index"
1386 | checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d"
1387 |
1388 | [[package]]
1389 | name = "overload"
1390 | version = "0.1.1"
1391 | source = "registry+https://github.com/rust-lang/crates.io-index"
1392 | checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39"
1393 |
1394 | [[package]]
1395 | name = "parking_lot"
1396 | version = "0.11.2"
1397 | source = "registry+https://github.com/rust-lang/crates.io-index"
1398 | checksum = "7d17b78036a60663b797adeaee46f5c9dfebb86948d1255007a1d6be0271ff99"
1399 | dependencies = [
1400 | "instant",
1401 | "lock_api",
1402 | "parking_lot_core",
1403 | ]
1404 |
1405 | [[package]]
1406 | name = "parking_lot_core"
1407 | version = "0.8.6"
1408 | source = "registry+https://github.com/rust-lang/crates.io-index"
1409 | checksum = "60a2cfe6f0ad2bfc16aefa463b497d5c7a5ecd44a23efa72aa342d90177356dc"
1410 | dependencies = [
1411 | "cfg-if",
1412 | "instant",
1413 | "libc",
1414 | "redox_syscall",
1415 | "smallvec",
1416 | "winapi",
1417 | ]
1418 |
1419 | [[package]]
1420 | name = "paste"
1421 | version = "1.0.15"
1422 | source = "registry+https://github.com/rust-lang/crates.io-index"
1423 | checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a"
1424 |
1425 | [[package]]
1426 | name = "percent-encoding"
1427 | version = "2.3.1"
1428 | source = "registry+https://github.com/rust-lang/crates.io-index"
1429 | checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e"
1430 |
1431 | [[package]]
1432 | name = "phf"
1433 | version = "0.11.3"
1434 | source = "registry+https://github.com/rust-lang/crates.io-index"
1435 | checksum = "1fd6780a80ae0c52cc120a26a1a42c1ae51b247a253e4e06113d23d2c2edd078"
1436 | dependencies = [
1437 | "phf_macros",
1438 | "phf_shared",
1439 | ]
1440 |
1441 | [[package]]
1442 | name = "phf_generator"
1443 | version = "0.11.3"
1444 | source = "registry+https://github.com/rust-lang/crates.io-index"
1445 | checksum = "3c80231409c20246a13fddb31776fb942c38553c51e871f8cbd687a4cfb5843d"
1446 | dependencies = [
1447 | "phf_shared",
1448 | "rand",
1449 | ]
1450 |
1451 | [[package]]
1452 | name = "phf_macros"
1453 | version = "0.11.3"
1454 | source = "registry+https://github.com/rust-lang/crates.io-index"
1455 | checksum = "f84ac04429c13a7ff43785d75ad27569f2951ce0ffd30a3321230db2fc727216"
1456 | dependencies = [
1457 | "phf_generator",
1458 | "phf_shared",
1459 | "proc-macro2",
1460 | "quote",
1461 | "syn",
1462 | ]
1463 |
1464 | [[package]]
1465 | name = "phf_shared"
1466 | version = "0.11.3"
1467 | source = "registry+https://github.com/rust-lang/crates.io-index"
1468 | checksum = "67eabc2ef2a60eb7faa00097bd1ffdb5bd28e62bf39990626a582201b7a754e5"
1469 | dependencies = [
1470 | "siphasher",
1471 | ]
1472 |
1473 | [[package]]
1474 | name = "pin-project"
1475 | version = "1.1.8"
1476 | source = "registry+https://github.com/rust-lang/crates.io-index"
1477 | checksum = "1e2ec53ad785f4d35dac0adea7f7dc6f1bb277ad84a680c7afefeae05d1f5916"
1478 | dependencies = [
1479 | "pin-project-internal",
1480 | ]
1481 |
1482 | [[package]]
1483 | name = "pin-project-internal"
1484 | version = "1.1.8"
1485 | source = "registry+https://github.com/rust-lang/crates.io-index"
1486 | checksum = "d56a66c0c55993aa927429d0f8a0abfd74f084e4d9c192cffed01e418d83eefb"
1487 | dependencies = [
1488 | "proc-macro2",
1489 | "quote",
1490 | "syn",
1491 | ]
1492 |
1493 | [[package]]
1494 | name = "pin-project-lite"
1495 | version = "0.2.16"
1496 | source = "registry+https://github.com/rust-lang/crates.io-index"
1497 | checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b"
1498 |
1499 | [[package]]
1500 | name = "pin-utils"
1501 | version = "0.1.0"
1502 | source = "registry+https://github.com/rust-lang/crates.io-index"
1503 | checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
1504 |
1505 | [[package]]
1506 | name = "ppv-lite86"
1507 | version = "0.2.20"
1508 | source = "registry+https://github.com/rust-lang/crates.io-index"
1509 | checksum = "77957b295656769bb8ad2b6a6b09d897d94f05c41b069aede1fcdaa675eaea04"
1510 | dependencies = [
1511 | "zerocopy",
1512 | ]
1513 |
1514 | [[package]]
1515 | name = "prettyplease"
1516 | version = "0.2.27"
1517 | source = "registry+https://github.com/rust-lang/crates.io-index"
1518 | checksum = "483f8c21f64f3ea09fe0f30f5d48c3e8eefe5dac9129f0075f76593b4c1da705"
1519 | dependencies = [
1520 | "proc-macro2",
1521 | "syn",
1522 | ]
1523 |
1524 | [[package]]
1525 | name = "proc-macro2"
1526 | version = "1.0.93"
1527 | source = "registry+https://github.com/rust-lang/crates.io-index"
1528 | checksum = "60946a68e5f9d28b0dc1c21bb8a97ee7d018a8b322fa57838ba31cc878e22d99"
1529 | dependencies = [
1530 | "unicode-ident",
1531 | ]
1532 |
1533 | [[package]]
1534 | name = "quinn"
1535 | version = "0.11.6"
1536 | source = "registry+https://github.com/rust-lang/crates.io-index"
1537 | checksum = "62e96808277ec6f97351a2380e6c25114bc9e67037775464979f3037c92d05ef"
1538 | dependencies = [
1539 | "bytes",
1540 | "pin-project-lite",
1541 | "quinn-proto",
1542 | "quinn-udp",
1543 | "rustc-hash 2.1.0",
1544 | "rustls",
1545 | "socket2",
1546 | "thiserror 2.0.11",
1547 | "tokio",
1548 | "tracing",
1549 | ]
1550 |
1551 | [[package]]
1552 | name = "quinn-proto"
1553 | version = "0.11.9"
1554 | source = "registry+https://github.com/rust-lang/crates.io-index"
1555 | checksum = "a2fe5ef3495d7d2e377ff17b1a8ce2ee2ec2a18cde8b6ad6619d65d0701c135d"
1556 | dependencies = [
1557 | "bytes",
1558 | "getrandom",
1559 | "rand",
1560 | "ring",
1561 | "rustc-hash 2.1.0",
1562 | "rustls",
1563 | "rustls-pki-types",
1564 | "slab",
1565 | "thiserror 2.0.11",
1566 | "tinyvec",
1567 | "tracing",
1568 | "web-time",
1569 | ]
1570 |
1571 | [[package]]
1572 | name = "quinn-udp"
1573 | version = "0.5.9"
1574 | source = "registry+https://github.com/rust-lang/crates.io-index"
1575 | checksum = "1c40286217b4ba3a71d644d752e6a0b71f13f1b6a2c5311acfcbe0c2418ed904"
1576 | dependencies = [
1577 | "cfg_aliases",
1578 | "libc",
1579 | "once_cell",
1580 | "socket2",
1581 | "tracing",
1582 | "windows-sys 0.59.0",
1583 | ]
1584 |
1585 | [[package]]
1586 | name = "quote"
1587 | version = "1.0.38"
1588 | source = "registry+https://github.com/rust-lang/crates.io-index"
1589 | checksum = "0e4dccaaaf89514f546c693ddc140f729f958c247918a13380cccc6078391acc"
1590 | dependencies = [
1591 | "proc-macro2",
1592 | ]
1593 |
1594 | [[package]]
1595 | name = "rand"
1596 | version = "0.8.5"
1597 | source = "registry+https://github.com/rust-lang/crates.io-index"
1598 | checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
1599 | dependencies = [
1600 | "libc",
1601 | "rand_chacha",
1602 | "rand_core",
1603 | ]
1604 |
1605 | [[package]]
1606 | name = "rand_chacha"
1607 | version = "0.3.1"
1608 | source = "registry+https://github.com/rust-lang/crates.io-index"
1609 | checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
1610 | dependencies = [
1611 | "ppv-lite86",
1612 | "rand_core",
1613 | ]
1614 |
1615 | [[package]]
1616 | name = "rand_core"
1617 | version = "0.6.4"
1618 | source = "registry+https://github.com/rust-lang/crates.io-index"
1619 | checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
1620 | dependencies = [
1621 | "getrandom",
1622 | ]
1623 |
1624 | [[package]]
1625 | name = "redox_syscall"
1626 | version = "0.2.16"
1627 | source = "registry+https://github.com/rust-lang/crates.io-index"
1628 | checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a"
1629 | dependencies = [
1630 | "bitflags 1.3.2",
1631 | ]
1632 |
1633 | [[package]]
1634 | name = "redox_users"
1635 | version = "0.4.6"
1636 | source = "registry+https://github.com/rust-lang/crates.io-index"
1637 | checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43"
1638 | dependencies = [
1639 | "getrandom",
1640 | "libredox",
1641 | "thiserror 1.0.69",
1642 | ]
1643 |
1644 | [[package]]
1645 | name = "regex"
1646 | version = "1.11.1"
1647 | source = "registry+https://github.com/rust-lang/crates.io-index"
1648 | checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191"
1649 | dependencies = [
1650 | "aho-corasick",
1651 | "memchr",
1652 | "regex-automata",
1653 | "regex-syntax",
1654 | ]
1655 |
1656 | [[package]]
1657 | name = "regex-automata"
1658 | version = "0.4.9"
1659 | source = "registry+https://github.com/rust-lang/crates.io-index"
1660 | checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908"
1661 | dependencies = [
1662 | "aho-corasick",
1663 | "memchr",
1664 | "regex-syntax",
1665 | ]
1666 |
1667 | [[package]]
1668 | name = "regex-syntax"
1669 | version = "0.8.5"
1670 | source = "registry+https://github.com/rust-lang/crates.io-index"
1671 | checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c"
1672 |
1673 | [[package]]
1674 | name = "reqwest"
1675 | version = "0.12.12"
1676 | source = "registry+https://github.com/rust-lang/crates.io-index"
1677 | checksum = "43e734407157c3c2034e0258f5e4473ddb361b1e85f95a66690d67264d7cd1da"
1678 | dependencies = [
1679 | "async-compression",
1680 | "base64 0.22.1",
1681 | "bytes",
1682 | "futures-core",
1683 | "futures-util",
1684 | "h2",
1685 | "http",
1686 | "http-body",
1687 | "http-body-util",
1688 | "hyper",
1689 | "hyper-rustls",
1690 | "hyper-util",
1691 | "ipnet",
1692 | "js-sys",
1693 | "log",
1694 | "mime",
1695 | "once_cell",
1696 | "percent-encoding",
1697 | "pin-project-lite",
1698 | "quinn",
1699 | "rustls",
1700 | "rustls-pemfile",
1701 | "rustls-pki-types",
1702 | "serde",
1703 | "serde_json",
1704 | "serde_urlencoded",
1705 | "sync_wrapper",
1706 | "tokio",
1707 | "tokio-rustls",
1708 | "tokio-socks",
1709 | "tokio-util",
1710 | "tower 0.5.2",
1711 | "tower-service",
1712 | "url",
1713 | "wasm-bindgen",
1714 | "wasm-bindgen-futures",
1715 | "web-sys",
1716 | "webpki-roots",
1717 | "windows-registry",
1718 | ]
1719 |
1720 | [[package]]
1721 | name = "reqwest-middleware"
1722 | version = "0.4.0"
1723 | source = "registry+https://github.com/rust-lang/crates.io-index"
1724 | checksum = "d1ccd3b55e711f91a9885a2fa6fbbb2e39db1776420b062efc058c6410f7e5e3"
1725 | dependencies = [
1726 | "anyhow",
1727 | "async-trait",
1728 | "http",
1729 | "reqwest",
1730 | "serde",
1731 | "thiserror 1.0.69",
1732 | "tower-service",
1733 | ]
1734 |
1735 | [[package]]
1736 | name = "reqwest-retry"
1737 | version = "0.7.0"
1738 | source = "registry+https://github.com/rust-lang/crates.io-index"
1739 | checksum = "29c73e4195a6bfbcb174b790d9b3407ab90646976c55de58a6515da25d851178"
1740 | dependencies = [
1741 | "anyhow",
1742 | "async-trait",
1743 | "futures",
1744 | "getrandom",
1745 | "http",
1746 | "hyper",
1747 | "parking_lot",
1748 | "reqwest",
1749 | "reqwest-middleware",
1750 | "retry-policies",
1751 | "thiserror 1.0.69",
1752 | "tokio",
1753 | "tracing",
1754 | "wasm-timer",
1755 | ]
1756 |
1757 | [[package]]
1758 | name = "retry-policies"
1759 | version = "0.4.0"
1760 | source = "registry+https://github.com/rust-lang/crates.io-index"
1761 | checksum = "5875471e6cab2871bc150ecb8c727db5113c9338cc3354dc5ee3425b6aa40a1c"
1762 | dependencies = [
1763 | "rand",
1764 | ]
1765 |
1766 | [[package]]
1767 | name = "ring"
1768 | version = "0.17.8"
1769 | source = "registry+https://github.com/rust-lang/crates.io-index"
1770 | checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d"
1771 | dependencies = [
1772 | "cc",
1773 | "cfg-if",
1774 | "getrandom",
1775 | "libc",
1776 | "spin",
1777 | "untrusted",
1778 | "windows-sys 0.52.0",
1779 | ]
1780 |
1781 | [[package]]
1782 | name = "rustc-demangle"
1783 | version = "0.1.24"
1784 | source = "registry+https://github.com/rust-lang/crates.io-index"
1785 | checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f"
1786 |
1787 | [[package]]
1788 | name = "rustc-hash"
1789 | version = "1.1.0"
1790 | source = "registry+https://github.com/rust-lang/crates.io-index"
1791 | checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
1792 |
1793 | [[package]]
1794 | name = "rustc-hash"
1795 | version = "2.1.0"
1796 | source = "registry+https://github.com/rust-lang/crates.io-index"
1797 | checksum = "c7fb8039b3032c191086b10f11f319a6e99e1e82889c5cc6046f515c9db1d497"
1798 |
1799 | [[package]]
1800 | name = "rustix"
1801 | version = "0.38.43"
1802 | source = "registry+https://github.com/rust-lang/crates.io-index"
1803 | checksum = "a78891ee6bf2340288408954ac787aa063d8e8817e9f53abb37c695c6d834ef6"
1804 | dependencies = [
1805 | "bitflags 2.7.0",
1806 | "errno",
1807 | "libc",
1808 | "linux-raw-sys",
1809 | "windows-sys 0.59.0",
1810 | ]
1811 |
1812 | [[package]]
1813 | name = "rustls"
1814 | version = "0.23.21"
1815 | source = "registry+https://github.com/rust-lang/crates.io-index"
1816 | checksum = "8f287924602bf649d949c63dc8ac8b235fa5387d394020705b80c4eb597ce5b8"
1817 | dependencies = [
1818 | "aws-lc-rs",
1819 | "once_cell",
1820 | "ring",
1821 | "rustls-pki-types",
1822 | "rustls-webpki",
1823 | "subtle",
1824 | "zeroize",
1825 | ]
1826 |
1827 | [[package]]
1828 | name = "rustls-pemfile"
1829 | version = "2.2.0"
1830 | source = "registry+https://github.com/rust-lang/crates.io-index"
1831 | checksum = "dce314e5fee3f39953d46bb63bb8a46d40c2f8fb7cc5a3b6cab2bde9721d6e50"
1832 | dependencies = [
1833 | "rustls-pki-types",
1834 | ]
1835 |
1836 | [[package]]
1837 | name = "rustls-pki-types"
1838 | version = "1.10.1"
1839 | source = "registry+https://github.com/rust-lang/crates.io-index"
1840 | checksum = "d2bf47e6ff922db3825eb750c4e2ff784c6ff8fb9e13046ef6a1d1c5401b0b37"
1841 | dependencies = [
1842 | "web-time",
1843 | ]
1844 |
1845 | [[package]]
1846 | name = "rustls-webpki"
1847 | version = "0.102.8"
1848 | source = "registry+https://github.com/rust-lang/crates.io-index"
1849 | checksum = "64ca1bc8749bd4cf37b5ce386cc146580777b4e8572c7b97baf22c83f444bee9"
1850 | dependencies = [
1851 | "aws-lc-rs",
1852 | "ring",
1853 | "rustls-pki-types",
1854 | "untrusted",
1855 | ]
1856 |
1857 | [[package]]
1858 | name = "rustversion"
1859 | version = "1.0.19"
1860 | source = "registry+https://github.com/rust-lang/crates.io-index"
1861 | checksum = "f7c45b9784283f1b2e7fb61b42047c2fd678ef0960d4f6f1eba131594cc369d4"
1862 |
1863 | [[package]]
1864 | name = "ryu"
1865 | version = "1.0.18"
1866 | source = "registry+https://github.com/rust-lang/crates.io-index"
1867 | checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f"
1868 |
1869 | [[package]]
1870 | name = "scopeguard"
1871 | version = "1.2.0"
1872 | source = "registry+https://github.com/rust-lang/crates.io-index"
1873 | checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
1874 |
1875 | [[package]]
1876 | name = "serde"
1877 | version = "1.0.217"
1878 | source = "registry+https://github.com/rust-lang/crates.io-index"
1879 | checksum = "02fc4265df13d6fa1d00ecff087228cc0a2b5f3c0e87e258d8b94a156e984c70"
1880 | dependencies = [
1881 | "serde_derive",
1882 | ]
1883 |
1884 | [[package]]
1885 | name = "serde-tuple-vec-map"
1886 | version = "1.0.1"
1887 | source = "registry+https://github.com/rust-lang/crates.io-index"
1888 | checksum = "a04d0ebe0de77d7d445bb729a895dcb0a288854b267ca85f030ce51cdc578c82"
1889 | dependencies = [
1890 | "serde",
1891 | ]
1892 |
1893 | [[package]]
1894 | name = "serde_derive"
1895 | version = "1.0.217"
1896 | source = "registry+https://github.com/rust-lang/crates.io-index"
1897 | checksum = "5a9bf7cf98d04a2b28aead066b7496853d4779c9cc183c440dbac457641e19a0"
1898 | dependencies = [
1899 | "proc-macro2",
1900 | "quote",
1901 | "syn",
1902 | ]
1903 |
1904 | [[package]]
1905 | name = "serde_fmt"
1906 | version = "1.0.3"
1907 | source = "registry+https://github.com/rust-lang/crates.io-index"
1908 | checksum = "e1d4ddca14104cd60529e8c7f7ba71a2c8acd8f7f5cfcdc2faf97eeb7c3010a4"
1909 | dependencies = [
1910 | "serde",
1911 | ]
1912 |
1913 | [[package]]
1914 | name = "serde_json"
1915 | version = "1.0.135"
1916 | source = "registry+https://github.com/rust-lang/crates.io-index"
1917 | checksum = "2b0d7ba2887406110130a978386c4e1befb98c674b4fba677954e4db976630d9"
1918 | dependencies = [
1919 | "itoa",
1920 | "memchr",
1921 | "ryu",
1922 | "serde",
1923 | ]
1924 |
1925 | [[package]]
1926 | name = "serde_path_to_error"
1927 | version = "0.1.16"
1928 | source = "registry+https://github.com/rust-lang/crates.io-index"
1929 | checksum = "af99884400da37c88f5e9146b7f1fd0fbcae8f6eec4e9da38b67d05486f814a6"
1930 | dependencies = [
1931 | "itoa",
1932 | "serde",
1933 | ]
1934 |
1935 | [[package]]
1936 | name = "serde_spanned"
1937 | version = "0.6.8"
1938 | source = "registry+https://github.com/rust-lang/crates.io-index"
1939 | checksum = "87607cb1398ed59d48732e575a4c28a7a8ebf2454b964fe3f224f2afc07909e1"
1940 | dependencies = [
1941 | "serde",
1942 | ]
1943 |
1944 | [[package]]
1945 | name = "serde_urlencoded"
1946 | version = "0.7.1"
1947 | source = "registry+https://github.com/rust-lang/crates.io-index"
1948 | checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd"
1949 | dependencies = [
1950 | "form_urlencoded",
1951 | "itoa",
1952 | "ryu",
1953 | "serde",
1954 | ]
1955 |
1956 | [[package]]
1957 | name = "sha1"
1958 | version = "0.10.6"
1959 | source = "registry+https://github.com/rust-lang/crates.io-index"
1960 | checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba"
1961 | dependencies = [
1962 | "cfg-if",
1963 | "cpufeatures",
1964 | "digest",
1965 | ]
1966 |
1967 | [[package]]
1968 | name = "sharded-slab"
1969 | version = "0.1.7"
1970 | source = "registry+https://github.com/rust-lang/crates.io-index"
1971 | checksum = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6"
1972 | dependencies = [
1973 | "lazy_static",
1974 | ]
1975 |
1976 | [[package]]
1977 | name = "shlex"
1978 | version = "1.3.0"
1979 | source = "registry+https://github.com/rust-lang/crates.io-index"
1980 | checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
1981 |
1982 | [[package]]
1983 | name = "siphasher"
1984 | version = "1.0.1"
1985 | source = "registry+https://github.com/rust-lang/crates.io-index"
1986 | checksum = "56199f7ddabf13fe5074ce809e7d3f42b42ae711800501b5b16ea82ad029c39d"
1987 |
1988 | [[package]]
1989 | name = "slab"
1990 | version = "0.4.9"
1991 | source = "registry+https://github.com/rust-lang/crates.io-index"
1992 | checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67"
1993 | dependencies = [
1994 | "autocfg",
1995 | ]
1996 |
1997 | [[package]]
1998 | name = "smallvec"
1999 | version = "1.13.2"
2000 | source = "registry+https://github.com/rust-lang/crates.io-index"
2001 | checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67"
2002 |
2003 | [[package]]
2004 | name = "socket2"
2005 | version = "0.5.8"
2006 | source = "registry+https://github.com/rust-lang/crates.io-index"
2007 | checksum = "c970269d99b64e60ec3bd6ad27270092a5394c4e309314b18ae3fe575695fbe8"
2008 | dependencies = [
2009 | "libc",
2010 | "windows-sys 0.52.0",
2011 | ]
2012 |
2013 | [[package]]
2014 | name = "spin"
2015 | version = "0.9.8"
2016 | source = "registry+https://github.com/rust-lang/crates.io-index"
2017 | checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67"
2018 |
2019 | [[package]]
2020 | name = "stable_deref_trait"
2021 | version = "1.2.0"
2022 | source = "registry+https://github.com/rust-lang/crates.io-index"
2023 | checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
2024 |
2025 | [[package]]
2026 | name = "strsim"
2027 | version = "0.11.1"
2028 | source = "registry+https://github.com/rust-lang/crates.io-index"
2029 | checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
2030 |
2031 | [[package]]
2032 | name = "subtle"
2033 | version = "2.6.1"
2034 | source = "registry+https://github.com/rust-lang/crates.io-index"
2035 | checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292"
2036 |
2037 | [[package]]
2038 | name = "sval"
2039 | version = "2.13.2"
2040 | source = "registry+https://github.com/rust-lang/crates.io-index"
2041 | checksum = "f6dc0f9830c49db20e73273ffae9b5240f63c42e515af1da1fceefb69fceafd8"
2042 |
2043 | [[package]]
2044 | name = "sval_buffer"
2045 | version = "2.13.2"
2046 | source = "registry+https://github.com/rust-lang/crates.io-index"
2047 | checksum = "429922f7ad43c0ef8fd7309e14d750e38899e32eb7e8da656ea169dd28ee212f"
2048 | dependencies = [
2049 | "sval",
2050 | "sval_ref",
2051 | ]
2052 |
2053 | [[package]]
2054 | name = "sval_dynamic"
2055 | version = "2.13.2"
2056 | source = "registry+https://github.com/rust-lang/crates.io-index"
2057 | checksum = "68f16ff5d839396c11a30019b659b0976348f3803db0626f736764c473b50ff4"
2058 | dependencies = [
2059 | "sval",
2060 | ]
2061 |
2062 | [[package]]
2063 | name = "sval_fmt"
2064 | version = "2.13.2"
2065 | source = "registry+https://github.com/rust-lang/crates.io-index"
2066 | checksum = "c01c27a80b6151b0557f9ccbe89c11db571dc5f68113690c1e028d7e974bae94"
2067 | dependencies = [
2068 | "itoa",
2069 | "ryu",
2070 | "sval",
2071 | ]
2072 |
2073 | [[package]]
2074 | name = "sval_json"
2075 | version = "2.13.2"
2076 | source = "registry+https://github.com/rust-lang/crates.io-index"
2077 | checksum = "0deef63c70da622b2a8069d8600cf4b05396459e665862e7bdb290fd6cf3f155"
2078 | dependencies = [
2079 | "itoa",
2080 | "ryu",
2081 | "sval",
2082 | ]
2083 |
2084 | [[package]]
2085 | name = "sval_nested"
2086 | version = "2.13.2"
2087 | source = "registry+https://github.com/rust-lang/crates.io-index"
2088 | checksum = "a39ce5976ae1feb814c35d290cf7cf8cd4f045782fe1548d6bc32e21f6156e9f"
2089 | dependencies = [
2090 | "sval",
2091 | "sval_buffer",
2092 | "sval_ref",
2093 | ]
2094 |
2095 | [[package]]
2096 | name = "sval_ref"
2097 | version = "2.13.2"
2098 | source = "registry+https://github.com/rust-lang/crates.io-index"
2099 | checksum = "bb7c6ee3751795a728bc9316a092023529ffea1783499afbc5c66f5fabebb1fa"
2100 | dependencies = [
2101 | "sval",
2102 | ]
2103 |
2104 | [[package]]
2105 | name = "sval_serde"
2106 | version = "2.13.2"
2107 | source = "registry+https://github.com/rust-lang/crates.io-index"
2108 | checksum = "2a5572d0321b68109a343634e3a5d576bf131b82180c6c442dee06349dfc652a"
2109 | dependencies = [
2110 | "serde",
2111 | "sval",
2112 | "sval_nested",
2113 | ]
2114 |
2115 | [[package]]
2116 | name = "syn"
2117 | version = "2.0.96"
2118 | source = "registry+https://github.com/rust-lang/crates.io-index"
2119 | checksum = "d5d0adab1ae378d7f53bdebc67a39f1f151407ef230f0ce2883572f5d8985c80"
2120 | dependencies = [
2121 | "proc-macro2",
2122 | "quote",
2123 | "unicode-ident",
2124 | ]
2125 |
2126 | [[package]]
2127 | name = "sync_wrapper"
2128 | version = "1.0.2"
2129 | source = "registry+https://github.com/rust-lang/crates.io-index"
2130 | checksum = "0bf256ce5efdfa370213c1dabab5935a12e49f2c58d15e9eac2870d3b4f27263"
2131 | dependencies = [
2132 | "futures-core",
2133 | ]
2134 |
2135 | [[package]]
2136 | name = "synstructure"
2137 | version = "0.13.1"
2138 | source = "registry+https://github.com/rust-lang/crates.io-index"
2139 | checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971"
2140 | dependencies = [
2141 | "proc-macro2",
2142 | "quote",
2143 | "syn",
2144 | ]
2145 |
2146 | [[package]]
2147 | name = "thiserror"
2148 | version = "1.0.69"
2149 | source = "registry+https://github.com/rust-lang/crates.io-index"
2150 | checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52"
2151 | dependencies = [
2152 | "thiserror-impl 1.0.69",
2153 | ]
2154 |
2155 | [[package]]
2156 | name = "thiserror"
2157 | version = "2.0.11"
2158 | source = "registry+https://github.com/rust-lang/crates.io-index"
2159 | checksum = "d452f284b73e6d76dd36758a0c8684b1d5be31f92b89d07fd5822175732206fc"
2160 | dependencies = [
2161 | "thiserror-impl 2.0.11",
2162 | ]
2163 |
2164 | [[package]]
2165 | name = "thiserror-impl"
2166 | version = "1.0.69"
2167 | source = "registry+https://github.com/rust-lang/crates.io-index"
2168 | checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
2169 | dependencies = [
2170 | "proc-macro2",
2171 | "quote",
2172 | "syn",
2173 | ]
2174 |
2175 | [[package]]
2176 | name = "thiserror-impl"
2177 | version = "2.0.11"
2178 | source = "registry+https://github.com/rust-lang/crates.io-index"
2179 | checksum = "26afc1baea8a989337eeb52b6e72a039780ce45c3edfcc9c5b9d112feeb173c2"
2180 | dependencies = [
2181 | "proc-macro2",
2182 | "quote",
2183 | "syn",
2184 | ]
2185 |
2186 | [[package]]
2187 | name = "thread_local"
2188 | version = "1.1.8"
2189 | source = "registry+https://github.com/rust-lang/crates.io-index"
2190 | checksum = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c"
2191 | dependencies = [
2192 | "cfg-if",
2193 | "once_cell",
2194 | ]
2195 |
2196 | [[package]]
2197 | name = "tinystr"
2198 | version = "0.7.6"
2199 | source = "registry+https://github.com/rust-lang/crates.io-index"
2200 | checksum = "9117f5d4db391c1cf6927e7bea3db74b9a1c1add8f7eda9ffd5364f40f57b82f"
2201 | dependencies = [
2202 | "displaydoc",
2203 | "zerovec",
2204 | ]
2205 |
2206 | [[package]]
2207 | name = "tinyvec"
2208 | version = "1.8.1"
2209 | source = "registry+https://github.com/rust-lang/crates.io-index"
2210 | checksum = "022db8904dfa342efe721985167e9fcd16c29b226db4397ed752a761cfce81e8"
2211 | dependencies = [
2212 | "tinyvec_macros",
2213 | ]
2214 |
2215 | [[package]]
2216 | name = "tinyvec_macros"
2217 | version = "0.1.1"
2218 | source = "registry+https://github.com/rust-lang/crates.io-index"
2219 | checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
2220 |
2221 | [[package]]
2222 | name = "tokio"
2223 | version = "1.43.0"
2224 | source = "registry+https://github.com/rust-lang/crates.io-index"
2225 | checksum = "3d61fa4ffa3de412bfea335c6ecff681de2b609ba3c77ef3e00e521813a9ed9e"
2226 | dependencies = [
2227 | "backtrace",
2228 | "bytes",
2229 | "libc",
2230 | "mio",
2231 | "pin-project-lite",
2232 | "socket2",
2233 | "tokio-macros",
2234 | "windows-sys 0.52.0",
2235 | ]
2236 |
2237 | [[package]]
2238 | name = "tokio-macros"
2239 | version = "2.5.0"
2240 | source = "registry+https://github.com/rust-lang/crates.io-index"
2241 | checksum = "6e06d43f1345a3bcd39f6a56dbb7dcab2ba47e68e8ac134855e7e2bdbaf8cab8"
2242 | dependencies = [
2243 | "proc-macro2",
2244 | "quote",
2245 | "syn",
2246 | ]
2247 |
2248 | [[package]]
2249 | name = "tokio-rustls"
2250 | version = "0.26.1"
2251 | source = "registry+https://github.com/rust-lang/crates.io-index"
2252 | checksum = "5f6d0975eaace0cf0fcadee4e4aaa5da15b5c079146f2cffb67c113be122bf37"
2253 | dependencies = [
2254 | "rustls",
2255 | "tokio",
2256 | ]
2257 |
2258 | [[package]]
2259 | name = "tokio-socks"
2260 | version = "0.5.2"
2261 | source = "registry+https://github.com/rust-lang/crates.io-index"
2262 | checksum = "0d4770b8024672c1101b3f6733eab95b18007dbe0847a8afe341fcf79e06043f"
2263 | dependencies = [
2264 | "either",
2265 | "futures-util",
2266 | "thiserror 1.0.69",
2267 | "tokio",
2268 | ]
2269 |
2270 | [[package]]
2271 | name = "tokio-util"
2272 | version = "0.7.13"
2273 | source = "registry+https://github.com/rust-lang/crates.io-index"
2274 | checksum = "d7fcaa8d55a2bdd6b83ace262b016eca0d79ee02818c5c1bcdf0305114081078"
2275 | dependencies = [
2276 | "bytes",
2277 | "futures-core",
2278 | "futures-sink",
2279 | "pin-project-lite",
2280 | "tokio",
2281 | ]
2282 |
2283 | [[package]]
2284 | name = "toml"
2285 | version = "0.8.19"
2286 | source = "registry+https://github.com/rust-lang/crates.io-index"
2287 | checksum = "a1ed1f98e3fdc28d6d910e6737ae6ab1a93bf1985935a1193e68f93eeb68d24e"
2288 | dependencies = [
2289 | "serde",
2290 | "serde_spanned",
2291 | "toml_datetime",
2292 | "toml_edit",
2293 | ]
2294 |
2295 | [[package]]
2296 | name = "toml_datetime"
2297 | version = "0.6.8"
2298 | source = "registry+https://github.com/rust-lang/crates.io-index"
2299 | checksum = "0dd7358ecb8fc2f8d014bf86f6f638ce72ba252a2c3a2572f2a795f1d23efb41"
2300 | dependencies = [
2301 | "serde",
2302 | ]
2303 |
2304 | [[package]]
2305 | name = "toml_edit"
2306 | version = "0.22.22"
2307 | source = "registry+https://github.com/rust-lang/crates.io-index"
2308 | checksum = "4ae48d6208a266e853d946088ed816055e556cc6028c5e8e2b84d9fa5dd7c7f5"
2309 | dependencies = [
2310 | "indexmap",
2311 | "serde",
2312 | "serde_spanned",
2313 | "toml_datetime",
2314 | "winnow",
2315 | ]
2316 |
2317 | [[package]]
2318 | name = "tower"
2319 | version = "0.4.13"
2320 | source = "registry+https://github.com/rust-lang/crates.io-index"
2321 | checksum = "b8fa9be0de6cf49e536ce1851f987bd21a43b771b09473c3549a6c853db37c1c"
2322 | dependencies = [
2323 | "futures-core",
2324 | "futures-util",
2325 | "pin-project",
2326 | "pin-project-lite",
2327 | "tower-layer",
2328 | "tower-service",
2329 | "tracing",
2330 | ]
2331 |
2332 | [[package]]
2333 | name = "tower"
2334 | version = "0.5.2"
2335 | source = "registry+https://github.com/rust-lang/crates.io-index"
2336 | checksum = "d039ad9159c98b70ecfd540b2573b97f7f52c3e8d9f8ad57a24b916a536975f9"
2337 | dependencies = [
2338 | "futures-core",
2339 | "futures-util",
2340 | "pin-project-lite",
2341 | "sync_wrapper",
2342 | "tokio",
2343 | "tokio-util",
2344 | "tower-layer",
2345 | "tower-service",
2346 | "tracing",
2347 | ]
2348 |
2349 | [[package]]
2350 | name = "tower-http"
2351 | version = "0.6.2"
2352 | source = "registry+https://github.com/rust-lang/crates.io-index"
2353 | checksum = "403fa3b783d4b626a8ad51d766ab03cb6d2dbfc46b1c5d4448395e6628dc9697"
2354 | dependencies = [
2355 | "async-compression",
2356 | "bitflags 2.7.0",
2357 | "bytes",
2358 | "futures-core",
2359 | "http",
2360 | "http-body",
2361 | "pin-project-lite",
2362 | "tokio",
2363 | "tokio-util",
2364 | "tower-layer",
2365 | "tower-service",
2366 | ]
2367 |
2368 | [[package]]
2369 | name = "tower-layer"
2370 | version = "0.3.3"
2371 | source = "registry+https://github.com/rust-lang/crates.io-index"
2372 | checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e"
2373 |
2374 | [[package]]
2375 | name = "tower-service"
2376 | version = "0.3.3"
2377 | source = "registry+https://github.com/rust-lang/crates.io-index"
2378 | checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3"
2379 |
2380 | [[package]]
2381 | name = "tracing"
2382 | version = "0.1.41"
2383 | source = "registry+https://github.com/rust-lang/crates.io-index"
2384 | checksum = "784e0ac535deb450455cbfa28a6f0df145ea1bb7ae51b821cf5e7927fdcfbdd0"
2385 | dependencies = [
2386 | "log",
2387 | "pin-project-lite",
2388 | "tracing-attributes",
2389 | "tracing-core",
2390 | ]
2391 |
2392 | [[package]]
2393 | name = "tracing-attributes"
2394 | version = "0.1.28"
2395 | source = "registry+https://github.com/rust-lang/crates.io-index"
2396 | checksum = "395ae124c09f9e6918a2310af6038fba074bcf474ac352496d5910dd59a2226d"
2397 | dependencies = [
2398 | "proc-macro2",
2399 | "quote",
2400 | "syn",
2401 | ]
2402 |
2403 | [[package]]
2404 | name = "tracing-core"
2405 | version = "0.1.33"
2406 | source = "registry+https://github.com/rust-lang/crates.io-index"
2407 | checksum = "e672c95779cf947c5311f83787af4fa8fffd12fb27e4993211a84bdfd9610f9c"
2408 | dependencies = [
2409 | "once_cell",
2410 | "valuable",
2411 | ]
2412 |
2413 | [[package]]
2414 | name = "tracing-log"
2415 | version = "0.2.0"
2416 | source = "registry+https://github.com/rust-lang/crates.io-index"
2417 | checksum = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3"
2418 | dependencies = [
2419 | "log",
2420 | "once_cell",
2421 | "tracing-core",
2422 | ]
2423 |
2424 | [[package]]
2425 | name = "tracing-subscriber"
2426 | version = "0.3.19"
2427 | source = "registry+https://github.com/rust-lang/crates.io-index"
2428 | checksum = "e8189decb5ac0fa7bc8b96b7cb9b2701d60d48805aca84a238004d665fcc4008"
2429 | dependencies = [
2430 | "nu-ansi-term 0.46.0",
2431 | "sharded-slab",
2432 | "smallvec",
2433 | "thread_local",
2434 | "tracing-core",
2435 | "tracing-log",
2436 | ]
2437 |
2438 | [[package]]
2439 | name = "try-lock"
2440 | version = "0.2.5"
2441 | source = "registry+https://github.com/rust-lang/crates.io-index"
2442 | checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b"
2443 |
2444 | [[package]]
2445 | name = "typeid"
2446 | version = "1.0.2"
2447 | source = "registry+https://github.com/rust-lang/crates.io-index"
2448 | checksum = "0e13db2e0ccd5e14a544e8a246ba2312cd25223f616442d7f2cb0e3db614236e"
2449 |
2450 | [[package]]
2451 | name = "typenum"
2452 | version = "1.17.0"
2453 | source = "registry+https://github.com/rust-lang/crates.io-index"
2454 | checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825"
2455 |
2456 | [[package]]
2457 | name = "unicode-ident"
2458 | version = "1.0.14"
2459 | source = "registry+https://github.com/rust-lang/crates.io-index"
2460 | checksum = "adb9e6ca4f869e1180728b7950e35922a7fc6397f7b641499e8f3ef06e50dc83"
2461 |
2462 | [[package]]
2463 | name = "unicode-xid"
2464 | version = "0.2.6"
2465 | source = "registry+https://github.com/rust-lang/crates.io-index"
2466 | checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853"
2467 |
2468 | [[package]]
2469 | name = "untrusted"
2470 | version = "0.9.0"
2471 | source = "registry+https://github.com/rust-lang/crates.io-index"
2472 | checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1"
2473 |
2474 | [[package]]
2475 | name = "url"
2476 | version = "2.5.4"
2477 | source = "registry+https://github.com/rust-lang/crates.io-index"
2478 | checksum = "32f8b686cadd1473f4bd0117a5d28d36b1ade384ea9b5069a1c40aefed7fda60"
2479 | dependencies = [
2480 | "form_urlencoded",
2481 | "idna",
2482 | "percent-encoding",
2483 | ]
2484 |
2485 | [[package]]
2486 | name = "utf16_iter"
2487 | version = "1.0.5"
2488 | source = "registry+https://github.com/rust-lang/crates.io-index"
2489 | checksum = "c8232dd3cdaed5356e0f716d285e4b40b932ac434100fe9b7e0e8e935b9e6246"
2490 |
2491 | [[package]]
2492 | name = "utf8_iter"
2493 | version = "1.0.4"
2494 | source = "registry+https://github.com/rust-lang/crates.io-index"
2495 | checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be"
2496 |
2497 | [[package]]
2498 | name = "utf8parse"
2499 | version = "0.2.2"
2500 | source = "registry+https://github.com/rust-lang/crates.io-index"
2501 | checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
2502 |
2503 | [[package]]
2504 | name = "uuid"
2505 | version = "1.11.1"
2506 | source = "registry+https://github.com/rust-lang/crates.io-index"
2507 | checksum = "b913a3b5fe84142e269d63cc62b64319ccaf89b748fc31fe025177f767a756c4"
2508 | dependencies = [
2509 | "getrandom",
2510 | "serde",
2511 | ]
2512 |
2513 | [[package]]
2514 | name = "valuable"
2515 | version = "0.1.0"
2516 | source = "registry+https://github.com/rust-lang/crates.io-index"
2517 | checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d"
2518 |
2519 | [[package]]
2520 | name = "value-bag"
2521 | version = "1.10.0"
2522 | source = "registry+https://github.com/rust-lang/crates.io-index"
2523 | checksum = "3ef4c4aa54d5d05a279399bfa921ec387b7aba77caf7a682ae8d86785b8fdad2"
2524 | dependencies = [
2525 | "value-bag-serde1",
2526 | "value-bag-sval2",
2527 | ]
2528 |
2529 | [[package]]
2530 | name = "value-bag-serde1"
2531 | version = "1.10.0"
2532 | source = "registry+https://github.com/rust-lang/crates.io-index"
2533 | checksum = "4bb773bd36fd59c7ca6e336c94454d9c66386416734817927ac93d81cb3c5b0b"
2534 | dependencies = [
2535 | "erased-serde",
2536 | "serde",
2537 | "serde_fmt",
2538 | ]
2539 |
2540 | [[package]]
2541 | name = "value-bag-sval2"
2542 | version = "1.10.0"
2543 | source = "registry+https://github.com/rust-lang/crates.io-index"
2544 | checksum = "53a916a702cac43a88694c97657d449775667bcd14b70419441d05b7fea4a83a"
2545 | dependencies = [
2546 | "sval",
2547 | "sval_buffer",
2548 | "sval_dynamic",
2549 | "sval_fmt",
2550 | "sval_json",
2551 | "sval_ref",
2552 | "sval_serde",
2553 | ]
2554 |
2555 | [[package]]
2556 | name = "version_check"
2557 | version = "0.9.5"
2558 | source = "registry+https://github.com/rust-lang/crates.io-index"
2559 | checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
2560 |
2561 | [[package]]
2562 | name = "want"
2563 | version = "0.3.1"
2564 | source = "registry+https://github.com/rust-lang/crates.io-index"
2565 | checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e"
2566 | dependencies = [
2567 | "try-lock",
2568 | ]
2569 |
2570 | [[package]]
2571 | name = "wasi"
2572 | version = "0.11.0+wasi-snapshot-preview1"
2573 | source = "registry+https://github.com/rust-lang/crates.io-index"
2574 | checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
2575 |
2576 | [[package]]
2577 | name = "wasm-bindgen"
2578 | version = "0.2.99"
2579 | source = "registry+https://github.com/rust-lang/crates.io-index"
2580 | checksum = "a474f6281d1d70c17ae7aa6a613c87fce69a127e2624002df63dcb39d6cf6396"
2581 | dependencies = [
2582 | "cfg-if",
2583 | "once_cell",
2584 | "wasm-bindgen-macro",
2585 | ]
2586 |
2587 | [[package]]
2588 | name = "wasm-bindgen-backend"
2589 | version = "0.2.99"
2590 | source = "registry+https://github.com/rust-lang/crates.io-index"
2591 | checksum = "5f89bb38646b4f81674e8f5c3fb81b562be1fd936d84320f3264486418519c79"
2592 | dependencies = [
2593 | "bumpalo",
2594 | "log",
2595 | "proc-macro2",
2596 | "quote",
2597 | "syn",
2598 | "wasm-bindgen-shared",
2599 | ]
2600 |
2601 | [[package]]
2602 | name = "wasm-bindgen-futures"
2603 | version = "0.4.49"
2604 | source = "registry+https://github.com/rust-lang/crates.io-index"
2605 | checksum = "38176d9b44ea84e9184eff0bc34cc167ed044f816accfe5922e54d84cf48eca2"
2606 | dependencies = [
2607 | "cfg-if",
2608 | "js-sys",
2609 | "once_cell",
2610 | "wasm-bindgen",
2611 | "web-sys",
2612 | ]
2613 |
2614 | [[package]]
2615 | name = "wasm-bindgen-macro"
2616 | version = "0.2.99"
2617 | source = "registry+https://github.com/rust-lang/crates.io-index"
2618 | checksum = "2cc6181fd9a7492eef6fef1f33961e3695e4579b9872a6f7c83aee556666d4fe"
2619 | dependencies = [
2620 | "quote",
2621 | "wasm-bindgen-macro-support",
2622 | ]
2623 |
2624 | [[package]]
2625 | name = "wasm-bindgen-macro-support"
2626 | version = "0.2.99"
2627 | source = "registry+https://github.com/rust-lang/crates.io-index"
2628 | checksum = "30d7a95b763d3c45903ed6c81f156801839e5ee968bb07e534c44df0fcd330c2"
2629 | dependencies = [
2630 | "proc-macro2",
2631 | "quote",
2632 | "syn",
2633 | "wasm-bindgen-backend",
2634 | "wasm-bindgen-shared",
2635 | ]
2636 |
2637 | [[package]]
2638 | name = "wasm-bindgen-shared"
2639 | version = "0.2.99"
2640 | source = "registry+https://github.com/rust-lang/crates.io-index"
2641 | checksum = "943aab3fdaaa029a6e0271b35ea10b72b943135afe9bffca82384098ad0e06a6"
2642 |
2643 | [[package]]
2644 | name = "wasm-timer"
2645 | version = "0.2.5"
2646 | source = "registry+https://github.com/rust-lang/crates.io-index"
2647 | checksum = "be0ecb0db480561e9a7642b5d3e4187c128914e58aa84330b9493e3eb68c5e7f"
2648 | dependencies = [
2649 | "futures",
2650 | "js-sys",
2651 | "parking_lot",
2652 | "pin-utils",
2653 | "wasm-bindgen",
2654 | "wasm-bindgen-futures",
2655 | "web-sys",
2656 | ]
2657 |
2658 | [[package]]
2659 | name = "web-sys"
2660 | version = "0.3.76"
2661 | source = "registry+https://github.com/rust-lang/crates.io-index"
2662 | checksum = "04dd7223427d52553d3702c004d3b2fe07c148165faa56313cb00211e31c12bc"
2663 | dependencies = [
2664 | "js-sys",
2665 | "wasm-bindgen",
2666 | ]
2667 |
2668 | [[package]]
2669 | name = "web-time"
2670 | version = "1.1.0"
2671 | source = "registry+https://github.com/rust-lang/crates.io-index"
2672 | checksum = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb"
2673 | dependencies = [
2674 | "js-sys",
2675 | "wasm-bindgen",
2676 | ]
2677 |
2678 | [[package]]
2679 | name = "webpki-roots"
2680 | version = "0.26.7"
2681 | source = "registry+https://github.com/rust-lang/crates.io-index"
2682 | checksum = "5d642ff16b7e79272ae451b7322067cdc17cadf68c23264be9d94a32319efe7e"
2683 | dependencies = [
2684 | "rustls-pki-types",
2685 | ]
2686 |
2687 | [[package]]
2688 | name = "which"
2689 | version = "4.4.2"
2690 | source = "registry+https://github.com/rust-lang/crates.io-index"
2691 | checksum = "87ba24419a2078cd2b0f2ede2691b6c66d8e47836da3b6db8265ebad47afbfc7"
2692 | dependencies = [
2693 | "either",
2694 | "home",
2695 | "once_cell",
2696 | "rustix",
2697 | ]
2698 |
2699 | [[package]]
2700 | name = "winapi"
2701 | version = "0.3.9"
2702 | source = "registry+https://github.com/rust-lang/crates.io-index"
2703 | checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
2704 | dependencies = [
2705 | "winapi-i686-pc-windows-gnu",
2706 | "winapi-x86_64-pc-windows-gnu",
2707 | ]
2708 |
2709 | [[package]]
2710 | name = "winapi-i686-pc-windows-gnu"
2711 | version = "0.4.0"
2712 | source = "registry+https://github.com/rust-lang/crates.io-index"
2713 | checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
2714 |
2715 | [[package]]
2716 | name = "winapi-x86_64-pc-windows-gnu"
2717 | version = "0.4.0"
2718 | source = "registry+https://github.com/rust-lang/crates.io-index"
2719 | checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
2720 |
2721 | [[package]]
2722 | name = "windows-registry"
2723 | version = "0.2.0"
2724 | source = "registry+https://github.com/rust-lang/crates.io-index"
2725 | checksum = "e400001bb720a623c1c69032f8e3e4cf09984deec740f007dd2b03ec864804b0"
2726 | dependencies = [
2727 | "windows-result",
2728 | "windows-strings",
2729 | "windows-targets 0.52.6",
2730 | ]
2731 |
2732 | [[package]]
2733 | name = "windows-result"
2734 | version = "0.2.0"
2735 | source = "registry+https://github.com/rust-lang/crates.io-index"
2736 | checksum = "1d1043d8214f791817bab27572aaa8af63732e11bf84aa21a45a78d6c317ae0e"
2737 | dependencies = [
2738 | "windows-targets 0.52.6",
2739 | ]
2740 |
2741 | [[package]]
2742 | name = "windows-strings"
2743 | version = "0.1.0"
2744 | source = "registry+https://github.com/rust-lang/crates.io-index"
2745 | checksum = "4cd9b125c486025df0eabcb585e62173c6c9eddcec5d117d3b6e8c30e2ee4d10"
2746 | dependencies = [
2747 | "windows-result",
2748 | "windows-targets 0.52.6",
2749 | ]
2750 |
2751 | [[package]]
2752 | name = "windows-sys"
2753 | version = "0.48.0"
2754 | source = "registry+https://github.com/rust-lang/crates.io-index"
2755 | checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9"
2756 | dependencies = [
2757 | "windows-targets 0.48.5",
2758 | ]
2759 |
2760 | [[package]]
2761 | name = "windows-sys"
2762 | version = "0.52.0"
2763 | source = "registry+https://github.com/rust-lang/crates.io-index"
2764 | checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
2765 | dependencies = [
2766 | "windows-targets 0.52.6",
2767 | ]
2768 |
2769 | [[package]]
2770 | name = "windows-sys"
2771 | version = "0.59.0"
2772 | source = "registry+https://github.com/rust-lang/crates.io-index"
2773 | checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
2774 | dependencies = [
2775 | "windows-targets 0.52.6",
2776 | ]
2777 |
2778 | [[package]]
2779 | name = "windows-targets"
2780 | version = "0.48.5"
2781 | source = "registry+https://github.com/rust-lang/crates.io-index"
2782 | checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c"
2783 | dependencies = [
2784 | "windows_aarch64_gnullvm 0.48.5",
2785 | "windows_aarch64_msvc 0.48.5",
2786 | "windows_i686_gnu 0.48.5",
2787 | "windows_i686_msvc 0.48.5",
2788 | "windows_x86_64_gnu 0.48.5",
2789 | "windows_x86_64_gnullvm 0.48.5",
2790 | "windows_x86_64_msvc 0.48.5",
2791 | ]
2792 |
2793 | [[package]]
2794 | name = "windows-targets"
2795 | version = "0.52.6"
2796 | source = "registry+https://github.com/rust-lang/crates.io-index"
2797 | checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
2798 | dependencies = [
2799 | "windows_aarch64_gnullvm 0.52.6",
2800 | "windows_aarch64_msvc 0.52.6",
2801 | "windows_i686_gnu 0.52.6",
2802 | "windows_i686_gnullvm",
2803 | "windows_i686_msvc 0.52.6",
2804 | "windows_x86_64_gnu 0.52.6",
2805 | "windows_x86_64_gnullvm 0.52.6",
2806 | "windows_x86_64_msvc 0.52.6",
2807 | ]
2808 |
2809 | [[package]]
2810 | name = "windows_aarch64_gnullvm"
2811 | version = "0.48.5"
2812 | source = "registry+https://github.com/rust-lang/crates.io-index"
2813 | checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"
2814 |
2815 | [[package]]
2816 | name = "windows_aarch64_gnullvm"
2817 | version = "0.52.6"
2818 | source = "registry+https://github.com/rust-lang/crates.io-index"
2819 | checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
2820 |
2821 | [[package]]
2822 | name = "windows_aarch64_msvc"
2823 | version = "0.48.5"
2824 | source = "registry+https://github.com/rust-lang/crates.io-index"
2825 | checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc"
2826 |
2827 | [[package]]
2828 | name = "windows_aarch64_msvc"
2829 | version = "0.52.6"
2830 | source = "registry+https://github.com/rust-lang/crates.io-index"
2831 | checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
2832 |
2833 | [[package]]
2834 | name = "windows_i686_gnu"
2835 | version = "0.48.5"
2836 | source = "registry+https://github.com/rust-lang/crates.io-index"
2837 | checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e"
2838 |
2839 | [[package]]
2840 | name = "windows_i686_gnu"
2841 | version = "0.52.6"
2842 | source = "registry+https://github.com/rust-lang/crates.io-index"
2843 | checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
2844 |
2845 | [[package]]
2846 | name = "windows_i686_gnullvm"
2847 | version = "0.52.6"
2848 | source = "registry+https://github.com/rust-lang/crates.io-index"
2849 | checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
2850 |
2851 | [[package]]
2852 | name = "windows_i686_msvc"
2853 | version = "0.48.5"
2854 | source = "registry+https://github.com/rust-lang/crates.io-index"
2855 | checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406"
2856 |
2857 | [[package]]
2858 | name = "windows_i686_msvc"
2859 | version = "0.52.6"
2860 | source = "registry+https://github.com/rust-lang/crates.io-index"
2861 | checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
2862 |
2863 | [[package]]
2864 | name = "windows_x86_64_gnu"
2865 | version = "0.48.5"
2866 | source = "registry+https://github.com/rust-lang/crates.io-index"
2867 | checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e"
2868 |
2869 | [[package]]
2870 | name = "windows_x86_64_gnu"
2871 | version = "0.52.6"
2872 | source = "registry+https://github.com/rust-lang/crates.io-index"
2873 | checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
2874 |
2875 | [[package]]
2876 | name = "windows_x86_64_gnullvm"
2877 | version = "0.48.5"
2878 | source = "registry+https://github.com/rust-lang/crates.io-index"
2879 | checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc"
2880 |
2881 | [[package]]
2882 | name = "windows_x86_64_gnullvm"
2883 | version = "0.52.6"
2884 | source = "registry+https://github.com/rust-lang/crates.io-index"
2885 | checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
2886 |
2887 | [[package]]
2888 | name = "windows_x86_64_msvc"
2889 | version = "0.48.5"
2890 | source = "registry+https://github.com/rust-lang/crates.io-index"
2891 | checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
2892 |
2893 | [[package]]
2894 | name = "windows_x86_64_msvc"
2895 | version = "0.52.6"
2896 | source = "registry+https://github.com/rust-lang/crates.io-index"
2897 | checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
2898 |
2899 | [[package]]
2900 | name = "winnow"
2901 | version = "0.6.24"
2902 | source = "registry+https://github.com/rust-lang/crates.io-index"
2903 | checksum = "c8d71a593cc5c42ad7876e2c1fda56f314f3754c084128833e64f1345ff8a03a"
2904 | dependencies = [
2905 | "memchr",
2906 | ]
2907 |
2908 | [[package]]
2909 | name = "write16"
2910 | version = "1.0.0"
2911 | source = "registry+https://github.com/rust-lang/crates.io-index"
2912 | checksum = "d1890f4022759daae28ed4fe62859b1236caebfc61ede2f63ed4e695f3f6d936"
2913 |
2914 | [[package]]
2915 | name = "writeable"
2916 | version = "0.5.5"
2917 | source = "registry+https://github.com/rust-lang/crates.io-index"
2918 | checksum = "1e9df38ee2d2c3c5948ea468a8406ff0db0b29ae1ffde1bcf20ef305bcc95c51"
2919 |
2920 | [[package]]
2921 | name = "yoke"
2922 | version = "0.7.5"
2923 | source = "registry+https://github.com/rust-lang/crates.io-index"
2924 | checksum = "120e6aef9aa629e3d4f52dc8cc43a015c7724194c97dfaf45180d2daf2b77f40"
2925 | dependencies = [
2926 | "serde",
2927 | "stable_deref_trait",
2928 | "yoke-derive",
2929 | "zerofrom",
2930 | ]
2931 |
2932 | [[package]]
2933 | name = "yoke-derive"
2934 | version = "0.7.5"
2935 | source = "registry+https://github.com/rust-lang/crates.io-index"
2936 | checksum = "2380878cad4ac9aac1e2435f3eb4020e8374b5f13c296cb75b4620ff8e229154"
2937 | dependencies = [
2938 | "proc-macro2",
2939 | "quote",
2940 | "syn",
2941 | "synstructure",
2942 | ]
2943 |
2944 | [[package]]
2945 | name = "zerocopy"
2946 | version = "0.7.35"
2947 | source = "registry+https://github.com/rust-lang/crates.io-index"
2948 | checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0"
2949 | dependencies = [
2950 | "byteorder",
2951 | "zerocopy-derive",
2952 | ]
2953 |
2954 | [[package]]
2955 | name = "zerocopy-derive"
2956 | version = "0.7.35"
2957 | source = "registry+https://github.com/rust-lang/crates.io-index"
2958 | checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e"
2959 | dependencies = [
2960 | "proc-macro2",
2961 | "quote",
2962 | "syn",
2963 | ]
2964 |
2965 | [[package]]
2966 | name = "zerofrom"
2967 | version = "0.1.5"
2968 | source = "registry+https://github.com/rust-lang/crates.io-index"
2969 | checksum = "cff3ee08c995dee1859d998dea82f7374f2826091dd9cd47def953cae446cd2e"
2970 | dependencies = [
2971 | "zerofrom-derive",
2972 | ]
2973 |
2974 | [[package]]
2975 | name = "zerofrom-derive"
2976 | version = "0.1.5"
2977 | source = "registry+https://github.com/rust-lang/crates.io-index"
2978 | checksum = "595eed982f7d355beb85837f651fa22e90b3c044842dc7f2c2842c086f295808"
2979 | dependencies = [
2980 | "proc-macro2",
2981 | "quote",
2982 | "syn",
2983 | "synstructure",
2984 | ]
2985 |
2986 | [[package]]
2987 | name = "zeroize"
2988 | version = "1.8.1"
2989 | source = "registry+https://github.com/rust-lang/crates.io-index"
2990 | checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde"
2991 |
2992 | [[package]]
2993 | name = "zerovec"
2994 | version = "0.10.4"
2995 | source = "registry+https://github.com/rust-lang/crates.io-index"
2996 | checksum = "aa2b893d79df23bfb12d5461018d408ea19dfafe76c2c7ef6d4eba614f8ff079"
2997 | dependencies = [
2998 | "yoke",
2999 | "zerofrom",
3000 | "zerovec-derive",
3001 | ]
3002 |
3003 | [[package]]
3004 | name = "zerovec-derive"
3005 | version = "0.10.3"
3006 | source = "registry+https://github.com/rust-lang/crates.io-index"
3007 | checksum = "6eafa6dfb17584ea3e2bd6e76e0cc15ad7af12b09abdd1ca55961bed9b1063c6"
3008 | dependencies = [
3009 | "proc-macro2",
3010 | "quote",
3011 | "syn",
3012 | ]
3013 |
--------------------------------------------------------------------------------
/Cargo.toml:
--------------------------------------------------------------------------------
1 | [package]
2 | name = "luminous-ttv"
3 | version = "0.5.8"
4 | authors = ["Malloc Voidstar <1284317+AlyoshaVasilieva@users.noreply.github.com>"]
5 | edition = "2021"
6 | repository = "https://github.com/AlyoshaVasilieva/luminous-ttv"
7 | license = "GPL-3.0-only"
8 | description = "Avoid Twitch ads by grabbing video playlists from Russia"
9 | readme = "README.md"
10 |
11 | [dependencies]
12 | anyhow = "1.0.43"
13 | clap = { version = "4.1", features = ["derive", "env"] }
14 | once_cell = "1.8"
15 | serde = { version = "1.0", features = ["derive"] }
16 | serde_json = "1.0.69"
17 | serde_urlencoded = "0.7.1"
18 | rand = "0.8.4"
19 | const_format = "0.2.18"
20 | url = "2.2.2"
21 | extend = "1.1.2"
22 | lazy-regex = { version = "3.0.2", default-features = false, features = ["std", "perf"], optional = true }
23 | cfg-if = "1.0"
24 | phf = { version = "0.11.2", features = ["macros"] }
25 | reqwest-middleware = { version = "0.4", features = ["json"] }
26 | reqwest-retry = "0.7"
27 |
28 | # Only used by Hola code:
29 | uuid = { version = "1.0", features = ["v4", "serde"], optional = true }
30 | confy = { version = "0.6.1", optional = true }
31 | isocountry = { version = "0.3.2", optional = true }
32 | serde-tuple-vec-map = { version = "1.0", optional = true }
33 |
34 | # Axum and related deps
35 | axum = { version = "0.8.1", features = ["http2", "json"] }
36 | axum-extra = { version = "0.10", default-features = false, features = ["typed-header"] }
37 | axum-server = "0.7.1"
38 | tokio = { version = "1.13", features = ["macros", "rt-multi-thread"] }
39 | tower = { version = "0.5.1", features = ["limit", "load-shed", "timeout", "util"] }
40 | tower-http = { version = "0.6", features = ["cors", "set-header"] }
41 | http = "1.1"
42 |
43 | tracing = { version = "0.1", features = ["release_max_level_debug"] } # disable trace in releases
44 | tracing-subscriber = "0.3"
45 |
46 | [dependencies.reqwest]
47 | version = "0.12.4"
48 | default-features = false
49 | features = ["rustls-tls", "http2", "gzip", "brotli", "socks", "json"]
50 |
51 | [target.'cfg(windows)'.dependencies]
52 | nu-ansi-term = "0.50"
53 |
54 | [features]
55 | default = ["hola"]
56 | hola = ["confy", "isocountry", "serde-tuple-vec-map", "uuid"]
57 | gzip = ["tower-http/compression-gzip"] # compress responses
58 | # Note: zstd seems to have browser support now (use level 1 or 2).
59 | # Investigate shared dictionaries. Not sure if they're usable yet, but they'd save ~30% per M3U.
60 | tls = ["axum-server/tls-rustls"] # support listening as HTTPS, without needing a reverse proxy
61 | true-status = [] # extended status endpoint that simulates a user's request flow
62 | redact-ip = ["lazy-regex"] # try to hide server IP in responses (no guarantees)
63 |
64 | [profile.release]
65 | codegen-units = 1
66 | lto = true
67 |
68 | # for `cargo deb`
69 | [package.metadata.deb]
70 | license-file = ["LICENSE-GPL.txt", "0"]
71 | maintainer-scripts = "debian/maint-scripts" # empty, see cargo-deb docs
72 | systemd-units = { enable = false, unit-scripts = "debian" }
73 | default-features = false
74 | features = ["gzip", "tls", "true-status", "redact-ip", "reqwest/hickory-dns"]
75 | # reqwest/hickory-dns is set in case it's running on musl with a broken DNS implementation
76 |
--------------------------------------------------------------------------------
/LICENSE-GPL.txt:
--------------------------------------------------------------------------------
1 | GNU GENERAL PUBLIC LICENSE
2 | Version 3, 29 June 2007
3 |
4 | Copyright (C) 2007 Free Software Foundation, Inc.
5 | Everyone is permitted to copy and distribute verbatim copies
6 | of this license document, but changing it is not allowed.
7 |
8 | Preamble
9 |
10 | The GNU General Public License is a free, copyleft license for
11 | software and other kinds of works.
12 |
13 | The licenses for most software and other practical works are designed
14 | to take away your freedom to share and change the works. By contrast,
15 | the GNU General Public License is intended to guarantee your freedom to
16 | share and change all versions of a program--to make sure it remains free
17 | software for all its users. We, the Free Software Foundation, use the
18 | GNU General Public License for most of our software; it applies also to
19 | any other work released this way by its authors. You can apply it to
20 | your programs, too.
21 |
22 | When we speak of free software, we are referring to freedom, not
23 | price. Our General Public Licenses are designed to make sure that you
24 | have the freedom to distribute copies of free software (and charge for
25 | them if you wish), that you receive source code or can get it if you
26 | want it, that you can change the software or use pieces of it in new
27 | free programs, and that you know you can do these things.
28 |
29 | To protect your rights, we need to prevent others from denying you
30 | these rights or asking you to surrender the rights. Therefore, you have
31 | certain responsibilities if you distribute copies of the software, or if
32 | you modify it: responsibilities to respect the freedom of others.
33 |
34 | For example, if you distribute copies of such a program, whether
35 | gratis or for a fee, you must pass on to the recipients the same
36 | freedoms that you received. You must make sure that they, too, receive
37 | or can get the source code. And you must show them these terms so they
38 | know their rights.
39 |
40 | Developers that use the GNU GPL protect your rights with two steps:
41 | (1) assert copyright on the software, and (2) offer you this License
42 | giving you legal permission to copy, distribute and/or modify it.
43 |
44 | For the developers' and authors' protection, the GPL clearly explains
45 | that there is no warranty for this free software. For both users' and
46 | authors' sake, the GPL requires that modified versions be marked as
47 | changed, so that their problems will not be attributed erroneously to
48 | authors of previous versions.
49 |
50 | Some devices are designed to deny users access to install or run
51 | modified versions of the software inside them, although the manufacturer
52 | can do so. This is fundamentally incompatible with the aim of
53 | protecting users' freedom to change the software. The systematic
54 | pattern of such abuse occurs in the area of products for individuals to
55 | use, which is precisely where it is most unacceptable. Therefore, we
56 | have designed this version of the GPL to prohibit the practice for those
57 | products. If such problems arise substantially in other domains, we
58 | stand ready to extend this provision to those domains in future versions
59 | of the GPL, as needed to protect the freedom of users.
60 |
61 | Finally, every program is threatened constantly by software patents.
62 | States should not allow patents to restrict development and use of
63 | software on general-purpose computers, but in those that do, we wish to
64 | avoid the special danger that patents applied to a free program could
65 | make it effectively proprietary. To prevent this, the GPL assures that
66 | patents cannot be used to render the program non-free.
67 |
68 | The precise terms and conditions for copying, distribution and
69 | modification follow.
70 |
71 | TERMS AND CONDITIONS
72 |
73 | 0. Definitions.
74 |
75 | "This License" refers to version 3 of the GNU General Public License.
76 |
77 | "Copyright" also means copyright-like laws that apply to other kinds of
78 | works, such as semiconductor masks.
79 |
80 | "The Program" refers to any copyrightable work licensed under this
81 | License. Each licensee is addressed as "you". "Licensees" and
82 | "recipients" may be individuals or organizations.
83 |
84 | To "modify" a work means to copy from or adapt all or part of the work
85 | in a fashion requiring copyright permission, other than the making of an
86 | exact copy. The resulting work is called a "modified version" of the
87 | earlier work or a work "based on" the earlier work.
88 |
89 | A "covered work" means either the unmodified Program or a work based
90 | on the Program.
91 |
92 | To "propagate" a work means to do anything with it that, without
93 | permission, would make you directly or secondarily liable for
94 | infringement under applicable copyright law, except executing it on a
95 | computer or modifying a private copy. Propagation includes copying,
96 | distribution (with or without modification), making available to the
97 | public, and in some countries other activities as well.
98 |
99 | To "convey" a work means any kind of propagation that enables other
100 | parties to make or receive copies. Mere interaction with a user through
101 | a computer network, with no transfer of a copy, is not conveying.
102 |
103 | An interactive user interface displays "Appropriate Legal Notices"
104 | to the extent that it includes a convenient and prominently visible
105 | feature that (1) displays an appropriate copyright notice, and (2)
106 | tells the user that there is no warranty for the work (except to the
107 | extent that warranties are provided), that licensees may convey the
108 | work under this License, and how to view a copy of this License. If
109 | the interface presents a list of user commands or options, such as a
110 | menu, a prominent item in the list meets this criterion.
111 |
112 | 1. Source Code.
113 |
114 | The "source code" for a work means the preferred form of the work
115 | for making modifications to it. "Object code" means any non-source
116 | form of a work.
117 |
118 | A "Standard Interface" means an interface that either is an official
119 | standard defined by a recognized standards body, or, in the case of
120 | interfaces specified for a particular programming language, one that
121 | is widely used among developers working in that language.
122 |
123 | The "System Libraries" of an executable work include anything, other
124 | than the work as a whole, that (a) is included in the normal form of
125 | packaging a Major Component, but which is not part of that Major
126 | Component, and (b) serves only to enable use of the work with that
127 | Major Component, or to implement a Standard Interface for which an
128 | implementation is available to the public in source code form. A
129 | "Major Component", in this context, means a major essential component
130 | (kernel, window system, and so on) of the specific operating system
131 | (if any) on which the executable work runs, or a compiler used to
132 | produce the work, or an object code interpreter used to run it.
133 |
134 | The "Corresponding Source" for a work in object code form means all
135 | the source code needed to generate, install, and (for an executable
136 | work) run the object code and to modify the work, including scripts to
137 | control those activities. However, it does not include the work's
138 | System Libraries, or general-purpose tools or generally available free
139 | programs which are used unmodified in performing those activities but
140 | which are not part of the work. For example, Corresponding Source
141 | includes interface definition files associated with source files for
142 | the work, and the source code for shared libraries and dynamically
143 | linked subprograms that the work is specifically designed to require,
144 | such as by intimate data communication or control flow between those
145 | subprograms and other parts of the work.
146 |
147 | The Corresponding Source need not include anything that users
148 | can regenerate automatically from other parts of the Corresponding
149 | Source.
150 |
151 | The Corresponding Source for a work in source code form is that
152 | same work.
153 |
154 | 2. Basic Permissions.
155 |
156 | All rights granted under this License are granted for the term of
157 | copyright on the Program, and are irrevocable provided the stated
158 | conditions are met. This License explicitly affirms your unlimited
159 | permission to run the unmodified Program. The output from running a
160 | covered work is covered by this License only if the output, given its
161 | content, constitutes a covered work. This License acknowledges your
162 | rights of fair use or other equivalent, as provided by copyright law.
163 |
164 | You may make, run and propagate covered works that you do not
165 | convey, without conditions so long as your license otherwise remains
166 | in force. You may convey covered works to others for the sole purpose
167 | of having them make modifications exclusively for you, or provide you
168 | with facilities for running those works, provided that you comply with
169 | the terms of this License in conveying all material for which you do
170 | not control copyright. Those thus making or running the covered works
171 | for you must do so exclusively on your behalf, under your direction
172 | and control, on terms that prohibit them from making any copies of
173 | your copyrighted material outside their relationship with you.
174 |
175 | Conveying under any other circumstances is permitted solely under
176 | the conditions stated below. Sublicensing is not allowed; section 10
177 | makes it unnecessary.
178 |
179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
180 |
181 | No covered work shall be deemed part of an effective technological
182 | measure under any applicable law fulfilling obligations under article
183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or
184 | similar laws prohibiting or restricting circumvention of such
185 | measures.
186 |
187 | When you convey a covered work, you waive any legal power to forbid
188 | circumvention of technological measures to the extent such circumvention
189 | is effected by exercising rights under this License with respect to
190 | the covered work, and you disclaim any intention to limit operation or
191 | modification of the work as a means of enforcing, against the work's
192 | users, your or third parties' legal rights to forbid circumvention of
193 | technological measures.
194 |
195 | 4. Conveying Verbatim Copies.
196 |
197 | You may convey verbatim copies of the Program's source code as you
198 | receive it, in any medium, provided that you conspicuously and
199 | appropriately publish on each copy an appropriate copyright notice;
200 | keep intact all notices stating that this License and any
201 | non-permissive terms added in accord with section 7 apply to the code;
202 | keep intact all notices of the absence of any warranty; and give all
203 | recipients a copy of this License along with the Program.
204 |
205 | You may charge any price or no price for each copy that you convey,
206 | and you may offer support or warranty protection for a fee.
207 |
208 | 5. Conveying Modified Source Versions.
209 |
210 | You may convey a work based on the Program, or the modifications to
211 | produce it from the Program, in the form of source code under the
212 | terms of section 4, provided that you also meet all of these conditions:
213 |
214 | a) The work must carry prominent notices stating that you modified
215 | it, and giving a relevant date.
216 |
217 | b) The work must carry prominent notices stating that it is
218 | released under this License and any conditions added under section
219 | 7. This requirement modifies the requirement in section 4 to
220 | "keep intact all notices".
221 |
222 | c) You must license the entire work, as a whole, under this
223 | License to anyone who comes into possession of a copy. This
224 | License will therefore apply, along with any applicable section 7
225 | additional terms, to the whole of the work, and all its parts,
226 | regardless of how they are packaged. This License gives no
227 | permission to license the work in any other way, but it does not
228 | invalidate such permission if you have separately received it.
229 |
230 | d) If the work has interactive user interfaces, each must display
231 | Appropriate Legal Notices; however, if the Program has interactive
232 | interfaces that do not display Appropriate Legal Notices, your
233 | work need not make them do so.
234 |
235 | A compilation of a covered work with other separate and independent
236 | works, which are not by their nature extensions of the covered work,
237 | and which are not combined with it such as to form a larger program,
238 | in or on a volume of a storage or distribution medium, is called an
239 | "aggregate" if the compilation and its resulting copyright are not
240 | used to limit the access or legal rights of the compilation's users
241 | beyond what the individual works permit. Inclusion of a covered work
242 | in an aggregate does not cause this License to apply to the other
243 | parts of the aggregate.
244 |
245 | 6. Conveying Non-Source Forms.
246 |
247 | You may convey a covered work in object code form under the terms
248 | of sections 4 and 5, provided that you also convey the
249 | machine-readable Corresponding Source under the terms of this License,
250 | in one of these ways:
251 |
252 | a) Convey the object code in, or embodied in, a physical product
253 | (including a physical distribution medium), accompanied by the
254 | Corresponding Source fixed on a durable physical medium
255 | customarily used for software interchange.
256 |
257 | b) Convey the object code in, or embodied in, a physical product
258 | (including a physical distribution medium), accompanied by a
259 | written offer, valid for at least three years and valid for as
260 | long as you offer spare parts or customer support for that product
261 | model, to give anyone who possesses the object code either (1) a
262 | copy of the Corresponding Source for all the software in the
263 | product that is covered by this License, on a durable physical
264 | medium customarily used for software interchange, for a price no
265 | more than your reasonable cost of physically performing this
266 | conveying of source, or (2) access to copy the
267 | Corresponding Source from a network server at no charge.
268 |
269 | c) Convey individual copies of the object code with a copy of the
270 | written offer to provide the Corresponding Source. This
271 | alternative is allowed only occasionally and noncommercially, and
272 | only if you received the object code with such an offer, in accord
273 | with subsection 6b.
274 |
275 | d) Convey the object code by offering access from a designated
276 | place (gratis or for a charge), and offer equivalent access to the
277 | Corresponding Source in the same way through the same place at no
278 | further charge. You need not require recipients to copy the
279 | Corresponding Source along with the object code. If the place to
280 | copy the object code is a network server, the Corresponding Source
281 | may be on a different server (operated by you or a third party)
282 | that supports equivalent copying facilities, provided you maintain
283 | clear directions next to the object code saying where to find the
284 | Corresponding Source. Regardless of what server hosts the
285 | Corresponding Source, you remain obligated to ensure that it is
286 | available for as long as needed to satisfy these requirements.
287 |
288 | e) Convey the object code using peer-to-peer transmission, provided
289 | you inform other peers where the object code and Corresponding
290 | Source of the work are being offered to the general public at no
291 | charge under subsection 6d.
292 |
293 | A separable portion of the object code, whose source code is excluded
294 | from the Corresponding Source as a System Library, need not be
295 | included in conveying the object code work.
296 |
297 | A "User Product" is either (1) a "consumer product", which means any
298 | tangible personal property which is normally used for personal, family,
299 | or household purposes, or (2) anything designed or sold for incorporation
300 | into a dwelling. In determining whether a product is a consumer product,
301 | doubtful cases shall be resolved in favor of coverage. For a particular
302 | product received by a particular user, "normally used" refers to a
303 | typical or common use of that class of product, regardless of the status
304 | of the particular user or of the way in which the particular user
305 | actually uses, or expects or is expected to use, the product. A product
306 | is a consumer product regardless of whether the product has substantial
307 | commercial, industrial or non-consumer uses, unless such uses represent
308 | the only significant mode of use of the product.
309 |
310 | "Installation Information" for a User Product means any methods,
311 | procedures, authorization keys, or other information required to install
312 | and execute modified versions of a covered work in that User Product from
313 | a modified version of its Corresponding Source. The information must
314 | suffice to ensure that the continued functioning of the modified object
315 | code is in no case prevented or interfered with solely because
316 | modification has been made.
317 |
318 | If you convey an object code work under this section in, or with, or
319 | specifically for use in, a User Product, and the conveying occurs as
320 | part of a transaction in which the right of possession and use of the
321 | User Product is transferred to the recipient in perpetuity or for a
322 | fixed term (regardless of how the transaction is characterized), the
323 | Corresponding Source conveyed under this section must be accompanied
324 | by the Installation Information. But this requirement does not apply
325 | if neither you nor any third party retains the ability to install
326 | modified object code on the User Product (for example, the work has
327 | been installed in ROM).
328 |
329 | The requirement to provide Installation Information does not include a
330 | requirement to continue to provide support service, warranty, or updates
331 | for a work that has been modified or installed by the recipient, or for
332 | the User Product in which it has been modified or installed. Access to a
333 | network may be denied when the modification itself materially and
334 | adversely affects the operation of the network or violates the rules and
335 | protocols for communication across the network.
336 |
337 | Corresponding Source conveyed, and Installation Information provided,
338 | in accord with this section must be in a format that is publicly
339 | documented (and with an implementation available to the public in
340 | source code form), and must require no special password or key for
341 | unpacking, reading or copying.
342 |
343 | 7. Additional Terms.
344 |
345 | "Additional permissions" are terms that supplement the terms of this
346 | License by making exceptions from one or more of its conditions.
347 | Additional permissions that are applicable to the entire Program shall
348 | be treated as though they were included in this License, to the extent
349 | that they are valid under applicable law. If additional permissions
350 | apply only to part of the Program, that part may be used separately
351 | under those permissions, but the entire Program remains governed by
352 | this License without regard to the additional permissions.
353 |
354 | When you convey a copy of a covered work, you may at your option
355 | remove any additional permissions from that copy, or from any part of
356 | it. (Additional permissions may be written to require their own
357 | removal in certain cases when you modify the work.) You may place
358 | additional permissions on material, added by you to a covered work,
359 | for which you have or can give appropriate copyright permission.
360 |
361 | Notwithstanding any other provision of this License, for material you
362 | add to a covered work, you may (if authorized by the copyright holders of
363 | that material) supplement the terms of this License with terms:
364 |
365 | a) Disclaiming warranty or limiting liability differently from the
366 | terms of sections 15 and 16 of this License; or
367 |
368 | b) Requiring preservation of specified reasonable legal notices or
369 | author attributions in that material or in the Appropriate Legal
370 | Notices displayed by works containing it; or
371 |
372 | c) Prohibiting misrepresentation of the origin of that material, or
373 | requiring that modified versions of such material be marked in
374 | reasonable ways as different from the original version; or
375 |
376 | d) Limiting the use for publicity purposes of names of licensors or
377 | authors of the material; or
378 |
379 | e) Declining to grant rights under trademark law for use of some
380 | trade names, trademarks, or service marks; or
381 |
382 | f) Requiring indemnification of licensors and authors of that
383 | material by anyone who conveys the material (or modified versions of
384 | it) with contractual assumptions of liability to the recipient, for
385 | any liability that these contractual assumptions directly impose on
386 | those licensors and authors.
387 |
388 | All other non-permissive additional terms are considered "further
389 | restrictions" within the meaning of section 10. If the Program as you
390 | received it, or any part of it, contains a notice stating that it is
391 | governed by this License along with a term that is a further
392 | restriction, you may remove that term. If a license document contains
393 | a further restriction but permits relicensing or conveying under this
394 | License, you may add to a covered work material governed by the terms
395 | of that license document, provided that the further restriction does
396 | not survive such relicensing or conveying.
397 |
398 | If you add terms to a covered work in accord with this section, you
399 | must place, in the relevant source files, a statement of the
400 | additional terms that apply to those files, or a notice indicating
401 | where to find the applicable terms.
402 |
403 | Additional terms, permissive or non-permissive, may be stated in the
404 | form of a separately written license, or stated as exceptions;
405 | the above requirements apply either way.
406 |
407 | 8. Termination.
408 |
409 | You may not propagate or modify a covered work except as expressly
410 | provided under this License. Any attempt otherwise to propagate or
411 | modify it is void, and will automatically terminate your rights under
412 | this License (including any patent licenses granted under the third
413 | paragraph of section 11).
414 |
415 | However, if you cease all violation of this License, then your
416 | license from a particular copyright holder is reinstated (a)
417 | provisionally, unless and until the copyright holder explicitly and
418 | finally terminates your license, and (b) permanently, if the copyright
419 | holder fails to notify you of the violation by some reasonable means
420 | prior to 60 days after the cessation.
421 |
422 | Moreover, your license from a particular copyright holder is
423 | reinstated permanently if the copyright holder notifies you of the
424 | violation by some reasonable means, this is the first time you have
425 | received notice of violation of this License (for any work) from that
426 | copyright holder, and you cure the violation prior to 30 days after
427 | your receipt of the notice.
428 |
429 | Termination of your rights under this section does not terminate the
430 | licenses of parties who have received copies or rights from you under
431 | this License. If your rights have been terminated and not permanently
432 | reinstated, you do not qualify to receive new licenses for the same
433 | material under section 10.
434 |
435 | 9. Acceptance Not Required for Having Copies.
436 |
437 | You are not required to accept this License in order to receive or
438 | run a copy of the Program. Ancillary propagation of a covered work
439 | occurring solely as a consequence of using peer-to-peer transmission
440 | to receive a copy likewise does not require acceptance. However,
441 | nothing other than this License grants you permission to propagate or
442 | modify any covered work. These actions infringe copyright if you do
443 | not accept this License. Therefore, by modifying or propagating a
444 | covered work, you indicate your acceptance of this License to do so.
445 |
446 | 10. Automatic Licensing of Downstream Recipients.
447 |
448 | Each time you convey a covered work, the recipient automatically
449 | receives a license from the original licensors, to run, modify and
450 | propagate that work, subject to this License. You are not responsible
451 | for enforcing compliance by third parties with this License.
452 |
453 | An "entity transaction" is a transaction transferring control of an
454 | organization, or substantially all assets of one, or subdividing an
455 | organization, or merging organizations. If propagation of a covered
456 | work results from an entity transaction, each party to that
457 | transaction who receives a copy of the work also receives whatever
458 | licenses to the work the party's predecessor in interest had or could
459 | give under the previous paragraph, plus a right to possession of the
460 | Corresponding Source of the work from the predecessor in interest, if
461 | the predecessor has it or can get it with reasonable efforts.
462 |
463 | You may not impose any further restrictions on the exercise of the
464 | rights granted or affirmed under this License. For example, you may
465 | not impose a license fee, royalty, or other charge for exercise of
466 | rights granted under this License, and you may not initiate litigation
467 | (including a cross-claim or counterclaim in a lawsuit) alleging that
468 | any patent claim is infringed by making, using, selling, offering for
469 | sale, or importing the Program or any portion of it.
470 |
471 | 11. Patents.
472 |
473 | A "contributor" is a copyright holder who authorizes use under this
474 | License of the Program or a work on which the Program is based. The
475 | work thus licensed is called the contributor's "contributor version".
476 |
477 | A contributor's "essential patent claims" are all patent claims
478 | owned or controlled by the contributor, whether already acquired or
479 | hereafter acquired, that would be infringed by some manner, permitted
480 | by this License, of making, using, or selling its contributor version,
481 | but do not include claims that would be infringed only as a
482 | consequence of further modification of the contributor version. For
483 | purposes of this definition, "control" includes the right to grant
484 | patent sublicenses in a manner consistent with the requirements of
485 | this License.
486 |
487 | Each contributor grants you a non-exclusive, worldwide, royalty-free
488 | patent license under the contributor's essential patent claims, to
489 | make, use, sell, offer for sale, import and otherwise run, modify and
490 | propagate the contents of its contributor version.
491 |
492 | In the following three paragraphs, a "patent license" is any express
493 | agreement or commitment, however denominated, not to enforce a patent
494 | (such as an express permission to practice a patent or covenant not to
495 | sue for patent infringement). To "grant" such a patent license to a
496 | party means to make such an agreement or commitment not to enforce a
497 | patent against the party.
498 |
499 | If you convey a covered work, knowingly relying on a patent license,
500 | and the Corresponding Source of the work is not available for anyone
501 | to copy, free of charge and under the terms of this License, through a
502 | publicly available network server or other readily accessible means,
503 | then you must either (1) cause the Corresponding Source to be so
504 | available, or (2) arrange to deprive yourself of the benefit of the
505 | patent license for this particular work, or (3) arrange, in a manner
506 | consistent with the requirements of this License, to extend the patent
507 | license to downstream recipients. "Knowingly relying" means you have
508 | actual knowledge that, but for the patent license, your conveying the
509 | covered work in a country, or your recipient's use of the covered work
510 | in a country, would infringe one or more identifiable patents in that
511 | country that you have reason to believe are valid.
512 |
513 | If, pursuant to or in connection with a single transaction or
514 | arrangement, you convey, or propagate by procuring conveyance of, a
515 | covered work, and grant a patent license to some of the parties
516 | receiving the covered work authorizing them to use, propagate, modify
517 | or convey a specific copy of the covered work, then the patent license
518 | you grant is automatically extended to all recipients of the covered
519 | work and works based on it.
520 |
521 | A patent license is "discriminatory" if it does not include within
522 | the scope of its coverage, prohibits the exercise of, or is
523 | conditioned on the non-exercise of one or more of the rights that are
524 | specifically granted under this License. You may not convey a covered
525 | work if you are a party to an arrangement with a third party that is
526 | in the business of distributing software, under which you make payment
527 | to the third party based on the extent of your activity of conveying
528 | the work, and under which the third party grants, to any of the
529 | parties who would receive the covered work from you, a discriminatory
530 | patent license (a) in connection with copies of the covered work
531 | conveyed by you (or copies made from those copies), or (b) primarily
532 | for and in connection with specific products or compilations that
533 | contain the covered work, unless you entered into that arrangement,
534 | or that patent license was granted, prior to 28 March 2007.
535 |
536 | Nothing in this License shall be construed as excluding or limiting
537 | any implied license or other defenses to infringement that may
538 | otherwise be available to you under applicable patent law.
539 |
540 | 12. No Surrender of Others' Freedom.
541 |
542 | If conditions are imposed on you (whether by court order, agreement or
543 | otherwise) that contradict the conditions of this License, they do not
544 | excuse you from the conditions of this License. If you cannot convey a
545 | covered work so as to satisfy simultaneously your obligations under this
546 | License and any other pertinent obligations, then as a consequence you may
547 | not convey it at all. For example, if you agree to terms that obligate you
548 | to collect a royalty for further conveying from those to whom you convey
549 | the Program, the only way you could satisfy both those terms and this
550 | License would be to refrain entirely from conveying the Program.
551 |
552 | 13. Use with the GNU Affero General Public License.
553 |
554 | Notwithstanding any other provision of this License, you have
555 | permission to link or combine any covered work with a work licensed
556 | under version 3 of the GNU Affero General Public License into a single
557 | combined work, and to convey the resulting work. The terms of this
558 | License will continue to apply to the part which is the covered work,
559 | but the special requirements of the GNU Affero General Public License,
560 | section 13, concerning interaction through a network will apply to the
561 | combination as such.
562 |
563 | 14. Revised Versions of this License.
564 |
565 | The Free Software Foundation may publish revised and/or new versions of
566 | the GNU General Public License from time to time. Such new versions will
567 | be similar in spirit to the present version, but may differ in detail to
568 | address new problems or concerns.
569 |
570 | Each version is given a distinguishing version number. If the
571 | Program specifies that a certain numbered version of the GNU General
572 | Public License "or any later version" applies to it, you have the
573 | option of following the terms and conditions either of that numbered
574 | version or of any later version published by the Free Software
575 | Foundation. If the Program does not specify a version number of the
576 | GNU General Public License, you may choose any version ever published
577 | by the Free Software Foundation.
578 |
579 | If the Program specifies that a proxy can decide which future
580 | versions of the GNU General Public License can be used, that proxy's
581 | public statement of acceptance of a version permanently authorizes you
582 | to choose that version for the Program.
583 |
584 | Later license versions may give you additional or different
585 | permissions. However, no additional obligations are imposed on any
586 | author or copyright holder as a result of your choosing to follow a
587 | later version.
588 |
589 | 15. Disclaimer of Warranty.
590 |
591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
599 |
600 | 16. Limitation of Liability.
601 |
602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
610 | SUCH DAMAGES.
611 |
612 | 17. Interpretation of Sections 15 and 16.
613 |
614 | If the disclaimer of warranty and limitation of liability provided
615 | above cannot be given local legal effect according to their terms,
616 | reviewing courts shall apply local law that most closely approximates
617 | an absolute waiver of all civil liability in connection with the
618 | Program, unless a warranty or assumption of liability accompanies a
619 | copy of the Program in return for a fee.
620 |
621 | END OF TERMS AND CONDITIONS
622 |
623 | How to Apply These Terms to Your New Programs
624 |
625 | If you develop a new program, and you want it to be of the greatest
626 | possible use to the public, the best way to achieve this is to make it
627 | free software which everyone can redistribute and change under these terms.
628 |
629 | To do so, attach the following notices to the program. It is safest
630 | to attach them to the start of each source file to most effectively
631 | state the exclusion of warranty; and each file should have at least
632 | the "copyright" line and a pointer to where the full notice is found.
633 |
634 |
635 | Copyright (C)
636 |
637 | This program is free software: you can redistribute it and/or modify
638 | it under the terms of the GNU General Public License as published by
639 | the Free Software Foundation, either version 3 of the License, or
640 | (at your option) any later version.
641 |
642 | This program is distributed in the hope that it will be useful,
643 | but WITHOUT ANY WARRANTY; without even the implied warranty of
644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
645 | GNU General Public License for more details.
646 |
647 | You should have received a copy of the GNU General Public License
648 | along with this program. If not, see .
649 |
650 | Also add information on how to contact you by electronic and paper mail.
651 |
652 | If the program does terminal interaction, make it output a short
653 | notice like this when it starts in an interactive mode:
654 |
655 | Copyright (C)
656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
657 | This is free software, and you are welcome to redistribute it
658 | under certain conditions; type `show c' for details.
659 |
660 | The hypothetical commands `show w' and `show c' should show the appropriate
661 | parts of the General Public License. Of course, your program's commands
662 | might be different; for a GUI interface, you would use an "about box".
663 |
664 | You should also get your employer (if you work as a programmer) or school,
665 | if any, to sign a "copyright disclaimer" for the program, if necessary.
666 | For more information on this, and how to apply and follow the GNU GPL, see
667 | .
668 |
669 | The GNU General Public License does not permit incorporating your program
670 | into proprietary programs. If your program is a subroutine library, you
671 | may consider it more useful to permit linking proprietary applications with
672 | the library. If this is what you want to do, use the GNU Lesser General
673 | Public License instead of this License. But first, please read
674 | .
675 |
--------------------------------------------------------------------------------
/LICENSE-MIT.txt:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2020 Snawoot
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | ## Status: Uncertain
2 |
3 | It was broken for a while due to Twitch's integrity check, rolled out then reverted May 31st/June 1st 2023.
4 |
5 | ## Luminous TTV
6 | A [Rust][rust] server to retrieve and relay a playlist for Twitch livestreams/VODs.
7 |
8 | By running this server, and using [a browser extension][ext] to relay certain requests to it, Twitch will not
9 | display any ads.
10 |
11 | [rust]: https://www.rust-lang.org
12 |
13 | ### How it works
14 |
15 | 1. Server connects to the [Hola] network and gets a Russian proxy
16 | 2. Extension redirects video playlist requests to server
17 | 3. Server requests a playlist access token, and then the playlist,
18 | using the Russian proxy.
19 |
20 | Twitch does not currently serve any livestream ads to users in Russia,
21 | so this results in an ad-free viewing experience. (Use uBlock Origin, too.)
22 |
23 | * This server doesn't use your actual Twitch ID, it generates its own.
24 | * You will not be acting as a peer of the Hola network.
25 |
26 | [hola]: https://en.wikipedia.org/wiki/Hola_(VPN)
27 |
28 | ### Setup
29 |
30 | 1. [Download a pre-built release][release].
31 | 2. Unzip it anywhere and run `luminous-ttv`
32 |
33 | You'll also need to add [the browser extension][ext] to your browser so that
34 | requests get routed.
35 |
36 | ### Building
37 |
38 | 1. [Install Rust](https://rustup.rs/).
39 | 2. Run `cargo install --locked --git https://github.com/AlyoshaVasilieva/luminous-ttv.git`
40 | to install, or clone the repository and run `cargo build --release`
41 |
42 | [ext]: https://github.com/AlyoshaVasilieva/luminous-ttv-ext
43 | [release]: https://github.com/AlyoshaVasilieva/luminous-ttv/releases/latest
44 |
45 | ### Issues
46 |
47 | * Loading streams takes longer, up to around 10 seconds. (This doesn't affect
48 | the latency.)
49 | * In Firefox, and browsers built using its code, the extension's error fallback code
50 | can't be used. If this program isn't running you won't be able to view any streams
51 | on Twitch. (In Chrome-like browsers, the extension will fall back to the
52 | ad-filled stream when anything goes wrong.)
53 |
54 | ### Possible issues
55 |
56 | 1. Hola might ban you, which will make this stop working unless you have
57 | your own proxy to use.
58 | 2. Hola might stop running servers in Russia; same effect as above.
59 | 3. Twitch might start serving ads to users in Russia (or everywhere).
60 | 4. This will cause you to load the video from Europe (Sweden for me) which may
61 | cause buffering issues if your internet isn't that good and that's far away.
62 | It doesn't cause an issue for me beyond maybe 1 second of additional latency
63 | due to repeatedly crossing an ocean.
64 |
65 | ### Alternate proxies
66 |
67 | This program also supports using custom proxies using the `--proxy` option.
68 | Proxies must be located in a country where Twitch does not serve ads.
69 |
70 | Countries where Twitch does not serve ads, according to brief testing (Sep 2021):
71 |
72 | * Afghanistan
73 | * Bangladesh
74 | * Cambodia
75 | * China (GFW blocks Twitch and this program does not attempt to evade it)
76 | * Iran
77 | * Iraq
78 | * Israel
79 | * Palestine
80 | * Russia
81 | * Saudi Arabia
82 | * Syria
83 | * Thailand
84 | * Turkey
85 | * Ukraine
86 | * United Arab Emirates
87 |
88 | This list likely varies over time.
89 |
90 | ### License
91 |
92 | GNU GPLv3 as a whole. The file `hello.rs` is available under the MIT license, as it
93 | is a partial port of an [MIT-licensed project](https://github.com/Snawoot/hola-proxy).
94 |
--------------------------------------------------------------------------------
/debian/luminous-ttv.service:
--------------------------------------------------------------------------------
1 | [Unit]
2 | Description=Luminous TTV
3 | After=network.target
4 | StartLimitIntervalSec=0
5 |
6 | # Use `systemctl edit luminous-ttv` to setup the server.
7 | # For example, to set it up to use a specified proxy:
8 | #[Service]
9 | #Environment="LUMINOUS_TTV_ADDR=127.0.0.1"
10 | #Environment="LUMINOUS_TTV_PORT=9595"
11 | #Environment="LUMINOUS_TTV_PROXY=http://1.2.3.4:5"
12 | #Environment="LUMINOUS_TTV_STATUS_SECRET=somerandomvalue"
13 |
14 | [Service]
15 | Type=simple
16 | Restart=always
17 | RestartSec=1
18 | DynamicUser=yes
19 | LimitNOFILE=80000
20 | ExecStart=/usr/bin/luminous-ttv
21 | AmbientCapabilities=CAP_NET_BIND_SERVICE
22 |
23 | [Install]
24 | WantedBy=multi-user.target
25 |
--------------------------------------------------------------------------------
/debian/maint-scripts/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AlyoshaVasilieva/luminous-ttv/6e406005684ea86e4799fb65bf6fdccccc799b30/debian/maint-scripts/.gitkeep
--------------------------------------------------------------------------------
/rustfmt.toml:
--------------------------------------------------------------------------------
1 | use_small_heuristics = "max"
--------------------------------------------------------------------------------
/src/common.rs:
--------------------------------------------------------------------------------
1 | use anyhow::{Context, Result};
2 | use axum_extra::headers::{Header, UserAgent};
3 | use axum_extra::TypedHeader;
4 | use http::HeaderValue;
5 | use rand::Rng;
6 |
7 | // use ESR user-agent if we don't have anything else
8 | pub(crate) const USER_AGENT: &str = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) \
9 | Gecko/20100101 Firefox/115.0";
10 |
11 | pub(crate) fn get_rng() -> impl Rng {
12 | rand::thread_rng()
13 | }
14 |
15 | pub(crate) fn get_user_agent(
16 | ua: Option>, // inbound user UA
17 | ua_override: Option<&HeaderValue>,
18 | ) -> Result {
19 | Ok(if let Some(ua) = ua_override {
20 | UserAgent::decode(&mut std::iter::once(ua)).context("decoding User-Agent")?
21 | } else {
22 | ua.map(|ua| ua.0).unwrap_or_else(|| UserAgent::from_static(USER_AGENT))
23 | })
24 | }
25 |
--------------------------------------------------------------------------------
/src/hello.rs:
--------------------------------------------------------------------------------
1 | //! Originally based on https://github.com/Snawoot/hola-proxy
2 | //!
3 | //! This file is MIT licensed.
4 | //!
5 | //! MIT License
6 | //!
7 | //! Copyright (c) 2020 Snawoot
8 | //!
9 | //! Permission is hereby granted, free of charge, to any person obtaining a copy
10 | //! of this software and associated documentation files (the "Software"), to deal
11 | //! in the Software without restriction, including without limitation the rights
12 | //! to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
13 | //! copies of the Software, and to permit persons to whom the Software is
14 | //! furnished to do so, subject to the following conditions:
15 | //!
16 | //! The above copyright notice and this permission notice shall be included in all
17 | //! copies or substantial portions of the Software.
18 | //!
19 | //! THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20 | //! IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21 | //! FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
22 | //! AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
23 | //! LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
24 | //! OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
25 | //! SOFTWARE.
26 |
27 | use std::collections::HashMap;
28 | use std::str::FromStr;
29 | use std::time::Duration;
30 |
31 | use anyhow::{anyhow, Result};
32 | use const_format::concatcp;
33 | use isocountry::CountryCode;
34 | use once_cell::sync::Lazy;
35 | use rand::Rng;
36 | use reqwest::{Client, ClientBuilder};
37 | use serde::{Deserialize, Serialize};
38 | #[allow(unused)]
39 | use tracing::{debug, error, info, warn};
40 | use url::Url;
41 | use uuid::Uuid;
42 |
43 | use crate::common;
44 |
45 | // both Firefox and Chrome extensions have been removed from respective sites
46 | // Opera version still exists: https://addons.opera.com/en/extensions/details/hola-better-internet/
47 | // firefox version was removed later, so pretend to be FF
48 | // TODO: Chrome version restored, might need to pretend to be its current version
49 | const EXT_VER: &str = "1.186.727";
50 | const EXT_BROWSER: (&str, &str) = ("browser", "firefox"); // or chrome
51 | const PRODUCT: (&str, &str) = ("product", "www"); // "cws" for Chrome Web Store
52 | const CCGI_URL: &str = "https://client.hola.org/client_cgi/";
53 | const BG_INIT_URL: &str = concatcp!(CCGI_URL, "background_init");
54 | const ZGETTUNNELS_URL: &str = concatcp!(CCGI_URL, "zgettunnels");
55 |
56 | #[allow(dead_code)] // silence clippy; this is logged
57 | #[derive(Clone, Debug, PartialEq, Deserialize)]
58 | #[serde(untagged)]
59 | pub(crate) enum BgInitResponse {
60 | Success {
61 | ver: String,
62 | key: i64,
63 | country: String,
64 | },
65 | Block {
66 | blocked: bool,
67 | #[serde(default)]
68 | permanent: bool,
69 | },
70 | }
71 |
72 | static CLIENT: Lazy = Lazy::new(|| {
73 | ClientBuilder::new()
74 | .user_agent(common::USER_AGENT)
75 | .timeout(Duration::from_secs(15))
76 | .build()
77 | .unwrap()
78 | });
79 |
80 | const VPN_COUNTRIES_URL: &str = concatcp!(CCGI_URL, "vpn_countries.json");
81 |
82 | pub(crate) async fn list_countries() -> Result<()> {
83 | // This prints to console, which isn't really proper API design, but whatever
84 | let countries: Vec = CLIENT
85 | .get(VPN_COUNTRIES_URL)
86 | .header(EXT_BROWSER.0, EXT_BROWSER.1)
87 | .send()
88 | .await?
89 | .error_for_status()?
90 | .json()
91 | .await?;
92 | for code in countries {
93 | // Hola incorrectly specifies the UK as "UK", but its alpha-2 code is GB
94 | // fixup the display without changing the code, since we pass that to the API
95 | let country = if code.eq_ignore_ascii_case("uk") {
96 | CountryCode::GBR
97 | } else {
98 | CountryCode::for_alpha2_caseless(&code)?
99 | };
100 | println!("{code}: {country}");
101 | }
102 | Ok(())
103 | }
104 |
105 | pub(crate) fn uuid_to_login(uuid: &Uuid) -> String {
106 | format!("user-uuid-{:x}", uuid.as_simple()) // lowercase hex, no hyphens
107 | }
108 |
109 | #[derive(Copy, Clone, Debug, Hash, PartialEq, Eq)]
110 | pub enum ProxyType {
111 | Direct,
112 | /// P2P proxy. Doesn't seem to work, so this isn't actually used.
113 | Lum,
114 | // Peer,
115 | }
116 |
117 | impl FromStr for ProxyType {
118 | type Err = anyhow::Error;
119 |
120 | fn from_str(s: &str) -> Result {
121 | match s {
122 | "direct" => Ok(Self::Direct),
123 | "lum" => Ok(Self::Lum),
124 | // "peer" => Ok(Self::Pool),
125 | other => Err(anyhow!("invalid proxy type {}", other)),
126 | }
127 | }
128 | }
129 |
130 | impl ProxyType {
131 | pub(crate) fn get_port(self, pm: &PortMap) -> u16 {
132 | match self {
133 | Self::Direct => pm.direct,
134 | Self::Lum => pm.hola,
135 | // Self::Peer => pm.peer,
136 | }
137 | }
138 |
139 | fn to_param(self, country: &str) -> String {
140 | match self {
141 | ProxyType::Direct => country.into(),
142 | ProxyType::Lum => format!("{0}.pool_lum_{0}_shared", country.to_ascii_lowercase()),
143 | // ProxyType::Peer => country.into(),
144 | }
145 | }
146 | }
147 |
148 | #[derive(Copy, Clone, Debug, Deserialize, Serialize)]
149 | pub(crate) struct PortMap {
150 | pub(crate) direct: u16,
151 | pub(crate) hola: u16,
152 | pub(crate) peer: u16,
153 | pub(crate) trial: u16,
154 | pub(crate) trial_peer: u16,
155 | }
156 |
157 | #[derive(Clone, Debug, Deserialize, Serialize)]
158 | pub(crate) struct TunnelResponse {
159 | pub(crate) agent_key: String,
160 | pub(crate) agent_types: HashMap,
161 | #[serde(with = "tuple_vec_map")]
162 | pub(crate) ip_list: Vec<(String, String)>,
163 | pub(crate) port: PortMap,
164 | pub(crate) protocol: HashMap,
165 | pub(crate) vendor: HashMap,
166 | pub(crate) ztun: HashMap>,
167 | }
168 |
169 | pub(crate) async fn get_tunnels(
170 | uuid: &Uuid,
171 | session_key: i64,
172 | country: &str,
173 | proxy_type: ProxyType,
174 | limit: u32,
175 | ) -> Result {
176 | let mut rng = common::get_rng();
177 | let mut url = Url::parse(ZGETTUNNELS_URL).expect("zgettunnels");
178 | url.query_pairs_mut()
179 | .append_pair("country", &proxy_type.to_param(country))
180 | .append_pair("limit", &limit.to_string())
181 | .append_pair("ping_id", &rng.gen::().to_string())
182 | .append_pair("ext_ver", EXT_VER)
183 | .append_pair(EXT_BROWSER.0, EXT_BROWSER.1)
184 | .append_pair(PRODUCT.0, PRODUCT.1)
185 | .append_pair("uuid", &uuid.as_simple().to_string())
186 | .append_pair("session_key", &session_key.to_string())
187 | .append_pair("is_premium", "0");
188 | Ok(CLIENT.get(url.as_str()).send().await?.error_for_status()?.json().await?)
189 | }
190 |
191 | /// Login to Hola. Generates a random UUID unless one is provided.
192 | pub(crate) async fn background_init(uuid: Option) -> Result<(BgInitResponse, Uuid)> {
193 | debug!("bg_init using UUID {:?}", uuid);
194 | let uuid = uuid.unwrap_or_else(Uuid::new_v4);
195 | let mut url = Url::parse(BG_INIT_URL)?;
196 | url.query_pairs_mut().append_pair("uuid", &uuid.as_simple().to_string());
197 | let login = &[("login", "1"), ("ver", EXT_VER)];
198 | let resp =
199 | CLIENT.post(url.as_str()).form(login).send().await?.error_for_status()?.json().await?;
200 | debug!("bg init response: {:?}", resp);
201 | Ok((resp, uuid))
202 | }
203 |
--------------------------------------------------------------------------------
/src/hello_config.rs:
--------------------------------------------------------------------------------
1 | //! Stores some of the Hola code to make conditional compilation cleaner. I should probably
2 | //! move more code into this file.
3 |
4 | use anyhow::{bail, Context, Result};
5 | use rand::prelude::SliceRandom;
6 | use reqwest::Proxy;
7 | use serde::{Deserialize, Serialize};
8 | use tracing::{debug, info};
9 | use uuid::Uuid;
10 |
11 | use hello::ProxyType;
12 |
13 | use crate::{common, hello, hello::BgInitResponse, Opts};
14 |
15 | const CRATE_NAME: &str = env!("CARGO_PKG_NAME");
16 |
17 | #[derive(Clone, Debug, Default, Deserialize, Serialize)]
18 | pub(crate) struct Config {
19 | uuid: Option,
20 | }
21 |
22 | /// Connect to Hola, retrieve tunnels, return a Proxy. Updates
23 | /// stored UUID in the config if we regenerated our creds.
24 | pub(crate) async fn setup_hola(opts: &Opts) -> Result {
25 | info!(
26 | "Setting up Hola proxy. Regen: {} / Discard: {} / Country: {}",
27 | opts.regen_creds, opts.discard_creds, opts.country
28 | );
29 | let mut config: Config = confy::load(CRATE_NAME, None)?;
30 | let uuid = if !opts.regen_creds { config.uuid } else { None };
31 | let (bg, uuid) = hello::background_init(uuid).await.context("Hola init")?;
32 | config.uuid = Some(uuid);
33 | let key = match bg {
34 | BgInitResponse::Success { key, .. } => key,
35 | BgInitResponse::Block { .. } => {
36 | bail!("You've been blocked by Hola. Try re-running with --regen-creds. ({bg:?})");
37 | }
38 | };
39 | let proxy_type = ProxyType::Direct;
40 | let tunnels = hello::get_tunnels(&uuid, key, &opts.country, proxy_type, 3).await?;
41 | debug!("{:?}", tunnels);
42 | let login = hello::uuid_to_login(&uuid);
43 | let password = tunnels.agent_key;
44 | debug!("login: {}", login);
45 | debug!("password: {}", password);
46 | let (hostname, ip) =
47 | tunnels.ip_list.choose(&mut common::get_rng()).expect("no tunnels found in hola response");
48 | let port = proxy_type.get_port(&tunnels.port);
49 | let proxy = if !hostname.is_empty() {
50 | format!("https://{hostname}:{port}")
51 | } else {
52 | format!("http://{ip}:{port}")
53 | }; // does this check actually need to exist?
54 | if !opts.discard_creds {
55 | debug!(
56 | "Saving Hola credentials to {}",
57 | confy::get_configuration_file_path(CRATE_NAME, None)?.display()
58 | );
59 | confy::store(CRATE_NAME, None, &config)?;
60 | }
61 | Ok(Proxy::all(proxy)?.basic_auth(&login, &password))
62 | }
63 |
--------------------------------------------------------------------------------
/src/main.rs:
--------------------------------------------------------------------------------
1 | use std::borrow::Cow;
2 | use std::collections::HashMap;
3 | use std::net::{IpAddr, SocketAddr};
4 | #[cfg(feature = "tls")]
5 | use std::path::PathBuf;
6 | use std::time::Duration;
7 |
8 | use anyhow::Result;
9 | use axum::{
10 | body::Body,
11 | error_handling::HandleErrorLayer,
12 | extract::{Path, Query, State},
13 | response::IntoResponse,
14 | routing::get,
15 | BoxError, Json, Router,
16 | };
17 | use axum_extra::{headers::UserAgent, TypedHeader};
18 | use cfg_if::cfg_if;
19 | use clap::Parser;
20 | use extend::ext;
21 | use http::{
22 | header::{CACHE_CONTROL, USER_AGENT},
23 | HeaderValue, Response, StatusCode,
24 | };
25 | use rand::{distributions::Alphanumeric, Rng};
26 | use reqwest::{ClientBuilder, Proxy};
27 | use reqwest_middleware::ClientWithMiddleware as Client;
28 | use reqwest_retry::{policies::ExponentialBackoff, RetryTransientMiddleware};
29 | use serde::{Deserialize, Serialize};
30 | use serde_json::json;
31 | use tower::ServiceBuilder;
32 | use tower_http::cors::{Any, CorsLayer};
33 | use tower_http::set_header::SetResponseHeaderLayer;
34 | #[allow(unused)]
35 | use tracing::{debug, error, info, warn, Level};
36 | use url::Url;
37 |
38 | mod common;
39 | #[cfg(feature = "hola")]
40 | mod hello;
41 | #[cfg(feature = "hola")]
42 | mod hello_config;
43 | #[cfg(feature = "true-status")]
44 | mod status;
45 |
46 | const ID_PARAM: &str = "id";
47 | const VOD_ENDPOINT: &str = const_format::concatcp!("/vod/{", ID_PARAM, "}");
48 | const LIVE_ENDPOINT: &str = const_format::concatcp!("/live/{", ID_PARAM, "}");
49 | /// TTV-LOL emulation
50 | const LIVE_TTVLOL_ENDPOINT: &str = const_format::concatcp!("/playlist/{", ID_PARAM, "}");
51 | // for Firefox only
52 | const STATUS_ENDPOINT: &str = "/stat/";
53 | const STATUS_TTVLOL_ENDPOINT: &str = "/ping"; // no trailing slash
54 | const CONCURRENCY_LIMIT: usize = 64;
55 |
56 | #[cfg(feature = "true-status")]
57 | pub(crate) static PROXY: once_cell::sync::OnceCell