├── .dockerignore ├── .env ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md └── workflows │ ├── reusable-test-workflow.yml │ ├── test-build-push-tagged.yml │ └── test-pr-push.yml ├── .gitignore ├── Cargo.lock ├── Cargo.toml ├── Dockerfile ├── LICENSE ├── README.md ├── db └── create_db.sh ├── docker-compose.dev.yml ├── docker-compose.yml ├── migrations ├── 20240425185919_inital_db_scheme.sql └── 20240425193610_add_last_used_column.sql ├── src ├── main.rs └── model.rs ├── templates ├── base.html ├── edit.html ├── error.html ├── index.html └── redirect.html └── watch.sh /.dockerignore: -------------------------------------------------------------------------------- 1 | target 2 | -------------------------------------------------------------------------------- /.env: -------------------------------------------------------------------------------- 1 | DATABASE_URL=sqlite://db/db.db 2 | 3 | # PROTOCOL and BASE_URL are used to build links in application 4 | PROTOCOL=http 5 | BASE_URL=localhost:8080 6 | 7 | # HOST tells the app which address to bind to (do not change for docker) default is 0.0.0.0:8080 8 | # HOST=localhost:8080 9 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug report 3 | about: Create a report to help us improve 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Describe the bug** 11 | A clear and concise description of what the bug is. 12 | 13 | **To Reproduce** 14 | Steps to reproduce the behavior: 15 | 1. Go to '...' 16 | 2. Click on '....' 17 | 3. Scroll down to '....' 18 | 4. See error 19 | 20 | **Expected behavior** 21 | A clear and concise description of what you expected to happen. 22 | 23 | **Screenshots** 24 | If applicable, add screenshots to help explain your problem. 25 | 26 | **Desktop (please complete the following information):** 27 | - OS: [e.g. iOS] 28 | - Browser [e.g. chrome, safari] 29 | - Version [e.g. 22] 30 | 31 | **Smartphone (please complete the following information):** 32 | - Device: [e.g. iPhone6] 33 | - OS: [e.g. iOS8.1] 34 | - Browser [e.g. stock browser, safari] 35 | - Version [e.g. 22] 36 | 37 | **Additional context** 38 | Add any other context about the problem here. 39 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature request 3 | about: Suggest an idea for this project 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Is your feature request related to a problem? Please describe.** 11 | A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] 12 | 13 | **Describe the solution you'd like** 14 | A clear and concise description of what you want to happen. 15 | 16 | **Describe alternatives you've considered** 17 | A clear and concise description of any alternative solutions or features you've considered. 18 | 19 | **Additional context** 20 | Add any other context or screenshots about the feature request here. 21 | -------------------------------------------------------------------------------- /.github/workflows/reusable-test-workflow.yml: -------------------------------------------------------------------------------- 1 | name: Test Workflow 2 | 3 | on: 4 | workflow_call: 5 | 6 | jobs: 7 | test: 8 | name: Run Tests 9 | runs-on: ubuntu-latest 10 | container: 11 | image: rust:1-slim 12 | steps: 13 | - uses: actions/checkout@v3 14 | 15 | - name: Install build debendencies 16 | run: | 17 | apt-get update 18 | apt-get install -y sqlite3 libsqlite3-dev build-essential pkg-config libssl-dev 19 | 20 | - name: "Cache cargo" 21 | id: cache-cargo 22 | uses: "actions/cache@v4" 23 | with: 24 | path: | 25 | ~/.cargo/bin/ 26 | ~/.cargo/registry/index/ 27 | ~/.cargo/registry/cache/ 28 | ~/.cargo/git/db/ 29 | target/ 30 | key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} 31 | restore-keys: ${{ runner.os }}-cargo- 32 | 33 | - name: "Install sqlx cli or use the cached version" 34 | if: steps.cache-cargo.outputs.cache-hit != 'true' 35 | run: "cargo install sqlx-cli" 36 | 37 | - name: Create database for sqlx 38 | run: | 39 | sqlx database create 40 | sqlx migrate run 41 | 42 | - name: Run build 43 | run: cargo build 44 | 45 | - name: Run tests 46 | run: cargo test --verbose 47 | -------------------------------------------------------------------------------- /.github/workflows/test-build-push-tagged.yml: -------------------------------------------------------------------------------- 1 | name: build-push-tagged 2 | 3 | on: 4 | push: 5 | tags: 6 | - "*.*.*" 7 | 8 | env: 9 | # Use docker.io for Docker Hub if empty 10 | REGISTRY: ghcr.io 11 | # github.repository as / 12 | IMAGE_NAME: ${{ github.repository }} 13 | 14 | jobs: 15 | test: 16 | uses: ./.github/workflows/reusable-test-workflow.yml 17 | build: 18 | needs: test 19 | runs-on: ubuntu-latest 20 | permissions: 21 | contents: read 22 | packages: write 23 | 24 | steps: 25 | # TO get the tag name 26 | - name: Get the tag name 27 | run: echo "TAG=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV 28 | - name: Checkout repository 29 | uses: actions/checkout@v2 30 | 31 | # Login against a Docker registry except on PR 32 | # https://github.com/docker/login-action 33 | - name: Log into registry ${{ env.REGISTRY }} 34 | if: github.event_name != 'pull_request' 35 | uses: docker/login-action@28218f9b04b4f3f62068d7b6ce6ca5b26e35336c 36 | with: 37 | registry: ${{ env.REGISTRY }} 38 | username: ${{ github.actor }} 39 | password: ${{ secrets.GITHUB_TOKEN }} 40 | 41 | # Extract metadata (tags, labels) for Docker 42 | # https://github.com/docker/metadata-action 43 | - name: Extract Docker metadata 44 | id: meta 45 | uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38 46 | with: 47 | # list of Docker images to use as base name for tags 48 | images: | 49 | ghcr.io/13hannes11/ics-proxy 50 | # generate Docker tags based on the following events/attributes 51 | tags: | 52 | type=semver,pattern={{version}} 53 | type=semver,pattern={{major}}.{{minor}} 54 | type=semver,pattern={{major}} 55 | 56 | # Build and push Docker image with Buildx (don't push on PR) 57 | # https://github.com/docker/build-push-action 58 | - name: Build and push Docker image 59 | uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc 60 | with: 61 | context: . 62 | push: ${{ github.event_name != 'pull_request' }} 63 | tags: ${{ steps.meta.outputs.tags }} 64 | labels: ${{ steps.meta.outputs.labels }} 65 | -------------------------------------------------------------------------------- /.github/workflows/test-pr-push.yml: -------------------------------------------------------------------------------- 1 | name: Tests 2 | 3 | on: 4 | push: 5 | branches: 6 | - "**" 7 | pull_request: 8 | jobs: 9 | test: 10 | uses: ./.github/workflows/reusable-test-workflow.yml 11 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | .vscode 3 | *.db 4 | *.db-shm 5 | *.db-wal -------------------------------------------------------------------------------- /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 = "actix-codec" 7 | version = "0.5.2" 8 | source = "registry+https://github.com/rust-lang/crates.io-index" 9 | checksum = "5f7b0a21988c1bf877cf4759ef5ddaac04c1c9fe808c9142ecb78ba97d97a28a" 10 | dependencies = [ 11 | "bitflags", 12 | "bytes", 13 | "futures-core", 14 | "futures-sink", 15 | "memchr", 16 | "pin-project-lite", 17 | "tokio", 18 | "tokio-util", 19 | "tracing", 20 | ] 21 | 22 | [[package]] 23 | name = "actix-http" 24 | version = "3.11.0" 25 | source = "registry+https://github.com/rust-lang/crates.io-index" 26 | checksum = "44dfe5c9e0004c623edc65391dfd51daa201e7e30ebd9c9bedf873048ec32bc2" 27 | dependencies = [ 28 | "actix-codec", 29 | "actix-rt", 30 | "actix-service", 31 | "actix-utils", 32 | "base64", 33 | "bitflags", 34 | "brotli", 35 | "bytes", 36 | "bytestring", 37 | "derive_more", 38 | "encoding_rs", 39 | "flate2", 40 | "foldhash", 41 | "futures-core", 42 | "h2 0.3.26", 43 | "http 0.2.12", 44 | "httparse", 45 | "httpdate", 46 | "itoa", 47 | "language-tags", 48 | "local-channel", 49 | "mime", 50 | "percent-encoding", 51 | "pin-project-lite", 52 | "rand 0.9.1", 53 | "sha1", 54 | "smallvec", 55 | "tokio", 56 | "tokio-util", 57 | "tracing", 58 | "zstd", 59 | ] 60 | 61 | [[package]] 62 | name = "actix-macros" 63 | version = "0.2.4" 64 | source = "registry+https://github.com/rust-lang/crates.io-index" 65 | checksum = "e01ed3140b2f8d422c68afa1ed2e85d996ea619c988ac834d255db32138655cb" 66 | dependencies = [ 67 | "quote", 68 | "syn", 69 | ] 70 | 71 | [[package]] 72 | name = "actix-router" 73 | version = "0.5.3" 74 | source = "registry+https://github.com/rust-lang/crates.io-index" 75 | checksum = "13d324164c51f63867b57e73ba5936ea151b8a41a1d23d1031eeb9f70d0236f8" 76 | dependencies = [ 77 | "bytestring", 78 | "cfg-if", 79 | "http 0.2.12", 80 | "regex", 81 | "regex-lite", 82 | "serde", 83 | "tracing", 84 | ] 85 | 86 | [[package]] 87 | name = "actix-rt" 88 | version = "2.10.0" 89 | source = "registry+https://github.com/rust-lang/crates.io-index" 90 | checksum = "24eda4e2a6e042aa4e55ac438a2ae052d3b5da0ecf83d7411e1a368946925208" 91 | dependencies = [ 92 | "futures-core", 93 | "tokio", 94 | ] 95 | 96 | [[package]] 97 | name = "actix-server" 98 | version = "2.6.0" 99 | source = "registry+https://github.com/rust-lang/crates.io-index" 100 | checksum = "a65064ea4a457eaf07f2fba30b4c695bf43b721790e9530d26cb6f9019ff7502" 101 | dependencies = [ 102 | "actix-rt", 103 | "actix-service", 104 | "actix-utils", 105 | "futures-core", 106 | "futures-util", 107 | "mio", 108 | "socket2", 109 | "tokio", 110 | "tracing", 111 | ] 112 | 113 | [[package]] 114 | name = "actix-service" 115 | version = "2.0.3" 116 | source = "registry+https://github.com/rust-lang/crates.io-index" 117 | checksum = "9e46f36bf0e5af44bdc4bdb36fbbd421aa98c79a9bce724e1edeb3894e10dc7f" 118 | dependencies = [ 119 | "futures-core", 120 | "pin-project-lite", 121 | ] 122 | 123 | [[package]] 124 | name = "actix-utils" 125 | version = "3.0.1" 126 | source = "registry+https://github.com/rust-lang/crates.io-index" 127 | checksum = "88a1dcdff1466e3c2488e1cb5c36a71822750ad43839937f85d2f4d9f8b705d8" 128 | dependencies = [ 129 | "local-waker", 130 | "pin-project-lite", 131 | ] 132 | 133 | [[package]] 134 | name = "actix-web" 135 | version = "4.11.0" 136 | source = "registry+https://github.com/rust-lang/crates.io-index" 137 | checksum = "a597b77b5c6d6a1e1097fddde329a83665e25c5437c696a3a9a4aa514a614dea" 138 | dependencies = [ 139 | "actix-codec", 140 | "actix-http", 141 | "actix-macros", 142 | "actix-router", 143 | "actix-rt", 144 | "actix-server", 145 | "actix-service", 146 | "actix-utils", 147 | "actix-web-codegen", 148 | "bytes", 149 | "bytestring", 150 | "cfg-if", 151 | "cookie", 152 | "derive_more", 153 | "encoding_rs", 154 | "foldhash", 155 | "futures-core", 156 | "futures-util", 157 | "impl-more", 158 | "itoa", 159 | "language-tags", 160 | "log", 161 | "mime", 162 | "once_cell", 163 | "pin-project-lite", 164 | "regex", 165 | "regex-lite", 166 | "serde", 167 | "serde_json", 168 | "serde_urlencoded", 169 | "smallvec", 170 | "socket2", 171 | "time", 172 | "tracing", 173 | "url", 174 | ] 175 | 176 | [[package]] 177 | name = "actix-web-codegen" 178 | version = "4.3.0" 179 | source = "registry+https://github.com/rust-lang/crates.io-index" 180 | checksum = "f591380e2e68490b5dfaf1dd1aa0ebe78d84ba7067078512b4ea6e4492d622b8" 181 | dependencies = [ 182 | "actix-router", 183 | "proc-macro2", 184 | "quote", 185 | "syn", 186 | ] 187 | 188 | [[package]] 189 | name = "addr2line" 190 | version = "0.24.2" 191 | source = "registry+https://github.com/rust-lang/crates.io-index" 192 | checksum = "dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1" 193 | dependencies = [ 194 | "gimli", 195 | ] 196 | 197 | [[package]] 198 | name = "adler2" 199 | version = "2.0.0" 200 | source = "registry+https://github.com/rust-lang/crates.io-index" 201 | checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627" 202 | 203 | [[package]] 204 | name = "aho-corasick" 205 | version = "1.1.3" 206 | source = "registry+https://github.com/rust-lang/crates.io-index" 207 | checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" 208 | dependencies = [ 209 | "memchr", 210 | ] 211 | 212 | [[package]] 213 | name = "alloc-no-stdlib" 214 | version = "2.0.4" 215 | source = "registry+https://github.com/rust-lang/crates.io-index" 216 | checksum = "cc7bb162ec39d46ab1ca8c77bf72e890535becd1751bb45f64c597edb4c8c6b3" 217 | 218 | [[package]] 219 | name = "alloc-stdlib" 220 | version = "0.2.2" 221 | source = "registry+https://github.com/rust-lang/crates.io-index" 222 | checksum = "94fb8275041c72129eb51b7d0322c29b8387a0386127718b096429201a5d6ece" 223 | dependencies = [ 224 | "alloc-no-stdlib", 225 | ] 226 | 227 | [[package]] 228 | name = "allocator-api2" 229 | version = "0.2.21" 230 | source = "registry+https://github.com/rust-lang/crates.io-index" 231 | checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" 232 | 233 | [[package]] 234 | name = "android-tzdata" 235 | version = "0.1.1" 236 | source = "registry+https://github.com/rust-lang/crates.io-index" 237 | checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0" 238 | 239 | [[package]] 240 | name = "android_system_properties" 241 | version = "0.1.5" 242 | source = "registry+https://github.com/rust-lang/crates.io-index" 243 | checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311" 244 | dependencies = [ 245 | "libc", 246 | ] 247 | 248 | [[package]] 249 | name = "assert-json-diff" 250 | version = "2.0.2" 251 | source = "registry+https://github.com/rust-lang/crates.io-index" 252 | checksum = "47e4f2b81832e72834d7518d8487a0396a28cc408186a2e8854c0f98011faf12" 253 | dependencies = [ 254 | "serde", 255 | "serde_json", 256 | ] 257 | 258 | [[package]] 259 | name = "atoi" 260 | version = "2.0.0" 261 | source = "registry+https://github.com/rust-lang/crates.io-index" 262 | checksum = "f28d99ec8bfea296261ca1af174f24225171fea9664ba9003cbebee704810528" 263 | dependencies = [ 264 | "num-traits", 265 | ] 266 | 267 | [[package]] 268 | name = "atomic-waker" 269 | version = "1.1.2" 270 | source = "registry+https://github.com/rust-lang/crates.io-index" 271 | checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" 272 | 273 | [[package]] 274 | name = "autocfg" 275 | version = "1.4.0" 276 | source = "registry+https://github.com/rust-lang/crates.io-index" 277 | checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26" 278 | 279 | [[package]] 280 | name = "backtrace" 281 | version = "0.3.75" 282 | source = "registry+https://github.com/rust-lang/crates.io-index" 283 | checksum = "6806a6321ec58106fea15becdad98371e28d92ccbc7c8f1b3b6dd724fe8f1002" 284 | dependencies = [ 285 | "addr2line", 286 | "cfg-if", 287 | "libc", 288 | "miniz_oxide", 289 | "object", 290 | "rustc-demangle", 291 | "windows-targets 0.52.6", 292 | ] 293 | 294 | [[package]] 295 | name = "base64" 296 | version = "0.22.1" 297 | source = "registry+https://github.com/rust-lang/crates.io-index" 298 | checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" 299 | 300 | [[package]] 301 | name = "base64ct" 302 | version = "1.7.3" 303 | source = "registry+https://github.com/rust-lang/crates.io-index" 304 | checksum = "89e25b6adfb930f02d1981565a6e5d9c547ac15a96606256d3b59040e5cd4ca3" 305 | 306 | [[package]] 307 | name = "bitflags" 308 | version = "2.9.1" 309 | source = "registry+https://github.com/rust-lang/crates.io-index" 310 | checksum = "1b8e56985ec62d17e9c1001dc89c88ecd7dc08e47eba5ec7c29c7b5eeecde967" 311 | dependencies = [ 312 | "serde", 313 | ] 314 | 315 | [[package]] 316 | name = "block-buffer" 317 | version = "0.10.4" 318 | source = "registry+https://github.com/rust-lang/crates.io-index" 319 | checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" 320 | dependencies = [ 321 | "generic-array", 322 | ] 323 | 324 | [[package]] 325 | name = "brotli" 326 | version = "8.0.1" 327 | source = "registry+https://github.com/rust-lang/crates.io-index" 328 | checksum = "9991eea70ea4f293524138648e41ee89b0b2b12ddef3b255effa43c8056e0e0d" 329 | dependencies = [ 330 | "alloc-no-stdlib", 331 | "alloc-stdlib", 332 | "brotli-decompressor", 333 | ] 334 | 335 | [[package]] 336 | name = "brotli-decompressor" 337 | version = "5.0.0" 338 | source = "registry+https://github.com/rust-lang/crates.io-index" 339 | checksum = "874bb8112abecc98cbd6d81ea4fa7e94fb9449648c93cc89aa40c81c24d7de03" 340 | dependencies = [ 341 | "alloc-no-stdlib", 342 | "alloc-stdlib", 343 | ] 344 | 345 | [[package]] 346 | name = "bstr" 347 | version = "1.12.0" 348 | source = "registry+https://github.com/rust-lang/crates.io-index" 349 | checksum = "234113d19d0d7d613b40e86fb654acf958910802bcceab913a4f9e7cda03b1a4" 350 | dependencies = [ 351 | "memchr", 352 | "serde", 353 | ] 354 | 355 | [[package]] 356 | name = "bumpalo" 357 | version = "3.17.0" 358 | source = "registry+https://github.com/rust-lang/crates.io-index" 359 | checksum = "1628fb46dfa0b37568d12e5edd512553eccf6a22a78e8bde00bb4aed84d5bdbf" 360 | 361 | [[package]] 362 | name = "byteorder" 363 | version = "1.5.0" 364 | source = "registry+https://github.com/rust-lang/crates.io-index" 365 | checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" 366 | 367 | [[package]] 368 | name = "bytes" 369 | version = "1.10.1" 370 | source = "registry+https://github.com/rust-lang/crates.io-index" 371 | checksum = "d71b6127be86fdcfddb610f7182ac57211d4b18a3e9c82eb2d17662f2227ad6a" 372 | 373 | [[package]] 374 | name = "bytestring" 375 | version = "1.4.0" 376 | source = "registry+https://github.com/rust-lang/crates.io-index" 377 | checksum = "e465647ae23b2823b0753f50decb2d5a86d2bb2cac04788fafd1f80e45378e5f" 378 | dependencies = [ 379 | "bytes", 380 | ] 381 | 382 | [[package]] 383 | name = "cc" 384 | version = "1.2.23" 385 | source = "registry+https://github.com/rust-lang/crates.io-index" 386 | checksum = "5f4ac86a9e5bc1e2b3449ab9d7d3a6a405e3d1bb28d7b9be8614f55846ae3766" 387 | dependencies = [ 388 | "jobserver", 389 | "libc", 390 | "shlex", 391 | ] 392 | 393 | [[package]] 394 | name = "cfg-if" 395 | version = "1.0.0" 396 | source = "registry+https://github.com/rust-lang/crates.io-index" 397 | checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" 398 | 399 | [[package]] 400 | name = "chrono" 401 | version = "0.4.41" 402 | source = "registry+https://github.com/rust-lang/crates.io-index" 403 | checksum = "c469d952047f47f91b68d1cba3f10d63c11d73e4636f24f08daf0278abf01c4d" 404 | dependencies = [ 405 | "android-tzdata", 406 | "iana-time-zone", 407 | "js-sys", 408 | "num-traits", 409 | "wasm-bindgen", 410 | "windows-link", 411 | ] 412 | 413 | [[package]] 414 | name = "chrono-tz" 415 | version = "0.9.0" 416 | source = "registry+https://github.com/rust-lang/crates.io-index" 417 | checksum = "93698b29de5e97ad0ae26447b344c482a7284c737d9ddc5f9e52b74a336671bb" 418 | dependencies = [ 419 | "chrono", 420 | "chrono-tz-build", 421 | "phf", 422 | ] 423 | 424 | [[package]] 425 | name = "chrono-tz-build" 426 | version = "0.3.0" 427 | source = "registry+https://github.com/rust-lang/crates.io-index" 428 | checksum = "0c088aee841df9c3041febbb73934cfc39708749bf96dc827e3359cd39ef11b1" 429 | dependencies = [ 430 | "parse-zoneinfo", 431 | "phf", 432 | "phf_codegen", 433 | ] 434 | 435 | [[package]] 436 | name = "colored" 437 | version = "3.0.0" 438 | source = "registry+https://github.com/rust-lang/crates.io-index" 439 | checksum = "fde0e0ec90c9dfb3b4b1a0891a7dcd0e2bffde2f7efed5fe7c9bb00e5bfb915e" 440 | dependencies = [ 441 | "windows-sys 0.59.0", 442 | ] 443 | 444 | [[package]] 445 | name = "concurrent-queue" 446 | version = "2.5.0" 447 | source = "registry+https://github.com/rust-lang/crates.io-index" 448 | checksum = "4ca0197aee26d1ae37445ee532fefce43251d24cc7c166799f4d46817f1d3973" 449 | dependencies = [ 450 | "crossbeam-utils", 451 | ] 452 | 453 | [[package]] 454 | name = "const-oid" 455 | version = "0.9.6" 456 | source = "registry+https://github.com/rust-lang/crates.io-index" 457 | checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" 458 | 459 | [[package]] 460 | name = "cookie" 461 | version = "0.16.2" 462 | source = "registry+https://github.com/rust-lang/crates.io-index" 463 | checksum = "e859cd57d0710d9e06c381b550c06e76992472a8c6d527aecd2fc673dcc231fb" 464 | dependencies = [ 465 | "percent-encoding", 466 | "time", 467 | "version_check", 468 | ] 469 | 470 | [[package]] 471 | name = "core-foundation" 472 | version = "0.9.4" 473 | source = "registry+https://github.com/rust-lang/crates.io-index" 474 | checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f" 475 | dependencies = [ 476 | "core-foundation-sys", 477 | "libc", 478 | ] 479 | 480 | [[package]] 481 | name = "core-foundation-sys" 482 | version = "0.8.7" 483 | source = "registry+https://github.com/rust-lang/crates.io-index" 484 | checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" 485 | 486 | [[package]] 487 | name = "cpufeatures" 488 | version = "0.2.17" 489 | source = "registry+https://github.com/rust-lang/crates.io-index" 490 | checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" 491 | dependencies = [ 492 | "libc", 493 | ] 494 | 495 | [[package]] 496 | name = "crc" 497 | version = "3.3.0" 498 | source = "registry+https://github.com/rust-lang/crates.io-index" 499 | checksum = "9710d3b3739c2e349eb44fe848ad0b7c8cb1e42bd87ee49371df2f7acaf3e675" 500 | dependencies = [ 501 | "crc-catalog", 502 | ] 503 | 504 | [[package]] 505 | name = "crc-catalog" 506 | version = "2.4.0" 507 | source = "registry+https://github.com/rust-lang/crates.io-index" 508 | checksum = "19d374276b40fb8bbdee95aef7c7fa6b5316ec764510eb64b8dd0e2ed0d7e7f5" 509 | 510 | [[package]] 511 | name = "crc32fast" 512 | version = "1.4.2" 513 | source = "registry+https://github.com/rust-lang/crates.io-index" 514 | checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3" 515 | dependencies = [ 516 | "cfg-if", 517 | ] 518 | 519 | [[package]] 520 | name = "crossbeam-deque" 521 | version = "0.8.6" 522 | source = "registry+https://github.com/rust-lang/crates.io-index" 523 | checksum = "9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51" 524 | dependencies = [ 525 | "crossbeam-epoch", 526 | "crossbeam-utils", 527 | ] 528 | 529 | [[package]] 530 | name = "crossbeam-epoch" 531 | version = "0.9.18" 532 | source = "registry+https://github.com/rust-lang/crates.io-index" 533 | checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e" 534 | dependencies = [ 535 | "crossbeam-utils", 536 | ] 537 | 538 | [[package]] 539 | name = "crossbeam-queue" 540 | version = "0.3.12" 541 | source = "registry+https://github.com/rust-lang/crates.io-index" 542 | checksum = "0f58bbc28f91df819d0aa2a2c00cd19754769c2fad90579b3592b1c9ba7a3115" 543 | dependencies = [ 544 | "crossbeam-utils", 545 | ] 546 | 547 | [[package]] 548 | name = "crossbeam-utils" 549 | version = "0.8.21" 550 | source = "registry+https://github.com/rust-lang/crates.io-index" 551 | checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28" 552 | 553 | [[package]] 554 | name = "crypto-common" 555 | version = "0.1.6" 556 | source = "registry+https://github.com/rust-lang/crates.io-index" 557 | checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" 558 | dependencies = [ 559 | "generic-array", 560 | "typenum", 561 | ] 562 | 563 | [[package]] 564 | name = "der" 565 | version = "0.7.10" 566 | source = "registry+https://github.com/rust-lang/crates.io-index" 567 | checksum = "e7c1832837b905bbfb5101e07cc24c8deddf52f93225eee6ead5f4d63d53ddcb" 568 | dependencies = [ 569 | "const-oid", 570 | "pem-rfc7468", 571 | "zeroize", 572 | ] 573 | 574 | [[package]] 575 | name = "deranged" 576 | version = "0.4.0" 577 | source = "registry+https://github.com/rust-lang/crates.io-index" 578 | checksum = "9c9e6a11ca8224451684bc0d7d5a7adbf8f2fd6887261a1cfc3c0432f9d4068e" 579 | dependencies = [ 580 | "powerfmt", 581 | ] 582 | 583 | [[package]] 584 | name = "derive_more" 585 | version = "2.0.1" 586 | source = "registry+https://github.com/rust-lang/crates.io-index" 587 | checksum = "093242cf7570c207c83073cf82f79706fe7b8317e98620a47d5be7c3d8497678" 588 | dependencies = [ 589 | "derive_more-impl", 590 | ] 591 | 592 | [[package]] 593 | name = "derive_more-impl" 594 | version = "2.0.1" 595 | source = "registry+https://github.com/rust-lang/crates.io-index" 596 | checksum = "bda628edc44c4bb645fbe0f758797143e4e07926f7ebf4e9bdfbd3d2ce621df3" 597 | dependencies = [ 598 | "proc-macro2", 599 | "quote", 600 | "syn", 601 | "unicode-xid", 602 | ] 603 | 604 | [[package]] 605 | name = "deunicode" 606 | version = "1.6.2" 607 | source = "registry+https://github.com/rust-lang/crates.io-index" 608 | checksum = "abd57806937c9cc163efc8ea3910e00a62e2aeb0b8119f1793a978088f8f6b04" 609 | 610 | [[package]] 611 | name = "digest" 612 | version = "0.10.7" 613 | source = "registry+https://github.com/rust-lang/crates.io-index" 614 | checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" 615 | dependencies = [ 616 | "block-buffer", 617 | "const-oid", 618 | "crypto-common", 619 | "subtle", 620 | ] 621 | 622 | [[package]] 623 | name = "displaydoc" 624 | version = "0.2.5" 625 | source = "registry+https://github.com/rust-lang/crates.io-index" 626 | checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" 627 | dependencies = [ 628 | "proc-macro2", 629 | "quote", 630 | "syn", 631 | ] 632 | 633 | [[package]] 634 | name = "dotenv" 635 | version = "0.15.0" 636 | source = "registry+https://github.com/rust-lang/crates.io-index" 637 | checksum = "77c90badedccf4105eca100756a0b1289e191f6fcbdadd3cee1d2f614f97da8f" 638 | 639 | [[package]] 640 | name = "dotenvy" 641 | version = "0.15.7" 642 | source = "registry+https://github.com/rust-lang/crates.io-index" 643 | checksum = "1aaf95b3e5c8f23aa320147307562d361db0ae0d51242340f558153b4eb2439b" 644 | 645 | [[package]] 646 | name = "either" 647 | version = "1.15.0" 648 | source = "registry+https://github.com/rust-lang/crates.io-index" 649 | checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" 650 | dependencies = [ 651 | "serde", 652 | ] 653 | 654 | [[package]] 655 | name = "encoding_rs" 656 | version = "0.8.35" 657 | source = "registry+https://github.com/rust-lang/crates.io-index" 658 | checksum = "75030f3c4f45dafd7586dd6780965a8c7e8e285a5ecb86713e63a79c5b2766f3" 659 | dependencies = [ 660 | "cfg-if", 661 | ] 662 | 663 | [[package]] 664 | name = "equivalent" 665 | version = "1.0.2" 666 | source = "registry+https://github.com/rust-lang/crates.io-index" 667 | checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" 668 | 669 | [[package]] 670 | name = "errno" 671 | version = "0.3.12" 672 | source = "registry+https://github.com/rust-lang/crates.io-index" 673 | checksum = "cea14ef9355e3beab063703aa9dab15afd25f0667c341310c1e5274bb1d0da18" 674 | dependencies = [ 675 | "libc", 676 | "windows-sys 0.59.0", 677 | ] 678 | 679 | [[package]] 680 | name = "etcetera" 681 | version = "0.8.0" 682 | source = "registry+https://github.com/rust-lang/crates.io-index" 683 | checksum = "136d1b5283a1ab77bd9257427ffd09d8667ced0570b6f938942bc7568ed5b943" 684 | dependencies = [ 685 | "cfg-if", 686 | "home", 687 | "windows-sys 0.48.0", 688 | ] 689 | 690 | [[package]] 691 | name = "event-listener" 692 | version = "5.4.0" 693 | source = "registry+https://github.com/rust-lang/crates.io-index" 694 | checksum = "3492acde4c3fc54c845eaab3eed8bd00c7a7d881f78bfc801e43a93dec1331ae" 695 | dependencies = [ 696 | "concurrent-queue", 697 | "parking", 698 | "pin-project-lite", 699 | ] 700 | 701 | [[package]] 702 | name = "fastrand" 703 | version = "2.3.0" 704 | source = "registry+https://github.com/rust-lang/crates.io-index" 705 | checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" 706 | 707 | [[package]] 708 | name = "flate2" 709 | version = "1.1.1" 710 | source = "registry+https://github.com/rust-lang/crates.io-index" 711 | checksum = "7ced92e76e966ca2fd84c8f7aa01a4aea65b0eb6648d72f7c8f3e2764a67fece" 712 | dependencies = [ 713 | "crc32fast", 714 | "miniz_oxide", 715 | ] 716 | 717 | [[package]] 718 | name = "flume" 719 | version = "0.11.1" 720 | source = "registry+https://github.com/rust-lang/crates.io-index" 721 | checksum = "da0e4dd2a88388a1f4ccc7c9ce104604dab68d9f408dc34cd45823d5a9069095" 722 | dependencies = [ 723 | "futures-core", 724 | "futures-sink", 725 | "spin", 726 | ] 727 | 728 | [[package]] 729 | name = "fnv" 730 | version = "1.0.7" 731 | source = "registry+https://github.com/rust-lang/crates.io-index" 732 | checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" 733 | 734 | [[package]] 735 | name = "foldhash" 736 | version = "0.1.5" 737 | source = "registry+https://github.com/rust-lang/crates.io-index" 738 | checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2" 739 | 740 | [[package]] 741 | name = "foreign-types" 742 | version = "0.3.2" 743 | source = "registry+https://github.com/rust-lang/crates.io-index" 744 | checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1" 745 | dependencies = [ 746 | "foreign-types-shared", 747 | ] 748 | 749 | [[package]] 750 | name = "foreign-types-shared" 751 | version = "0.1.1" 752 | source = "registry+https://github.com/rust-lang/crates.io-index" 753 | checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" 754 | 755 | [[package]] 756 | name = "form_urlencoded" 757 | version = "1.2.1" 758 | source = "registry+https://github.com/rust-lang/crates.io-index" 759 | checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" 760 | dependencies = [ 761 | "percent-encoding", 762 | ] 763 | 764 | [[package]] 765 | name = "futures-channel" 766 | version = "0.3.31" 767 | source = "registry+https://github.com/rust-lang/crates.io-index" 768 | checksum = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10" 769 | dependencies = [ 770 | "futures-core", 771 | "futures-sink", 772 | ] 773 | 774 | [[package]] 775 | name = "futures-core" 776 | version = "0.3.31" 777 | source = "registry+https://github.com/rust-lang/crates.io-index" 778 | checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e" 779 | 780 | [[package]] 781 | name = "futures-executor" 782 | version = "0.3.31" 783 | source = "registry+https://github.com/rust-lang/crates.io-index" 784 | checksum = "1e28d1d997f585e54aebc3f97d39e72338912123a67330d723fdbb564d646c9f" 785 | dependencies = [ 786 | "futures-core", 787 | "futures-task", 788 | "futures-util", 789 | ] 790 | 791 | [[package]] 792 | name = "futures-intrusive" 793 | version = "0.5.0" 794 | source = "registry+https://github.com/rust-lang/crates.io-index" 795 | checksum = "1d930c203dd0b6ff06e0201a4a2fe9149b43c684fd4420555b26d21b1a02956f" 796 | dependencies = [ 797 | "futures-core", 798 | "lock_api", 799 | "parking_lot", 800 | ] 801 | 802 | [[package]] 803 | name = "futures-io" 804 | version = "0.3.31" 805 | source = "registry+https://github.com/rust-lang/crates.io-index" 806 | checksum = "9e5c1b78ca4aae1ac06c48a526a655760685149f0d465d21f37abfe57ce075c6" 807 | 808 | [[package]] 809 | name = "futures-sink" 810 | version = "0.3.31" 811 | source = "registry+https://github.com/rust-lang/crates.io-index" 812 | checksum = "e575fab7d1e0dcb8d0c7bcf9a63ee213816ab51902e6d244a95819acacf1d4f7" 813 | 814 | [[package]] 815 | name = "futures-task" 816 | version = "0.3.31" 817 | source = "registry+https://github.com/rust-lang/crates.io-index" 818 | checksum = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988" 819 | 820 | [[package]] 821 | name = "futures-util" 822 | version = "0.3.31" 823 | source = "registry+https://github.com/rust-lang/crates.io-index" 824 | checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81" 825 | dependencies = [ 826 | "futures-core", 827 | "futures-io", 828 | "futures-sink", 829 | "futures-task", 830 | "memchr", 831 | "pin-project-lite", 832 | "pin-utils", 833 | "slab", 834 | ] 835 | 836 | [[package]] 837 | name = "generic-array" 838 | version = "0.14.7" 839 | source = "registry+https://github.com/rust-lang/crates.io-index" 840 | checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" 841 | dependencies = [ 842 | "typenum", 843 | "version_check", 844 | ] 845 | 846 | [[package]] 847 | name = "getrandom" 848 | version = "0.2.16" 849 | source = "registry+https://github.com/rust-lang/crates.io-index" 850 | checksum = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592" 851 | dependencies = [ 852 | "cfg-if", 853 | "libc", 854 | "wasi 0.11.0+wasi-snapshot-preview1", 855 | ] 856 | 857 | [[package]] 858 | name = "getrandom" 859 | version = "0.3.3" 860 | source = "registry+https://github.com/rust-lang/crates.io-index" 861 | checksum = "26145e563e54f2cadc477553f1ec5ee650b00862f0a58bcd12cbdc5f0ea2d2f4" 862 | dependencies = [ 863 | "cfg-if", 864 | "libc", 865 | "r-efi", 866 | "wasi 0.14.2+wasi-0.2.4", 867 | ] 868 | 869 | [[package]] 870 | name = "gimli" 871 | version = "0.31.1" 872 | source = "registry+https://github.com/rust-lang/crates.io-index" 873 | checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f" 874 | 875 | [[package]] 876 | name = "globset" 877 | version = "0.4.16" 878 | source = "registry+https://github.com/rust-lang/crates.io-index" 879 | checksum = "54a1028dfc5f5df5da8a56a73e6c153c9a9708ec57232470703592a3f18e49f5" 880 | dependencies = [ 881 | "aho-corasick", 882 | "bstr", 883 | "log", 884 | "regex-automata", 885 | "regex-syntax", 886 | ] 887 | 888 | [[package]] 889 | name = "globwalk" 890 | version = "0.9.1" 891 | source = "registry+https://github.com/rust-lang/crates.io-index" 892 | checksum = "0bf760ebf69878d9fd8f110c89703d90ce35095324d1f1edcb595c63945ee757" 893 | dependencies = [ 894 | "bitflags", 895 | "ignore", 896 | "walkdir", 897 | ] 898 | 899 | [[package]] 900 | name = "h2" 901 | version = "0.3.26" 902 | source = "registry+https://github.com/rust-lang/crates.io-index" 903 | checksum = "81fe527a889e1532da5c525686d96d4c2e74cdd345badf8dfef9f6b39dd5f5e8" 904 | dependencies = [ 905 | "bytes", 906 | "fnv", 907 | "futures-core", 908 | "futures-sink", 909 | "futures-util", 910 | "http 0.2.12", 911 | "indexmap", 912 | "slab", 913 | "tokio", 914 | "tokio-util", 915 | "tracing", 916 | ] 917 | 918 | [[package]] 919 | name = "h2" 920 | version = "0.4.10" 921 | source = "registry+https://github.com/rust-lang/crates.io-index" 922 | checksum = "a9421a676d1b147b16b82c9225157dc629087ef8ec4d5e2960f9437a90dac0a5" 923 | dependencies = [ 924 | "atomic-waker", 925 | "bytes", 926 | "fnv", 927 | "futures-core", 928 | "futures-sink", 929 | "http 1.3.1", 930 | "indexmap", 931 | "slab", 932 | "tokio", 933 | "tokio-util", 934 | "tracing", 935 | ] 936 | 937 | [[package]] 938 | name = "hashbrown" 939 | version = "0.15.3" 940 | source = "registry+https://github.com/rust-lang/crates.io-index" 941 | checksum = "84b26c544d002229e640969970a2e74021aadf6e2f96372b9c58eff97de08eb3" 942 | dependencies = [ 943 | "allocator-api2", 944 | "equivalent", 945 | "foldhash", 946 | ] 947 | 948 | [[package]] 949 | name = "hashlink" 950 | version = "0.10.0" 951 | source = "registry+https://github.com/rust-lang/crates.io-index" 952 | checksum = "7382cf6263419f2d8df38c55d7da83da5c18aef87fc7a7fc1fb1e344edfe14c1" 953 | dependencies = [ 954 | "hashbrown", 955 | ] 956 | 957 | [[package]] 958 | name = "heck" 959 | version = "0.5.0" 960 | source = "registry+https://github.com/rust-lang/crates.io-index" 961 | checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" 962 | 963 | [[package]] 964 | name = "hex" 965 | version = "0.4.3" 966 | source = "registry+https://github.com/rust-lang/crates.io-index" 967 | checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" 968 | 969 | [[package]] 970 | name = "hkdf" 971 | version = "0.12.4" 972 | source = "registry+https://github.com/rust-lang/crates.io-index" 973 | checksum = "7b5f8eb2ad728638ea2c7d47a21db23b7b58a72ed6a38256b8a1849f15fbbdf7" 974 | dependencies = [ 975 | "hmac", 976 | ] 977 | 978 | [[package]] 979 | name = "hmac" 980 | version = "0.12.1" 981 | source = "registry+https://github.com/rust-lang/crates.io-index" 982 | checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" 983 | dependencies = [ 984 | "digest", 985 | ] 986 | 987 | [[package]] 988 | name = "home" 989 | version = "0.5.11" 990 | source = "registry+https://github.com/rust-lang/crates.io-index" 991 | checksum = "589533453244b0995c858700322199b2becb13b627df2851f64a2775d024abcf" 992 | dependencies = [ 993 | "windows-sys 0.59.0", 994 | ] 995 | 996 | [[package]] 997 | name = "html-escape" 998 | version = "0.2.13" 999 | source = "registry+https://github.com/rust-lang/crates.io-index" 1000 | checksum = "6d1ad449764d627e22bfd7cd5e8868264fc9236e07c752972b4080cd351cb476" 1001 | dependencies = [ 1002 | "utf8-width", 1003 | ] 1004 | 1005 | [[package]] 1006 | name = "http" 1007 | version = "0.2.12" 1008 | source = "registry+https://github.com/rust-lang/crates.io-index" 1009 | checksum = "601cbb57e577e2f5ef5be8e7b83f0f63994f25aa94d673e54a92d5c516d101f1" 1010 | dependencies = [ 1011 | "bytes", 1012 | "fnv", 1013 | "itoa", 1014 | ] 1015 | 1016 | [[package]] 1017 | name = "http" 1018 | version = "1.3.1" 1019 | source = "registry+https://github.com/rust-lang/crates.io-index" 1020 | checksum = "f4a85d31aea989eead29a3aaf9e1115a180df8282431156e533de47660892565" 1021 | dependencies = [ 1022 | "bytes", 1023 | "fnv", 1024 | "itoa", 1025 | ] 1026 | 1027 | [[package]] 1028 | name = "http-body" 1029 | version = "1.0.1" 1030 | source = "registry+https://github.com/rust-lang/crates.io-index" 1031 | checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184" 1032 | dependencies = [ 1033 | "bytes", 1034 | "http 1.3.1", 1035 | ] 1036 | 1037 | [[package]] 1038 | name = "http-body-util" 1039 | version = "0.1.3" 1040 | source = "registry+https://github.com/rust-lang/crates.io-index" 1041 | checksum = "b021d93e26becf5dc7e1b75b1bed1fd93124b374ceb73f43d4d4eafec896a64a" 1042 | dependencies = [ 1043 | "bytes", 1044 | "futures-core", 1045 | "http 1.3.1", 1046 | "http-body", 1047 | "pin-project-lite", 1048 | ] 1049 | 1050 | [[package]] 1051 | name = "httparse" 1052 | version = "1.10.1" 1053 | source = "registry+https://github.com/rust-lang/crates.io-index" 1054 | checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87" 1055 | 1056 | [[package]] 1057 | name = "httpdate" 1058 | version = "1.0.3" 1059 | source = "registry+https://github.com/rust-lang/crates.io-index" 1060 | checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" 1061 | 1062 | [[package]] 1063 | name = "humansize" 1064 | version = "2.1.3" 1065 | source = "registry+https://github.com/rust-lang/crates.io-index" 1066 | checksum = "6cb51c9a029ddc91b07a787f1d86b53ccfa49b0e86688c946ebe8d3555685dd7" 1067 | dependencies = [ 1068 | "libm", 1069 | ] 1070 | 1071 | [[package]] 1072 | name = "hyper" 1073 | version = "1.6.0" 1074 | source = "registry+https://github.com/rust-lang/crates.io-index" 1075 | checksum = "cc2b571658e38e0c01b1fdca3bbbe93c00d3d71693ff2770043f8c29bc7d6f80" 1076 | dependencies = [ 1077 | "bytes", 1078 | "futures-channel", 1079 | "futures-util", 1080 | "h2 0.4.10", 1081 | "http 1.3.1", 1082 | "http-body", 1083 | "httparse", 1084 | "httpdate", 1085 | "itoa", 1086 | "pin-project-lite", 1087 | "smallvec", 1088 | "tokio", 1089 | "want", 1090 | ] 1091 | 1092 | [[package]] 1093 | name = "hyper-rustls" 1094 | version = "0.27.5" 1095 | source = "registry+https://github.com/rust-lang/crates.io-index" 1096 | checksum = "2d191583f3da1305256f22463b9bb0471acad48a4e534a5218b9963e9c1f59b2" 1097 | dependencies = [ 1098 | "futures-util", 1099 | "http 1.3.1", 1100 | "hyper", 1101 | "hyper-util", 1102 | "rustls", 1103 | "rustls-pki-types", 1104 | "tokio", 1105 | "tokio-rustls", 1106 | "tower-service", 1107 | ] 1108 | 1109 | [[package]] 1110 | name = "hyper-tls" 1111 | version = "0.6.0" 1112 | source = "registry+https://github.com/rust-lang/crates.io-index" 1113 | checksum = "70206fc6890eaca9fde8a0bf71caa2ddfc9fe045ac9e5c70df101a7dbde866e0" 1114 | dependencies = [ 1115 | "bytes", 1116 | "http-body-util", 1117 | "hyper", 1118 | "hyper-util", 1119 | "native-tls", 1120 | "tokio", 1121 | "tokio-native-tls", 1122 | "tower-service", 1123 | ] 1124 | 1125 | [[package]] 1126 | name = "hyper-util" 1127 | version = "0.1.11" 1128 | source = "registry+https://github.com/rust-lang/crates.io-index" 1129 | checksum = "497bbc33a26fdd4af9ed9c70d63f61cf56a938375fbb32df34db9b1cd6d643f2" 1130 | dependencies = [ 1131 | "bytes", 1132 | "futures-channel", 1133 | "futures-util", 1134 | "http 1.3.1", 1135 | "http-body", 1136 | "hyper", 1137 | "libc", 1138 | "pin-project-lite", 1139 | "socket2", 1140 | "tokio", 1141 | "tower-service", 1142 | "tracing", 1143 | ] 1144 | 1145 | [[package]] 1146 | name = "iana-time-zone" 1147 | version = "0.1.63" 1148 | source = "registry+https://github.com/rust-lang/crates.io-index" 1149 | checksum = "b0c919e5debc312ad217002b8048a17b7d83f80703865bbfcfebb0458b0b27d8" 1150 | dependencies = [ 1151 | "android_system_properties", 1152 | "core-foundation-sys", 1153 | "iana-time-zone-haiku", 1154 | "js-sys", 1155 | "log", 1156 | "wasm-bindgen", 1157 | "windows-core", 1158 | ] 1159 | 1160 | [[package]] 1161 | name = "iana-time-zone-haiku" 1162 | version = "0.1.2" 1163 | source = "registry+https://github.com/rust-lang/crates.io-index" 1164 | checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f" 1165 | dependencies = [ 1166 | "cc", 1167 | ] 1168 | 1169 | [[package]] 1170 | name = "ics-proxy" 1171 | version = "0.1.6" 1172 | dependencies = [ 1173 | "actix-web", 1174 | "chrono", 1175 | "dotenv", 1176 | "html-escape", 1177 | "mockito", 1178 | "reqwest", 1179 | "sqlx", 1180 | "tera", 1181 | "tokio", 1182 | "url", 1183 | "uuid", 1184 | ] 1185 | 1186 | [[package]] 1187 | name = "icu_collections" 1188 | version = "2.0.0" 1189 | source = "registry+https://github.com/rust-lang/crates.io-index" 1190 | checksum = "200072f5d0e3614556f94a9930d5dc3e0662a652823904c3a75dc3b0af7fee47" 1191 | dependencies = [ 1192 | "displaydoc", 1193 | "potential_utf", 1194 | "yoke", 1195 | "zerofrom", 1196 | "zerovec", 1197 | ] 1198 | 1199 | [[package]] 1200 | name = "icu_locale_core" 1201 | version = "2.0.0" 1202 | source = "registry+https://github.com/rust-lang/crates.io-index" 1203 | checksum = "0cde2700ccaed3872079a65fb1a78f6c0a36c91570f28755dda67bc8f7d9f00a" 1204 | dependencies = [ 1205 | "displaydoc", 1206 | "litemap", 1207 | "tinystr", 1208 | "writeable", 1209 | "zerovec", 1210 | ] 1211 | 1212 | [[package]] 1213 | name = "icu_normalizer" 1214 | version = "2.0.0" 1215 | source = "registry+https://github.com/rust-lang/crates.io-index" 1216 | checksum = "436880e8e18df4d7bbc06d58432329d6458cc84531f7ac5f024e93deadb37979" 1217 | dependencies = [ 1218 | "displaydoc", 1219 | "icu_collections", 1220 | "icu_normalizer_data", 1221 | "icu_properties", 1222 | "icu_provider", 1223 | "smallvec", 1224 | "zerovec", 1225 | ] 1226 | 1227 | [[package]] 1228 | name = "icu_normalizer_data" 1229 | version = "2.0.0" 1230 | source = "registry+https://github.com/rust-lang/crates.io-index" 1231 | checksum = "00210d6893afc98edb752b664b8890f0ef174c8adbb8d0be9710fa66fbbf72d3" 1232 | 1233 | [[package]] 1234 | name = "icu_properties" 1235 | version = "2.0.0" 1236 | source = "registry+https://github.com/rust-lang/crates.io-index" 1237 | checksum = "2549ca8c7241c82f59c80ba2a6f415d931c5b58d24fb8412caa1a1f02c49139a" 1238 | dependencies = [ 1239 | "displaydoc", 1240 | "icu_collections", 1241 | "icu_locale_core", 1242 | "icu_properties_data", 1243 | "icu_provider", 1244 | "potential_utf", 1245 | "zerotrie", 1246 | "zerovec", 1247 | ] 1248 | 1249 | [[package]] 1250 | name = "icu_properties_data" 1251 | version = "2.0.0" 1252 | source = "registry+https://github.com/rust-lang/crates.io-index" 1253 | checksum = "8197e866e47b68f8f7d95249e172903bec06004b18b2937f1095d40a0c57de04" 1254 | 1255 | [[package]] 1256 | name = "icu_provider" 1257 | version = "2.0.0" 1258 | source = "registry+https://github.com/rust-lang/crates.io-index" 1259 | checksum = "03c80da27b5f4187909049ee2d72f276f0d9f99a42c306bd0131ecfe04d8e5af" 1260 | dependencies = [ 1261 | "displaydoc", 1262 | "icu_locale_core", 1263 | "stable_deref_trait", 1264 | "tinystr", 1265 | "writeable", 1266 | "yoke", 1267 | "zerofrom", 1268 | "zerotrie", 1269 | "zerovec", 1270 | ] 1271 | 1272 | [[package]] 1273 | name = "idna" 1274 | version = "1.0.3" 1275 | source = "registry+https://github.com/rust-lang/crates.io-index" 1276 | checksum = "686f825264d630750a544639377bae737628043f20d38bbc029e8f29ea968a7e" 1277 | dependencies = [ 1278 | "idna_adapter", 1279 | "smallvec", 1280 | "utf8_iter", 1281 | ] 1282 | 1283 | [[package]] 1284 | name = "idna_adapter" 1285 | version = "1.2.1" 1286 | source = "registry+https://github.com/rust-lang/crates.io-index" 1287 | checksum = "3acae9609540aa318d1bc588455225fb2085b9ed0c4f6bd0d9d5bcd86f1a0344" 1288 | dependencies = [ 1289 | "icu_normalizer", 1290 | "icu_properties", 1291 | ] 1292 | 1293 | [[package]] 1294 | name = "ignore" 1295 | version = "0.4.23" 1296 | source = "registry+https://github.com/rust-lang/crates.io-index" 1297 | checksum = "6d89fd380afde86567dfba715db065673989d6253f42b88179abd3eae47bda4b" 1298 | dependencies = [ 1299 | "crossbeam-deque", 1300 | "globset", 1301 | "log", 1302 | "memchr", 1303 | "regex-automata", 1304 | "same-file", 1305 | "walkdir", 1306 | "winapi-util", 1307 | ] 1308 | 1309 | [[package]] 1310 | name = "impl-more" 1311 | version = "0.1.9" 1312 | source = "registry+https://github.com/rust-lang/crates.io-index" 1313 | checksum = "e8a5a9a0ff0086c7a148acb942baaabeadf9504d10400b5a05645853729b9cd2" 1314 | 1315 | [[package]] 1316 | name = "indexmap" 1317 | version = "2.9.0" 1318 | source = "registry+https://github.com/rust-lang/crates.io-index" 1319 | checksum = "cea70ddb795996207ad57735b50c5982d8844f38ba9ee5f1aedcfb708a2aa11e" 1320 | dependencies = [ 1321 | "equivalent", 1322 | "hashbrown", 1323 | ] 1324 | 1325 | [[package]] 1326 | name = "ipnet" 1327 | version = "2.11.0" 1328 | source = "registry+https://github.com/rust-lang/crates.io-index" 1329 | checksum = "469fb0b9cefa57e3ef31275ee7cacb78f2fdca44e4765491884a2b119d4eb130" 1330 | 1331 | [[package]] 1332 | name = "itoa" 1333 | version = "1.0.15" 1334 | source = "registry+https://github.com/rust-lang/crates.io-index" 1335 | checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" 1336 | 1337 | [[package]] 1338 | name = "jobserver" 1339 | version = "0.1.33" 1340 | source = "registry+https://github.com/rust-lang/crates.io-index" 1341 | checksum = "38f262f097c174adebe41eb73d66ae9c06b2844fb0da69969647bbddd9b0538a" 1342 | dependencies = [ 1343 | "getrandom 0.3.3", 1344 | "libc", 1345 | ] 1346 | 1347 | [[package]] 1348 | name = "js-sys" 1349 | version = "0.3.77" 1350 | source = "registry+https://github.com/rust-lang/crates.io-index" 1351 | checksum = "1cfaf33c695fc6e08064efbc1f72ec937429614f25eef83af942d0e227c3a28f" 1352 | dependencies = [ 1353 | "once_cell", 1354 | "wasm-bindgen", 1355 | ] 1356 | 1357 | [[package]] 1358 | name = "language-tags" 1359 | version = "0.3.2" 1360 | source = "registry+https://github.com/rust-lang/crates.io-index" 1361 | checksum = "d4345964bb142484797b161f473a503a434de77149dd8c7427788c6e13379388" 1362 | 1363 | [[package]] 1364 | name = "lazy_static" 1365 | version = "1.5.0" 1366 | source = "registry+https://github.com/rust-lang/crates.io-index" 1367 | checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" 1368 | dependencies = [ 1369 | "spin", 1370 | ] 1371 | 1372 | [[package]] 1373 | name = "libc" 1374 | version = "0.2.172" 1375 | source = "registry+https://github.com/rust-lang/crates.io-index" 1376 | checksum = "d750af042f7ef4f724306de029d18836c26c1765a54a6a3f094cbd23a7267ffa" 1377 | 1378 | [[package]] 1379 | name = "libm" 1380 | version = "0.2.15" 1381 | source = "registry+https://github.com/rust-lang/crates.io-index" 1382 | checksum = "f9fbbcab51052fe104eb5e5d351cf728d30a5be1fe14d9be8a3b097481fb97de" 1383 | 1384 | [[package]] 1385 | name = "libsqlite3-sys" 1386 | version = "0.30.1" 1387 | source = "registry+https://github.com/rust-lang/crates.io-index" 1388 | checksum = "2e99fb7a497b1e3339bc746195567ed8d3e24945ecd636e3619d20b9de9e9149" 1389 | dependencies = [ 1390 | "cc", 1391 | "pkg-config", 1392 | "vcpkg", 1393 | ] 1394 | 1395 | [[package]] 1396 | name = "linux-raw-sys" 1397 | version = "0.9.4" 1398 | source = "registry+https://github.com/rust-lang/crates.io-index" 1399 | checksum = "cd945864f07fe9f5371a27ad7b52a172b4b499999f1d97574c9fa68373937e12" 1400 | 1401 | [[package]] 1402 | name = "litemap" 1403 | version = "0.8.0" 1404 | source = "registry+https://github.com/rust-lang/crates.io-index" 1405 | checksum = "241eaef5fd12c88705a01fc1066c48c4b36e0dd4377dcdc7ec3942cea7a69956" 1406 | 1407 | [[package]] 1408 | name = "local-channel" 1409 | version = "0.1.5" 1410 | source = "registry+https://github.com/rust-lang/crates.io-index" 1411 | checksum = "b6cbc85e69b8df4b8bb8b89ec634e7189099cea8927a276b7384ce5488e53ec8" 1412 | dependencies = [ 1413 | "futures-core", 1414 | "futures-sink", 1415 | "local-waker", 1416 | ] 1417 | 1418 | [[package]] 1419 | name = "local-waker" 1420 | version = "0.1.4" 1421 | source = "registry+https://github.com/rust-lang/crates.io-index" 1422 | checksum = "4d873d7c67ce09b42110d801813efbc9364414e356be9935700d368351657487" 1423 | 1424 | [[package]] 1425 | name = "lock_api" 1426 | version = "0.4.12" 1427 | source = "registry+https://github.com/rust-lang/crates.io-index" 1428 | checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17" 1429 | dependencies = [ 1430 | "autocfg", 1431 | "scopeguard", 1432 | ] 1433 | 1434 | [[package]] 1435 | name = "log" 1436 | version = "0.4.27" 1437 | source = "registry+https://github.com/rust-lang/crates.io-index" 1438 | checksum = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94" 1439 | 1440 | [[package]] 1441 | name = "md-5" 1442 | version = "0.10.6" 1443 | source = "registry+https://github.com/rust-lang/crates.io-index" 1444 | checksum = "d89e7ee0cfbedfc4da3340218492196241d89eefb6dab27de5df917a6d2e78cf" 1445 | dependencies = [ 1446 | "cfg-if", 1447 | "digest", 1448 | ] 1449 | 1450 | [[package]] 1451 | name = "memchr" 1452 | version = "2.7.4" 1453 | source = "registry+https://github.com/rust-lang/crates.io-index" 1454 | checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" 1455 | 1456 | [[package]] 1457 | name = "mime" 1458 | version = "0.3.17" 1459 | source = "registry+https://github.com/rust-lang/crates.io-index" 1460 | checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" 1461 | 1462 | [[package]] 1463 | name = "miniz_oxide" 1464 | version = "0.8.8" 1465 | source = "registry+https://github.com/rust-lang/crates.io-index" 1466 | checksum = "3be647b768db090acb35d5ec5db2b0e1f1de11133ca123b9eacf5137868f892a" 1467 | dependencies = [ 1468 | "adler2", 1469 | ] 1470 | 1471 | [[package]] 1472 | name = "mio" 1473 | version = "1.0.3" 1474 | source = "registry+https://github.com/rust-lang/crates.io-index" 1475 | checksum = "2886843bf800fba2e3377cff24abf6379b4c4d5c6681eaf9ea5b0d15090450bd" 1476 | dependencies = [ 1477 | "libc", 1478 | "log", 1479 | "wasi 0.11.0+wasi-snapshot-preview1", 1480 | "windows-sys 0.52.0", 1481 | ] 1482 | 1483 | [[package]] 1484 | name = "mockito" 1485 | version = "1.7.0" 1486 | source = "registry+https://github.com/rust-lang/crates.io-index" 1487 | checksum = "7760e0e418d9b7e5777c0374009ca4c93861b9066f18cb334a20ce50ab63aa48" 1488 | dependencies = [ 1489 | "assert-json-diff", 1490 | "bytes", 1491 | "colored", 1492 | "futures-util", 1493 | "http 1.3.1", 1494 | "http-body", 1495 | "http-body-util", 1496 | "hyper", 1497 | "hyper-util", 1498 | "log", 1499 | "rand 0.9.1", 1500 | "regex", 1501 | "serde_json", 1502 | "serde_urlencoded", 1503 | "similar", 1504 | "tokio", 1505 | ] 1506 | 1507 | [[package]] 1508 | name = "native-tls" 1509 | version = "0.2.14" 1510 | source = "registry+https://github.com/rust-lang/crates.io-index" 1511 | checksum = "87de3442987e9dbec73158d5c715e7ad9072fda936bb03d19d7fa10e00520f0e" 1512 | dependencies = [ 1513 | "libc", 1514 | "log", 1515 | "openssl", 1516 | "openssl-probe", 1517 | "openssl-sys", 1518 | "schannel", 1519 | "security-framework", 1520 | "security-framework-sys", 1521 | "tempfile", 1522 | ] 1523 | 1524 | [[package]] 1525 | name = "num-bigint-dig" 1526 | version = "0.8.4" 1527 | source = "registry+https://github.com/rust-lang/crates.io-index" 1528 | checksum = "dc84195820f291c7697304f3cbdadd1cb7199c0efc917ff5eafd71225c136151" 1529 | dependencies = [ 1530 | "byteorder", 1531 | "lazy_static", 1532 | "libm", 1533 | "num-integer", 1534 | "num-iter", 1535 | "num-traits", 1536 | "rand 0.8.5", 1537 | "smallvec", 1538 | "zeroize", 1539 | ] 1540 | 1541 | [[package]] 1542 | name = "num-conv" 1543 | version = "0.1.0" 1544 | source = "registry+https://github.com/rust-lang/crates.io-index" 1545 | checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" 1546 | 1547 | [[package]] 1548 | name = "num-integer" 1549 | version = "0.1.46" 1550 | source = "registry+https://github.com/rust-lang/crates.io-index" 1551 | checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f" 1552 | dependencies = [ 1553 | "num-traits", 1554 | ] 1555 | 1556 | [[package]] 1557 | name = "num-iter" 1558 | version = "0.1.45" 1559 | source = "registry+https://github.com/rust-lang/crates.io-index" 1560 | checksum = "1429034a0490724d0075ebb2bc9e875d6503c3cf69e235a8941aa757d83ef5bf" 1561 | dependencies = [ 1562 | "autocfg", 1563 | "num-integer", 1564 | "num-traits", 1565 | ] 1566 | 1567 | [[package]] 1568 | name = "num-traits" 1569 | version = "0.2.19" 1570 | source = "registry+https://github.com/rust-lang/crates.io-index" 1571 | checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" 1572 | dependencies = [ 1573 | "autocfg", 1574 | "libm", 1575 | ] 1576 | 1577 | [[package]] 1578 | name = "object" 1579 | version = "0.36.7" 1580 | source = "registry+https://github.com/rust-lang/crates.io-index" 1581 | checksum = "62948e14d923ea95ea2c7c86c71013138b66525b86bdc08d2dcc262bdb497b87" 1582 | dependencies = [ 1583 | "memchr", 1584 | ] 1585 | 1586 | [[package]] 1587 | name = "once_cell" 1588 | version = "1.21.3" 1589 | source = "registry+https://github.com/rust-lang/crates.io-index" 1590 | checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" 1591 | 1592 | [[package]] 1593 | name = "openssl" 1594 | version = "0.10.72" 1595 | source = "registry+https://github.com/rust-lang/crates.io-index" 1596 | checksum = "fedfea7d58a1f73118430a55da6a286e7b044961736ce96a16a17068ea25e5da" 1597 | dependencies = [ 1598 | "bitflags", 1599 | "cfg-if", 1600 | "foreign-types", 1601 | "libc", 1602 | "once_cell", 1603 | "openssl-macros", 1604 | "openssl-sys", 1605 | ] 1606 | 1607 | [[package]] 1608 | name = "openssl-macros" 1609 | version = "0.1.1" 1610 | source = "registry+https://github.com/rust-lang/crates.io-index" 1611 | checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" 1612 | dependencies = [ 1613 | "proc-macro2", 1614 | "quote", 1615 | "syn", 1616 | ] 1617 | 1618 | [[package]] 1619 | name = "openssl-probe" 1620 | version = "0.1.6" 1621 | source = "registry+https://github.com/rust-lang/crates.io-index" 1622 | checksum = "d05e27ee213611ffe7d6348b942e8f942b37114c00cc03cec254295a4a17852e" 1623 | 1624 | [[package]] 1625 | name = "openssl-sys" 1626 | version = "0.9.108" 1627 | source = "registry+https://github.com/rust-lang/crates.io-index" 1628 | checksum = "e145e1651e858e820e4860f7b9c5e169bc1d8ce1c86043be79fa7b7634821847" 1629 | dependencies = [ 1630 | "cc", 1631 | "libc", 1632 | "pkg-config", 1633 | "vcpkg", 1634 | ] 1635 | 1636 | [[package]] 1637 | name = "parking" 1638 | version = "2.2.1" 1639 | source = "registry+https://github.com/rust-lang/crates.io-index" 1640 | checksum = "f38d5652c16fde515bb1ecef450ab0f6a219d619a7274976324d5e377f7dceba" 1641 | 1642 | [[package]] 1643 | name = "parking_lot" 1644 | version = "0.12.3" 1645 | source = "registry+https://github.com/rust-lang/crates.io-index" 1646 | checksum = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27" 1647 | dependencies = [ 1648 | "lock_api", 1649 | "parking_lot_core", 1650 | ] 1651 | 1652 | [[package]] 1653 | name = "parking_lot_core" 1654 | version = "0.9.10" 1655 | source = "registry+https://github.com/rust-lang/crates.io-index" 1656 | checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" 1657 | dependencies = [ 1658 | "cfg-if", 1659 | "libc", 1660 | "redox_syscall", 1661 | "smallvec", 1662 | "windows-targets 0.52.6", 1663 | ] 1664 | 1665 | [[package]] 1666 | name = "parse-zoneinfo" 1667 | version = "0.3.1" 1668 | source = "registry+https://github.com/rust-lang/crates.io-index" 1669 | checksum = "1f2a05b18d44e2957b88f96ba460715e295bc1d7510468a2f3d3b44535d26c24" 1670 | dependencies = [ 1671 | "regex", 1672 | ] 1673 | 1674 | [[package]] 1675 | name = "pem-rfc7468" 1676 | version = "0.7.0" 1677 | source = "registry+https://github.com/rust-lang/crates.io-index" 1678 | checksum = "88b39c9bfcfc231068454382784bb460aae594343fb030d46e9f50a645418412" 1679 | dependencies = [ 1680 | "base64ct", 1681 | ] 1682 | 1683 | [[package]] 1684 | name = "percent-encoding" 1685 | version = "2.3.1" 1686 | source = "registry+https://github.com/rust-lang/crates.io-index" 1687 | checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" 1688 | 1689 | [[package]] 1690 | name = "pest" 1691 | version = "2.8.0" 1692 | source = "registry+https://github.com/rust-lang/crates.io-index" 1693 | checksum = "198db74531d58c70a361c42201efde7e2591e976d518caf7662a47dc5720e7b6" 1694 | dependencies = [ 1695 | "memchr", 1696 | "thiserror", 1697 | "ucd-trie", 1698 | ] 1699 | 1700 | [[package]] 1701 | name = "pest_derive" 1702 | version = "2.8.0" 1703 | source = "registry+https://github.com/rust-lang/crates.io-index" 1704 | checksum = "d725d9cfd79e87dccc9341a2ef39d1b6f6353d68c4b33c177febbe1a402c97c5" 1705 | dependencies = [ 1706 | "pest", 1707 | "pest_generator", 1708 | ] 1709 | 1710 | [[package]] 1711 | name = "pest_generator" 1712 | version = "2.8.0" 1713 | source = "registry+https://github.com/rust-lang/crates.io-index" 1714 | checksum = "db7d01726be8ab66ab32f9df467ae8b1148906685bbe75c82d1e65d7f5b3f841" 1715 | dependencies = [ 1716 | "pest", 1717 | "pest_meta", 1718 | "proc-macro2", 1719 | "quote", 1720 | "syn", 1721 | ] 1722 | 1723 | [[package]] 1724 | name = "pest_meta" 1725 | version = "2.8.0" 1726 | source = "registry+https://github.com/rust-lang/crates.io-index" 1727 | checksum = "7f9f832470494906d1fca5329f8ab5791cc60beb230c74815dff541cbd2b5ca0" 1728 | dependencies = [ 1729 | "once_cell", 1730 | "pest", 1731 | "sha2", 1732 | ] 1733 | 1734 | [[package]] 1735 | name = "phf" 1736 | version = "0.11.3" 1737 | source = "registry+https://github.com/rust-lang/crates.io-index" 1738 | checksum = "1fd6780a80ae0c52cc120a26a1a42c1ae51b247a253e4e06113d23d2c2edd078" 1739 | dependencies = [ 1740 | "phf_shared", 1741 | ] 1742 | 1743 | [[package]] 1744 | name = "phf_codegen" 1745 | version = "0.11.3" 1746 | source = "registry+https://github.com/rust-lang/crates.io-index" 1747 | checksum = "aef8048c789fa5e851558d709946d6d79a8ff88c0440c587967f8e94bfb1216a" 1748 | dependencies = [ 1749 | "phf_generator", 1750 | "phf_shared", 1751 | ] 1752 | 1753 | [[package]] 1754 | name = "phf_generator" 1755 | version = "0.11.3" 1756 | source = "registry+https://github.com/rust-lang/crates.io-index" 1757 | checksum = "3c80231409c20246a13fddb31776fb942c38553c51e871f8cbd687a4cfb5843d" 1758 | dependencies = [ 1759 | "phf_shared", 1760 | "rand 0.8.5", 1761 | ] 1762 | 1763 | [[package]] 1764 | name = "phf_shared" 1765 | version = "0.11.3" 1766 | source = "registry+https://github.com/rust-lang/crates.io-index" 1767 | checksum = "67eabc2ef2a60eb7faa00097bd1ffdb5bd28e62bf39990626a582201b7a754e5" 1768 | dependencies = [ 1769 | "siphasher", 1770 | ] 1771 | 1772 | [[package]] 1773 | name = "pin-project-lite" 1774 | version = "0.2.16" 1775 | source = "registry+https://github.com/rust-lang/crates.io-index" 1776 | checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b" 1777 | 1778 | [[package]] 1779 | name = "pin-utils" 1780 | version = "0.1.0" 1781 | source = "registry+https://github.com/rust-lang/crates.io-index" 1782 | checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" 1783 | 1784 | [[package]] 1785 | name = "pkcs1" 1786 | version = "0.7.5" 1787 | source = "registry+https://github.com/rust-lang/crates.io-index" 1788 | checksum = "c8ffb9f10fa047879315e6625af03c164b16962a5368d724ed16323b68ace47f" 1789 | dependencies = [ 1790 | "der", 1791 | "pkcs8", 1792 | "spki", 1793 | ] 1794 | 1795 | [[package]] 1796 | name = "pkcs8" 1797 | version = "0.10.2" 1798 | source = "registry+https://github.com/rust-lang/crates.io-index" 1799 | checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" 1800 | dependencies = [ 1801 | "der", 1802 | "spki", 1803 | ] 1804 | 1805 | [[package]] 1806 | name = "pkg-config" 1807 | version = "0.3.32" 1808 | source = "registry+https://github.com/rust-lang/crates.io-index" 1809 | checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c" 1810 | 1811 | [[package]] 1812 | name = "potential_utf" 1813 | version = "0.1.2" 1814 | source = "registry+https://github.com/rust-lang/crates.io-index" 1815 | checksum = "e5a7c30837279ca13e7c867e9e40053bc68740f988cb07f7ca6df43cc734b585" 1816 | dependencies = [ 1817 | "zerovec", 1818 | ] 1819 | 1820 | [[package]] 1821 | name = "powerfmt" 1822 | version = "0.2.0" 1823 | source = "registry+https://github.com/rust-lang/crates.io-index" 1824 | checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" 1825 | 1826 | [[package]] 1827 | name = "ppv-lite86" 1828 | version = "0.2.21" 1829 | source = "registry+https://github.com/rust-lang/crates.io-index" 1830 | checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" 1831 | dependencies = [ 1832 | "zerocopy", 1833 | ] 1834 | 1835 | [[package]] 1836 | name = "proc-macro2" 1837 | version = "1.0.95" 1838 | source = "registry+https://github.com/rust-lang/crates.io-index" 1839 | checksum = "02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778" 1840 | dependencies = [ 1841 | "unicode-ident", 1842 | ] 1843 | 1844 | [[package]] 1845 | name = "quote" 1846 | version = "1.0.40" 1847 | source = "registry+https://github.com/rust-lang/crates.io-index" 1848 | checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d" 1849 | dependencies = [ 1850 | "proc-macro2", 1851 | ] 1852 | 1853 | [[package]] 1854 | name = "r-efi" 1855 | version = "5.2.0" 1856 | source = "registry+https://github.com/rust-lang/crates.io-index" 1857 | checksum = "74765f6d916ee2faa39bc8e68e4f3ed8949b48cccdac59983d287a7cb71ce9c5" 1858 | 1859 | [[package]] 1860 | name = "rand" 1861 | version = "0.8.5" 1862 | source = "registry+https://github.com/rust-lang/crates.io-index" 1863 | checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" 1864 | dependencies = [ 1865 | "libc", 1866 | "rand_chacha 0.3.1", 1867 | "rand_core 0.6.4", 1868 | ] 1869 | 1870 | [[package]] 1871 | name = "rand" 1872 | version = "0.9.1" 1873 | source = "registry+https://github.com/rust-lang/crates.io-index" 1874 | checksum = "9fbfd9d094a40bf3ae768db9361049ace4c0e04a4fd6b359518bd7b73a73dd97" 1875 | dependencies = [ 1876 | "rand_chacha 0.9.0", 1877 | "rand_core 0.9.3", 1878 | ] 1879 | 1880 | [[package]] 1881 | name = "rand_chacha" 1882 | version = "0.3.1" 1883 | source = "registry+https://github.com/rust-lang/crates.io-index" 1884 | checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" 1885 | dependencies = [ 1886 | "ppv-lite86", 1887 | "rand_core 0.6.4", 1888 | ] 1889 | 1890 | [[package]] 1891 | name = "rand_chacha" 1892 | version = "0.9.0" 1893 | source = "registry+https://github.com/rust-lang/crates.io-index" 1894 | checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb" 1895 | dependencies = [ 1896 | "ppv-lite86", 1897 | "rand_core 0.9.3", 1898 | ] 1899 | 1900 | [[package]] 1901 | name = "rand_core" 1902 | version = "0.6.4" 1903 | source = "registry+https://github.com/rust-lang/crates.io-index" 1904 | checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" 1905 | dependencies = [ 1906 | "getrandom 0.2.16", 1907 | ] 1908 | 1909 | [[package]] 1910 | name = "rand_core" 1911 | version = "0.9.3" 1912 | source = "registry+https://github.com/rust-lang/crates.io-index" 1913 | checksum = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38" 1914 | dependencies = [ 1915 | "getrandom 0.3.3", 1916 | ] 1917 | 1918 | [[package]] 1919 | name = "redox_syscall" 1920 | version = "0.5.12" 1921 | source = "registry+https://github.com/rust-lang/crates.io-index" 1922 | checksum = "928fca9cf2aa042393a8325b9ead81d2f0df4cb12e1e24cef072922ccd99c5af" 1923 | dependencies = [ 1924 | "bitflags", 1925 | ] 1926 | 1927 | [[package]] 1928 | name = "regex" 1929 | version = "1.11.1" 1930 | source = "registry+https://github.com/rust-lang/crates.io-index" 1931 | checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191" 1932 | dependencies = [ 1933 | "aho-corasick", 1934 | "memchr", 1935 | "regex-automata", 1936 | "regex-syntax", 1937 | ] 1938 | 1939 | [[package]] 1940 | name = "regex-automata" 1941 | version = "0.4.9" 1942 | source = "registry+https://github.com/rust-lang/crates.io-index" 1943 | checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908" 1944 | dependencies = [ 1945 | "aho-corasick", 1946 | "memchr", 1947 | "regex-syntax", 1948 | ] 1949 | 1950 | [[package]] 1951 | name = "regex-lite" 1952 | version = "0.1.6" 1953 | source = "registry+https://github.com/rust-lang/crates.io-index" 1954 | checksum = "53a49587ad06b26609c52e423de037e7f57f20d53535d66e08c695f347df952a" 1955 | 1956 | [[package]] 1957 | name = "regex-syntax" 1958 | version = "0.8.5" 1959 | source = "registry+https://github.com/rust-lang/crates.io-index" 1960 | checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" 1961 | 1962 | [[package]] 1963 | name = "reqwest" 1964 | version = "0.12.15" 1965 | source = "registry+https://github.com/rust-lang/crates.io-index" 1966 | checksum = "d19c46a6fdd48bc4dab94b6103fccc55d34c67cc0ad04653aad4ea2a07cd7bbb" 1967 | dependencies = [ 1968 | "base64", 1969 | "bytes", 1970 | "encoding_rs", 1971 | "futures-channel", 1972 | "futures-core", 1973 | "futures-util", 1974 | "h2 0.4.10", 1975 | "http 1.3.1", 1976 | "http-body", 1977 | "http-body-util", 1978 | "hyper", 1979 | "hyper-rustls", 1980 | "hyper-tls", 1981 | "hyper-util", 1982 | "ipnet", 1983 | "js-sys", 1984 | "log", 1985 | "mime", 1986 | "native-tls", 1987 | "once_cell", 1988 | "percent-encoding", 1989 | "pin-project-lite", 1990 | "rustls-pemfile", 1991 | "serde", 1992 | "serde_json", 1993 | "serde_urlencoded", 1994 | "sync_wrapper", 1995 | "system-configuration", 1996 | "tokio", 1997 | "tokio-native-tls", 1998 | "tower", 1999 | "tower-service", 2000 | "url", 2001 | "wasm-bindgen", 2002 | "wasm-bindgen-futures", 2003 | "web-sys", 2004 | "windows-registry", 2005 | ] 2006 | 2007 | [[package]] 2008 | name = "ring" 2009 | version = "0.17.14" 2010 | source = "registry+https://github.com/rust-lang/crates.io-index" 2011 | checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7" 2012 | dependencies = [ 2013 | "cc", 2014 | "cfg-if", 2015 | "getrandom 0.2.16", 2016 | "libc", 2017 | "untrusted", 2018 | "windows-sys 0.52.0", 2019 | ] 2020 | 2021 | [[package]] 2022 | name = "rsa" 2023 | version = "0.9.8" 2024 | source = "registry+https://github.com/rust-lang/crates.io-index" 2025 | checksum = "78928ac1ed176a5ca1d17e578a1825f3d81ca54cf41053a592584b020cfd691b" 2026 | dependencies = [ 2027 | "const-oid", 2028 | "digest", 2029 | "num-bigint-dig", 2030 | "num-integer", 2031 | "num-traits", 2032 | "pkcs1", 2033 | "pkcs8", 2034 | "rand_core 0.6.4", 2035 | "signature", 2036 | "spki", 2037 | "subtle", 2038 | "zeroize", 2039 | ] 2040 | 2041 | [[package]] 2042 | name = "rustc-demangle" 2043 | version = "0.1.24" 2044 | source = "registry+https://github.com/rust-lang/crates.io-index" 2045 | checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" 2046 | 2047 | [[package]] 2048 | name = "rustix" 2049 | version = "1.0.7" 2050 | source = "registry+https://github.com/rust-lang/crates.io-index" 2051 | checksum = "c71e83d6afe7ff64890ec6b71d6a69bb8a610ab78ce364b3352876bb4c801266" 2052 | dependencies = [ 2053 | "bitflags", 2054 | "errno", 2055 | "libc", 2056 | "linux-raw-sys", 2057 | "windows-sys 0.59.0", 2058 | ] 2059 | 2060 | [[package]] 2061 | name = "rustls" 2062 | version = "0.23.27" 2063 | source = "registry+https://github.com/rust-lang/crates.io-index" 2064 | checksum = "730944ca083c1c233a75c09f199e973ca499344a2b7ba9e755c457e86fb4a321" 2065 | dependencies = [ 2066 | "once_cell", 2067 | "ring", 2068 | "rustls-pki-types", 2069 | "rustls-webpki", 2070 | "subtle", 2071 | "zeroize", 2072 | ] 2073 | 2074 | [[package]] 2075 | name = "rustls-pemfile" 2076 | version = "2.2.0" 2077 | source = "registry+https://github.com/rust-lang/crates.io-index" 2078 | checksum = "dce314e5fee3f39953d46bb63bb8a46d40c2f8fb7cc5a3b6cab2bde9721d6e50" 2079 | dependencies = [ 2080 | "rustls-pki-types", 2081 | ] 2082 | 2083 | [[package]] 2084 | name = "rustls-pki-types" 2085 | version = "1.12.0" 2086 | source = "registry+https://github.com/rust-lang/crates.io-index" 2087 | checksum = "229a4a4c221013e7e1f1a043678c5cc39fe5171437c88fb47151a21e6f5b5c79" 2088 | dependencies = [ 2089 | "zeroize", 2090 | ] 2091 | 2092 | [[package]] 2093 | name = "rustls-webpki" 2094 | version = "0.103.3" 2095 | source = "registry+https://github.com/rust-lang/crates.io-index" 2096 | checksum = "e4a72fe2bcf7a6ac6fd7d0b9e5cb68aeb7d4c0a0271730218b3e92d43b4eb435" 2097 | dependencies = [ 2098 | "ring", 2099 | "rustls-pki-types", 2100 | "untrusted", 2101 | ] 2102 | 2103 | [[package]] 2104 | name = "rustversion" 2105 | version = "1.0.20" 2106 | source = "registry+https://github.com/rust-lang/crates.io-index" 2107 | checksum = "eded382c5f5f786b989652c49544c4877d9f015cc22e145a5ea8ea66c2921cd2" 2108 | 2109 | [[package]] 2110 | name = "ryu" 2111 | version = "1.0.20" 2112 | source = "registry+https://github.com/rust-lang/crates.io-index" 2113 | checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f" 2114 | 2115 | [[package]] 2116 | name = "same-file" 2117 | version = "1.0.6" 2118 | source = "registry+https://github.com/rust-lang/crates.io-index" 2119 | checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" 2120 | dependencies = [ 2121 | "winapi-util", 2122 | ] 2123 | 2124 | [[package]] 2125 | name = "schannel" 2126 | version = "0.1.27" 2127 | source = "registry+https://github.com/rust-lang/crates.io-index" 2128 | checksum = "1f29ebaa345f945cec9fbbc532eb307f0fdad8161f281b6369539c8d84876b3d" 2129 | dependencies = [ 2130 | "windows-sys 0.59.0", 2131 | ] 2132 | 2133 | [[package]] 2134 | name = "scopeguard" 2135 | version = "1.2.0" 2136 | source = "registry+https://github.com/rust-lang/crates.io-index" 2137 | checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" 2138 | 2139 | [[package]] 2140 | name = "security-framework" 2141 | version = "2.11.1" 2142 | source = "registry+https://github.com/rust-lang/crates.io-index" 2143 | checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02" 2144 | dependencies = [ 2145 | "bitflags", 2146 | "core-foundation", 2147 | "core-foundation-sys", 2148 | "libc", 2149 | "security-framework-sys", 2150 | ] 2151 | 2152 | [[package]] 2153 | name = "security-framework-sys" 2154 | version = "2.14.0" 2155 | source = "registry+https://github.com/rust-lang/crates.io-index" 2156 | checksum = "49db231d56a190491cb4aeda9527f1ad45345af50b0851622a7adb8c03b01c32" 2157 | dependencies = [ 2158 | "core-foundation-sys", 2159 | "libc", 2160 | ] 2161 | 2162 | [[package]] 2163 | name = "serde" 2164 | version = "1.0.219" 2165 | source = "registry+https://github.com/rust-lang/crates.io-index" 2166 | checksum = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6" 2167 | dependencies = [ 2168 | "serde_derive", 2169 | ] 2170 | 2171 | [[package]] 2172 | name = "serde_derive" 2173 | version = "1.0.219" 2174 | source = "registry+https://github.com/rust-lang/crates.io-index" 2175 | checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00" 2176 | dependencies = [ 2177 | "proc-macro2", 2178 | "quote", 2179 | "syn", 2180 | ] 2181 | 2182 | [[package]] 2183 | name = "serde_json" 2184 | version = "1.0.140" 2185 | source = "registry+https://github.com/rust-lang/crates.io-index" 2186 | checksum = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373" 2187 | dependencies = [ 2188 | "itoa", 2189 | "memchr", 2190 | "ryu", 2191 | "serde", 2192 | ] 2193 | 2194 | [[package]] 2195 | name = "serde_urlencoded" 2196 | version = "0.7.1" 2197 | source = "registry+https://github.com/rust-lang/crates.io-index" 2198 | checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd" 2199 | dependencies = [ 2200 | "form_urlencoded", 2201 | "itoa", 2202 | "ryu", 2203 | "serde", 2204 | ] 2205 | 2206 | [[package]] 2207 | name = "sha1" 2208 | version = "0.10.6" 2209 | source = "registry+https://github.com/rust-lang/crates.io-index" 2210 | checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" 2211 | dependencies = [ 2212 | "cfg-if", 2213 | "cpufeatures", 2214 | "digest", 2215 | ] 2216 | 2217 | [[package]] 2218 | name = "sha2" 2219 | version = "0.10.9" 2220 | source = "registry+https://github.com/rust-lang/crates.io-index" 2221 | checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" 2222 | dependencies = [ 2223 | "cfg-if", 2224 | "cpufeatures", 2225 | "digest", 2226 | ] 2227 | 2228 | [[package]] 2229 | name = "shlex" 2230 | version = "1.3.0" 2231 | source = "registry+https://github.com/rust-lang/crates.io-index" 2232 | checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" 2233 | 2234 | [[package]] 2235 | name = "signal-hook-registry" 2236 | version = "1.4.5" 2237 | source = "registry+https://github.com/rust-lang/crates.io-index" 2238 | checksum = "9203b8055f63a2a00e2f593bb0510367fe707d7ff1e5c872de2f537b339e5410" 2239 | dependencies = [ 2240 | "libc", 2241 | ] 2242 | 2243 | [[package]] 2244 | name = "signature" 2245 | version = "2.2.0" 2246 | source = "registry+https://github.com/rust-lang/crates.io-index" 2247 | checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" 2248 | dependencies = [ 2249 | "digest", 2250 | "rand_core 0.6.4", 2251 | ] 2252 | 2253 | [[package]] 2254 | name = "similar" 2255 | version = "2.7.0" 2256 | source = "registry+https://github.com/rust-lang/crates.io-index" 2257 | checksum = "bbbb5d9659141646ae647b42fe094daf6c6192d1620870b449d9557f748b2daa" 2258 | 2259 | [[package]] 2260 | name = "siphasher" 2261 | version = "1.0.1" 2262 | source = "registry+https://github.com/rust-lang/crates.io-index" 2263 | checksum = "56199f7ddabf13fe5074ce809e7d3f42b42ae711800501b5b16ea82ad029c39d" 2264 | 2265 | [[package]] 2266 | name = "slab" 2267 | version = "0.4.9" 2268 | source = "registry+https://github.com/rust-lang/crates.io-index" 2269 | checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" 2270 | dependencies = [ 2271 | "autocfg", 2272 | ] 2273 | 2274 | [[package]] 2275 | name = "slug" 2276 | version = "0.1.6" 2277 | source = "registry+https://github.com/rust-lang/crates.io-index" 2278 | checksum = "882a80f72ee45de3cc9a5afeb2da0331d58df69e4e7d8eeb5d3c7784ae67e724" 2279 | dependencies = [ 2280 | "deunicode", 2281 | "wasm-bindgen", 2282 | ] 2283 | 2284 | [[package]] 2285 | name = "smallvec" 2286 | version = "1.15.0" 2287 | source = "registry+https://github.com/rust-lang/crates.io-index" 2288 | checksum = "8917285742e9f3e1683f0a9c4e6b57960b7314d0b08d30d1ecd426713ee2eee9" 2289 | dependencies = [ 2290 | "serde", 2291 | ] 2292 | 2293 | [[package]] 2294 | name = "socket2" 2295 | version = "0.5.9" 2296 | source = "registry+https://github.com/rust-lang/crates.io-index" 2297 | checksum = "4f5fd57c80058a56cf5c777ab8a126398ece8e442983605d280a44ce79d0edef" 2298 | dependencies = [ 2299 | "libc", 2300 | "windows-sys 0.52.0", 2301 | ] 2302 | 2303 | [[package]] 2304 | name = "spin" 2305 | version = "0.9.8" 2306 | source = "registry+https://github.com/rust-lang/crates.io-index" 2307 | checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" 2308 | dependencies = [ 2309 | "lock_api", 2310 | ] 2311 | 2312 | [[package]] 2313 | name = "spki" 2314 | version = "0.7.3" 2315 | source = "registry+https://github.com/rust-lang/crates.io-index" 2316 | checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" 2317 | dependencies = [ 2318 | "base64ct", 2319 | "der", 2320 | ] 2321 | 2322 | [[package]] 2323 | name = "sqlx" 2324 | version = "0.8.5" 2325 | source = "registry+https://github.com/rust-lang/crates.io-index" 2326 | checksum = "f3c3a85280daca669cfd3bcb68a337882a8bc57ec882f72c5d13a430613a738e" 2327 | dependencies = [ 2328 | "sqlx-core", 2329 | "sqlx-macros", 2330 | "sqlx-mysql", 2331 | "sqlx-postgres", 2332 | "sqlx-sqlite", 2333 | ] 2334 | 2335 | [[package]] 2336 | name = "sqlx-core" 2337 | version = "0.8.5" 2338 | source = "registry+https://github.com/rust-lang/crates.io-index" 2339 | checksum = "f743f2a3cea30a58cd479013f75550e879009e3a02f616f18ca699335aa248c3" 2340 | dependencies = [ 2341 | "base64", 2342 | "bytes", 2343 | "crc", 2344 | "crossbeam-queue", 2345 | "either", 2346 | "event-listener", 2347 | "futures-core", 2348 | "futures-intrusive", 2349 | "futures-io", 2350 | "futures-util", 2351 | "hashbrown", 2352 | "hashlink", 2353 | "indexmap", 2354 | "log", 2355 | "memchr", 2356 | "once_cell", 2357 | "percent-encoding", 2358 | "rustls", 2359 | "serde", 2360 | "serde_json", 2361 | "sha2", 2362 | "smallvec", 2363 | "thiserror", 2364 | "tokio", 2365 | "tokio-stream", 2366 | "tracing", 2367 | "url", 2368 | "webpki-roots 0.26.11", 2369 | ] 2370 | 2371 | [[package]] 2372 | name = "sqlx-macros" 2373 | version = "0.8.5" 2374 | source = "registry+https://github.com/rust-lang/crates.io-index" 2375 | checksum = "7f4200e0fde19834956d4252347c12a083bdcb237d7a1a1446bffd8768417dce" 2376 | dependencies = [ 2377 | "proc-macro2", 2378 | "quote", 2379 | "sqlx-core", 2380 | "sqlx-macros-core", 2381 | "syn", 2382 | ] 2383 | 2384 | [[package]] 2385 | name = "sqlx-macros-core" 2386 | version = "0.8.5" 2387 | source = "registry+https://github.com/rust-lang/crates.io-index" 2388 | checksum = "882ceaa29cade31beca7129b6beeb05737f44f82dbe2a9806ecea5a7093d00b7" 2389 | dependencies = [ 2390 | "dotenvy", 2391 | "either", 2392 | "heck", 2393 | "hex", 2394 | "once_cell", 2395 | "proc-macro2", 2396 | "quote", 2397 | "serde", 2398 | "serde_json", 2399 | "sha2", 2400 | "sqlx-core", 2401 | "sqlx-mysql", 2402 | "sqlx-postgres", 2403 | "sqlx-sqlite", 2404 | "syn", 2405 | "tempfile", 2406 | "tokio", 2407 | "url", 2408 | ] 2409 | 2410 | [[package]] 2411 | name = "sqlx-mysql" 2412 | version = "0.8.5" 2413 | source = "registry+https://github.com/rust-lang/crates.io-index" 2414 | checksum = "0afdd3aa7a629683c2d750c2df343025545087081ab5942593a5288855b1b7a7" 2415 | dependencies = [ 2416 | "atoi", 2417 | "base64", 2418 | "bitflags", 2419 | "byteorder", 2420 | "bytes", 2421 | "crc", 2422 | "digest", 2423 | "dotenvy", 2424 | "either", 2425 | "futures-channel", 2426 | "futures-core", 2427 | "futures-io", 2428 | "futures-util", 2429 | "generic-array", 2430 | "hex", 2431 | "hkdf", 2432 | "hmac", 2433 | "itoa", 2434 | "log", 2435 | "md-5", 2436 | "memchr", 2437 | "once_cell", 2438 | "percent-encoding", 2439 | "rand 0.8.5", 2440 | "rsa", 2441 | "serde", 2442 | "sha1", 2443 | "sha2", 2444 | "smallvec", 2445 | "sqlx-core", 2446 | "stringprep", 2447 | "thiserror", 2448 | "tracing", 2449 | "whoami", 2450 | ] 2451 | 2452 | [[package]] 2453 | name = "sqlx-postgres" 2454 | version = "0.8.5" 2455 | source = "registry+https://github.com/rust-lang/crates.io-index" 2456 | checksum = "a0bedbe1bbb5e2615ef347a5e9d8cd7680fb63e77d9dafc0f29be15e53f1ebe6" 2457 | dependencies = [ 2458 | "atoi", 2459 | "base64", 2460 | "bitflags", 2461 | "byteorder", 2462 | "crc", 2463 | "dotenvy", 2464 | "etcetera", 2465 | "futures-channel", 2466 | "futures-core", 2467 | "futures-util", 2468 | "hex", 2469 | "hkdf", 2470 | "hmac", 2471 | "home", 2472 | "itoa", 2473 | "log", 2474 | "md-5", 2475 | "memchr", 2476 | "once_cell", 2477 | "rand 0.8.5", 2478 | "serde", 2479 | "serde_json", 2480 | "sha2", 2481 | "smallvec", 2482 | "sqlx-core", 2483 | "stringprep", 2484 | "thiserror", 2485 | "tracing", 2486 | "whoami", 2487 | ] 2488 | 2489 | [[package]] 2490 | name = "sqlx-sqlite" 2491 | version = "0.8.5" 2492 | source = "registry+https://github.com/rust-lang/crates.io-index" 2493 | checksum = "c26083e9a520e8eb87a06b12347679b142dc2ea29e6e409f805644a7a979a5bc" 2494 | dependencies = [ 2495 | "atoi", 2496 | "flume", 2497 | "futures-channel", 2498 | "futures-core", 2499 | "futures-executor", 2500 | "futures-intrusive", 2501 | "futures-util", 2502 | "libsqlite3-sys", 2503 | "log", 2504 | "percent-encoding", 2505 | "serde", 2506 | "serde_urlencoded", 2507 | "sqlx-core", 2508 | "thiserror", 2509 | "tracing", 2510 | "url", 2511 | ] 2512 | 2513 | [[package]] 2514 | name = "stable_deref_trait" 2515 | version = "1.2.0" 2516 | source = "registry+https://github.com/rust-lang/crates.io-index" 2517 | checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" 2518 | 2519 | [[package]] 2520 | name = "stringprep" 2521 | version = "0.1.5" 2522 | source = "registry+https://github.com/rust-lang/crates.io-index" 2523 | checksum = "7b4df3d392d81bd458a8a621b8bffbd2302a12ffe288a9d931670948749463b1" 2524 | dependencies = [ 2525 | "unicode-bidi", 2526 | "unicode-normalization", 2527 | "unicode-properties", 2528 | ] 2529 | 2530 | [[package]] 2531 | name = "subtle" 2532 | version = "2.6.1" 2533 | source = "registry+https://github.com/rust-lang/crates.io-index" 2534 | checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" 2535 | 2536 | [[package]] 2537 | name = "syn" 2538 | version = "2.0.101" 2539 | source = "registry+https://github.com/rust-lang/crates.io-index" 2540 | checksum = "8ce2b7fc941b3a24138a0a7cf8e858bfc6a992e7978a068a5c760deb0ed43caf" 2541 | dependencies = [ 2542 | "proc-macro2", 2543 | "quote", 2544 | "unicode-ident", 2545 | ] 2546 | 2547 | [[package]] 2548 | name = "sync_wrapper" 2549 | version = "1.0.2" 2550 | source = "registry+https://github.com/rust-lang/crates.io-index" 2551 | checksum = "0bf256ce5efdfa370213c1dabab5935a12e49f2c58d15e9eac2870d3b4f27263" 2552 | dependencies = [ 2553 | "futures-core", 2554 | ] 2555 | 2556 | [[package]] 2557 | name = "synstructure" 2558 | version = "0.13.2" 2559 | source = "registry+https://github.com/rust-lang/crates.io-index" 2560 | checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2" 2561 | dependencies = [ 2562 | "proc-macro2", 2563 | "quote", 2564 | "syn", 2565 | ] 2566 | 2567 | [[package]] 2568 | name = "system-configuration" 2569 | version = "0.6.1" 2570 | source = "registry+https://github.com/rust-lang/crates.io-index" 2571 | checksum = "3c879d448e9d986b661742763247d3693ed13609438cf3d006f51f5368a5ba6b" 2572 | dependencies = [ 2573 | "bitflags", 2574 | "core-foundation", 2575 | "system-configuration-sys", 2576 | ] 2577 | 2578 | [[package]] 2579 | name = "system-configuration-sys" 2580 | version = "0.6.0" 2581 | source = "registry+https://github.com/rust-lang/crates.io-index" 2582 | checksum = "8e1d1b10ced5ca923a1fcb8d03e96b8d3268065d724548c0211415ff6ac6bac4" 2583 | dependencies = [ 2584 | "core-foundation-sys", 2585 | "libc", 2586 | ] 2587 | 2588 | [[package]] 2589 | name = "tempfile" 2590 | version = "3.20.0" 2591 | source = "registry+https://github.com/rust-lang/crates.io-index" 2592 | checksum = "e8a64e3985349f2441a1a9ef0b853f869006c3855f2cda6862a94d26ebb9d6a1" 2593 | dependencies = [ 2594 | "fastrand", 2595 | "getrandom 0.3.3", 2596 | "once_cell", 2597 | "rustix", 2598 | "windows-sys 0.59.0", 2599 | ] 2600 | 2601 | [[package]] 2602 | name = "tera" 2603 | version = "1.20.0" 2604 | source = "registry+https://github.com/rust-lang/crates.io-index" 2605 | checksum = "ab9d851b45e865f178319da0abdbfe6acbc4328759ff18dafc3a41c16b4cd2ee" 2606 | dependencies = [ 2607 | "chrono", 2608 | "chrono-tz", 2609 | "globwalk", 2610 | "humansize", 2611 | "lazy_static", 2612 | "percent-encoding", 2613 | "pest", 2614 | "pest_derive", 2615 | "rand 0.8.5", 2616 | "regex", 2617 | "serde", 2618 | "serde_json", 2619 | "slug", 2620 | "unic-segment", 2621 | ] 2622 | 2623 | [[package]] 2624 | name = "thiserror" 2625 | version = "2.0.12" 2626 | source = "registry+https://github.com/rust-lang/crates.io-index" 2627 | checksum = "567b8a2dae586314f7be2a752ec7474332959c6460e02bde30d702a66d488708" 2628 | dependencies = [ 2629 | "thiserror-impl", 2630 | ] 2631 | 2632 | [[package]] 2633 | name = "thiserror-impl" 2634 | version = "2.0.12" 2635 | source = "registry+https://github.com/rust-lang/crates.io-index" 2636 | checksum = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d" 2637 | dependencies = [ 2638 | "proc-macro2", 2639 | "quote", 2640 | "syn", 2641 | ] 2642 | 2643 | [[package]] 2644 | name = "time" 2645 | version = "0.3.41" 2646 | source = "registry+https://github.com/rust-lang/crates.io-index" 2647 | checksum = "8a7619e19bc266e0f9c5e6686659d394bc57973859340060a69221e57dbc0c40" 2648 | dependencies = [ 2649 | "deranged", 2650 | "itoa", 2651 | "num-conv", 2652 | "powerfmt", 2653 | "serde", 2654 | "time-core", 2655 | "time-macros", 2656 | ] 2657 | 2658 | [[package]] 2659 | name = "time-core" 2660 | version = "0.1.4" 2661 | source = "registry+https://github.com/rust-lang/crates.io-index" 2662 | checksum = "c9e9a38711f559d9e3ce1cdb06dd7c5b8ea546bc90052da6d06bb76da74bb07c" 2663 | 2664 | [[package]] 2665 | name = "time-macros" 2666 | version = "0.2.22" 2667 | source = "registry+https://github.com/rust-lang/crates.io-index" 2668 | checksum = "3526739392ec93fd8b359c8e98514cb3e8e021beb4e5f597b00a0221f8ed8a49" 2669 | dependencies = [ 2670 | "num-conv", 2671 | "time-core", 2672 | ] 2673 | 2674 | [[package]] 2675 | name = "tinystr" 2676 | version = "0.8.1" 2677 | source = "registry+https://github.com/rust-lang/crates.io-index" 2678 | checksum = "5d4f6d1145dcb577acf783d4e601bc1d76a13337bb54e6233add580b07344c8b" 2679 | dependencies = [ 2680 | "displaydoc", 2681 | "zerovec", 2682 | ] 2683 | 2684 | [[package]] 2685 | name = "tinyvec" 2686 | version = "1.9.0" 2687 | source = "registry+https://github.com/rust-lang/crates.io-index" 2688 | checksum = "09b3661f17e86524eccd4371ab0429194e0d7c008abb45f7a7495b1719463c71" 2689 | dependencies = [ 2690 | "tinyvec_macros", 2691 | ] 2692 | 2693 | [[package]] 2694 | name = "tinyvec_macros" 2695 | version = "0.1.1" 2696 | source = "registry+https://github.com/rust-lang/crates.io-index" 2697 | checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" 2698 | 2699 | [[package]] 2700 | name = "tokio" 2701 | version = "1.45.0" 2702 | source = "registry+https://github.com/rust-lang/crates.io-index" 2703 | checksum = "2513ca694ef9ede0fb23fe71a4ee4107cb102b9dc1930f6d0fd77aae068ae165" 2704 | dependencies = [ 2705 | "backtrace", 2706 | "bytes", 2707 | "libc", 2708 | "mio", 2709 | "parking_lot", 2710 | "pin-project-lite", 2711 | "signal-hook-registry", 2712 | "socket2", 2713 | "windows-sys 0.52.0", 2714 | ] 2715 | 2716 | [[package]] 2717 | name = "tokio-native-tls" 2718 | version = "0.3.1" 2719 | source = "registry+https://github.com/rust-lang/crates.io-index" 2720 | checksum = "bbae76ab933c85776efabc971569dd6119c580d8f5d448769dec1764bf796ef2" 2721 | dependencies = [ 2722 | "native-tls", 2723 | "tokio", 2724 | ] 2725 | 2726 | [[package]] 2727 | name = "tokio-rustls" 2728 | version = "0.26.2" 2729 | source = "registry+https://github.com/rust-lang/crates.io-index" 2730 | checksum = "8e727b36a1a0e8b74c376ac2211e40c2c8af09fb4013c60d910495810f008e9b" 2731 | dependencies = [ 2732 | "rustls", 2733 | "tokio", 2734 | ] 2735 | 2736 | [[package]] 2737 | name = "tokio-stream" 2738 | version = "0.1.17" 2739 | source = "registry+https://github.com/rust-lang/crates.io-index" 2740 | checksum = "eca58d7bba4a75707817a2c44174253f9236b2d5fbd055602e9d5c07c139a047" 2741 | dependencies = [ 2742 | "futures-core", 2743 | "pin-project-lite", 2744 | "tokio", 2745 | ] 2746 | 2747 | [[package]] 2748 | name = "tokio-util" 2749 | version = "0.7.15" 2750 | source = "registry+https://github.com/rust-lang/crates.io-index" 2751 | checksum = "66a539a9ad6d5d281510d5bd368c973d636c02dbf8a67300bfb6b950696ad7df" 2752 | dependencies = [ 2753 | "bytes", 2754 | "futures-core", 2755 | "futures-sink", 2756 | "pin-project-lite", 2757 | "tokio", 2758 | ] 2759 | 2760 | [[package]] 2761 | name = "tower" 2762 | version = "0.5.2" 2763 | source = "registry+https://github.com/rust-lang/crates.io-index" 2764 | checksum = "d039ad9159c98b70ecfd540b2573b97f7f52c3e8d9f8ad57a24b916a536975f9" 2765 | dependencies = [ 2766 | "futures-core", 2767 | "futures-util", 2768 | "pin-project-lite", 2769 | "sync_wrapper", 2770 | "tokio", 2771 | "tower-layer", 2772 | "tower-service", 2773 | ] 2774 | 2775 | [[package]] 2776 | name = "tower-layer" 2777 | version = "0.3.3" 2778 | source = "registry+https://github.com/rust-lang/crates.io-index" 2779 | checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e" 2780 | 2781 | [[package]] 2782 | name = "tower-service" 2783 | version = "0.3.3" 2784 | source = "registry+https://github.com/rust-lang/crates.io-index" 2785 | checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3" 2786 | 2787 | [[package]] 2788 | name = "tracing" 2789 | version = "0.1.41" 2790 | source = "registry+https://github.com/rust-lang/crates.io-index" 2791 | checksum = "784e0ac535deb450455cbfa28a6f0df145ea1bb7ae51b821cf5e7927fdcfbdd0" 2792 | dependencies = [ 2793 | "log", 2794 | "pin-project-lite", 2795 | "tracing-attributes", 2796 | "tracing-core", 2797 | ] 2798 | 2799 | [[package]] 2800 | name = "tracing-attributes" 2801 | version = "0.1.28" 2802 | source = "registry+https://github.com/rust-lang/crates.io-index" 2803 | checksum = "395ae124c09f9e6918a2310af6038fba074bcf474ac352496d5910dd59a2226d" 2804 | dependencies = [ 2805 | "proc-macro2", 2806 | "quote", 2807 | "syn", 2808 | ] 2809 | 2810 | [[package]] 2811 | name = "tracing-core" 2812 | version = "0.1.33" 2813 | source = "registry+https://github.com/rust-lang/crates.io-index" 2814 | checksum = "e672c95779cf947c5311f83787af4fa8fffd12fb27e4993211a84bdfd9610f9c" 2815 | dependencies = [ 2816 | "once_cell", 2817 | ] 2818 | 2819 | [[package]] 2820 | name = "try-lock" 2821 | version = "0.2.5" 2822 | source = "registry+https://github.com/rust-lang/crates.io-index" 2823 | checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" 2824 | 2825 | [[package]] 2826 | name = "typenum" 2827 | version = "1.18.0" 2828 | source = "registry+https://github.com/rust-lang/crates.io-index" 2829 | checksum = "1dccffe3ce07af9386bfd29e80c0ab1a8205a2fc34e4bcd40364df902cfa8f3f" 2830 | 2831 | [[package]] 2832 | name = "ucd-trie" 2833 | version = "0.1.7" 2834 | source = "registry+https://github.com/rust-lang/crates.io-index" 2835 | checksum = "2896d95c02a80c6d6a5d6e953d479f5ddf2dfdb6a244441010e373ac0fb88971" 2836 | 2837 | [[package]] 2838 | name = "unic-char-property" 2839 | version = "0.9.0" 2840 | source = "registry+https://github.com/rust-lang/crates.io-index" 2841 | checksum = "a8c57a407d9b6fa02b4795eb81c5b6652060a15a7903ea981f3d723e6c0be221" 2842 | dependencies = [ 2843 | "unic-char-range", 2844 | ] 2845 | 2846 | [[package]] 2847 | name = "unic-char-range" 2848 | version = "0.9.0" 2849 | source = "registry+https://github.com/rust-lang/crates.io-index" 2850 | checksum = "0398022d5f700414f6b899e10b8348231abf9173fa93144cbc1a43b9793c1fbc" 2851 | 2852 | [[package]] 2853 | name = "unic-common" 2854 | version = "0.9.0" 2855 | source = "registry+https://github.com/rust-lang/crates.io-index" 2856 | checksum = "80d7ff825a6a654ee85a63e80f92f054f904f21e7d12da4e22f9834a4aaa35bc" 2857 | 2858 | [[package]] 2859 | name = "unic-segment" 2860 | version = "0.9.0" 2861 | source = "registry+https://github.com/rust-lang/crates.io-index" 2862 | checksum = "e4ed5d26be57f84f176157270c112ef57b86debac9cd21daaabbe56db0f88f23" 2863 | dependencies = [ 2864 | "unic-ucd-segment", 2865 | ] 2866 | 2867 | [[package]] 2868 | name = "unic-ucd-segment" 2869 | version = "0.9.0" 2870 | source = "registry+https://github.com/rust-lang/crates.io-index" 2871 | checksum = "2079c122a62205b421f499da10f3ee0f7697f012f55b675e002483c73ea34700" 2872 | dependencies = [ 2873 | "unic-char-property", 2874 | "unic-char-range", 2875 | "unic-ucd-version", 2876 | ] 2877 | 2878 | [[package]] 2879 | name = "unic-ucd-version" 2880 | version = "0.9.0" 2881 | source = "registry+https://github.com/rust-lang/crates.io-index" 2882 | checksum = "96bd2f2237fe450fcd0a1d2f5f4e91711124f7857ba2e964247776ebeeb7b0c4" 2883 | dependencies = [ 2884 | "unic-common", 2885 | ] 2886 | 2887 | [[package]] 2888 | name = "unicode-bidi" 2889 | version = "0.3.18" 2890 | source = "registry+https://github.com/rust-lang/crates.io-index" 2891 | checksum = "5c1cb5db39152898a79168971543b1cb5020dff7fe43c8dc468b0885f5e29df5" 2892 | 2893 | [[package]] 2894 | name = "unicode-ident" 2895 | version = "1.0.18" 2896 | source = "registry+https://github.com/rust-lang/crates.io-index" 2897 | checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512" 2898 | 2899 | [[package]] 2900 | name = "unicode-normalization" 2901 | version = "0.1.24" 2902 | source = "registry+https://github.com/rust-lang/crates.io-index" 2903 | checksum = "5033c97c4262335cded6d6fc3e5c18ab755e1a3dc96376350f3d8e9f009ad956" 2904 | dependencies = [ 2905 | "tinyvec", 2906 | ] 2907 | 2908 | [[package]] 2909 | name = "unicode-properties" 2910 | version = "0.1.3" 2911 | source = "registry+https://github.com/rust-lang/crates.io-index" 2912 | checksum = "e70f2a8b45122e719eb623c01822704c4e0907e7e426a05927e1a1cfff5b75d0" 2913 | 2914 | [[package]] 2915 | name = "unicode-xid" 2916 | version = "0.2.6" 2917 | source = "registry+https://github.com/rust-lang/crates.io-index" 2918 | checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" 2919 | 2920 | [[package]] 2921 | name = "untrusted" 2922 | version = "0.9.0" 2923 | source = "registry+https://github.com/rust-lang/crates.io-index" 2924 | checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" 2925 | 2926 | [[package]] 2927 | name = "url" 2928 | version = "2.5.4" 2929 | source = "registry+https://github.com/rust-lang/crates.io-index" 2930 | checksum = "32f8b686cadd1473f4bd0117a5d28d36b1ade384ea9b5069a1c40aefed7fda60" 2931 | dependencies = [ 2932 | "form_urlencoded", 2933 | "idna", 2934 | "percent-encoding", 2935 | ] 2936 | 2937 | [[package]] 2938 | name = "utf8-width" 2939 | version = "0.1.7" 2940 | source = "registry+https://github.com/rust-lang/crates.io-index" 2941 | checksum = "86bd8d4e895da8537e5315b8254664e6b769c4ff3db18321b297a1e7004392e3" 2942 | 2943 | [[package]] 2944 | name = "utf8_iter" 2945 | version = "1.0.4" 2946 | source = "registry+https://github.com/rust-lang/crates.io-index" 2947 | checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" 2948 | 2949 | [[package]] 2950 | name = "uuid" 2951 | version = "1.16.0" 2952 | source = "registry+https://github.com/rust-lang/crates.io-index" 2953 | checksum = "458f7a779bf54acc9f347480ac654f68407d3aab21269a6e3c9f922acd9e2da9" 2954 | dependencies = [ 2955 | "getrandom 0.3.3", 2956 | ] 2957 | 2958 | [[package]] 2959 | name = "vcpkg" 2960 | version = "0.2.15" 2961 | source = "registry+https://github.com/rust-lang/crates.io-index" 2962 | checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" 2963 | 2964 | [[package]] 2965 | name = "version_check" 2966 | version = "0.9.5" 2967 | source = "registry+https://github.com/rust-lang/crates.io-index" 2968 | checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" 2969 | 2970 | [[package]] 2971 | name = "walkdir" 2972 | version = "2.5.0" 2973 | source = "registry+https://github.com/rust-lang/crates.io-index" 2974 | checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" 2975 | dependencies = [ 2976 | "same-file", 2977 | "winapi-util", 2978 | ] 2979 | 2980 | [[package]] 2981 | name = "want" 2982 | version = "0.3.1" 2983 | source = "registry+https://github.com/rust-lang/crates.io-index" 2984 | checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e" 2985 | dependencies = [ 2986 | "try-lock", 2987 | ] 2988 | 2989 | [[package]] 2990 | name = "wasi" 2991 | version = "0.11.0+wasi-snapshot-preview1" 2992 | source = "registry+https://github.com/rust-lang/crates.io-index" 2993 | checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" 2994 | 2995 | [[package]] 2996 | name = "wasi" 2997 | version = "0.14.2+wasi-0.2.4" 2998 | source = "registry+https://github.com/rust-lang/crates.io-index" 2999 | checksum = "9683f9a5a998d873c0d21fcbe3c083009670149a8fab228644b8bd36b2c48cb3" 3000 | dependencies = [ 3001 | "wit-bindgen-rt", 3002 | ] 3003 | 3004 | [[package]] 3005 | name = "wasite" 3006 | version = "0.1.0" 3007 | source = "registry+https://github.com/rust-lang/crates.io-index" 3008 | checksum = "b8dad83b4f25e74f184f64c43b150b91efe7647395b42289f38e50566d82855b" 3009 | 3010 | [[package]] 3011 | name = "wasm-bindgen" 3012 | version = "0.2.100" 3013 | source = "registry+https://github.com/rust-lang/crates.io-index" 3014 | checksum = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5" 3015 | dependencies = [ 3016 | "cfg-if", 3017 | "once_cell", 3018 | "rustversion", 3019 | "wasm-bindgen-macro", 3020 | ] 3021 | 3022 | [[package]] 3023 | name = "wasm-bindgen-backend" 3024 | version = "0.2.100" 3025 | source = "registry+https://github.com/rust-lang/crates.io-index" 3026 | checksum = "2f0a0651a5c2bc21487bde11ee802ccaf4c51935d0d3d42a6101f98161700bc6" 3027 | dependencies = [ 3028 | "bumpalo", 3029 | "log", 3030 | "proc-macro2", 3031 | "quote", 3032 | "syn", 3033 | "wasm-bindgen-shared", 3034 | ] 3035 | 3036 | [[package]] 3037 | name = "wasm-bindgen-futures" 3038 | version = "0.4.50" 3039 | source = "registry+https://github.com/rust-lang/crates.io-index" 3040 | checksum = "555d470ec0bc3bb57890405e5d4322cc9ea83cebb085523ced7be4144dac1e61" 3041 | dependencies = [ 3042 | "cfg-if", 3043 | "js-sys", 3044 | "once_cell", 3045 | "wasm-bindgen", 3046 | "web-sys", 3047 | ] 3048 | 3049 | [[package]] 3050 | name = "wasm-bindgen-macro" 3051 | version = "0.2.100" 3052 | source = "registry+https://github.com/rust-lang/crates.io-index" 3053 | checksum = "7fe63fc6d09ed3792bd0897b314f53de8e16568c2b3f7982f468c0bf9bd0b407" 3054 | dependencies = [ 3055 | "quote", 3056 | "wasm-bindgen-macro-support", 3057 | ] 3058 | 3059 | [[package]] 3060 | name = "wasm-bindgen-macro-support" 3061 | version = "0.2.100" 3062 | source = "registry+https://github.com/rust-lang/crates.io-index" 3063 | checksum = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de" 3064 | dependencies = [ 3065 | "proc-macro2", 3066 | "quote", 3067 | "syn", 3068 | "wasm-bindgen-backend", 3069 | "wasm-bindgen-shared", 3070 | ] 3071 | 3072 | [[package]] 3073 | name = "wasm-bindgen-shared" 3074 | version = "0.2.100" 3075 | source = "registry+https://github.com/rust-lang/crates.io-index" 3076 | checksum = "1a05d73b933a847d6cccdda8f838a22ff101ad9bf93e33684f39c1f5f0eece3d" 3077 | dependencies = [ 3078 | "unicode-ident", 3079 | ] 3080 | 3081 | [[package]] 3082 | name = "web-sys" 3083 | version = "0.3.77" 3084 | source = "registry+https://github.com/rust-lang/crates.io-index" 3085 | checksum = "33b6dd2ef9186f1f2072e409e99cd22a975331a6b3591b12c764e0e55c60d5d2" 3086 | dependencies = [ 3087 | "js-sys", 3088 | "wasm-bindgen", 3089 | ] 3090 | 3091 | [[package]] 3092 | name = "webpki-roots" 3093 | version = "0.26.11" 3094 | source = "registry+https://github.com/rust-lang/crates.io-index" 3095 | checksum = "521bc38abb08001b01866da9f51eb7c5d647a19260e00054a8c7fd5f9e57f7a9" 3096 | dependencies = [ 3097 | "webpki-roots 1.0.0", 3098 | ] 3099 | 3100 | [[package]] 3101 | name = "webpki-roots" 3102 | version = "1.0.0" 3103 | source = "registry+https://github.com/rust-lang/crates.io-index" 3104 | checksum = "2853738d1cc4f2da3a225c18ec6c3721abb31961096e9dbf5ab35fa88b19cfdb" 3105 | dependencies = [ 3106 | "rustls-pki-types", 3107 | ] 3108 | 3109 | [[package]] 3110 | name = "whoami" 3111 | version = "1.6.0" 3112 | source = "registry+https://github.com/rust-lang/crates.io-index" 3113 | checksum = "6994d13118ab492c3c80c1f81928718159254c53c472bf9ce36f8dae4add02a7" 3114 | dependencies = [ 3115 | "redox_syscall", 3116 | "wasite", 3117 | ] 3118 | 3119 | [[package]] 3120 | name = "winapi-util" 3121 | version = "0.1.9" 3122 | source = "registry+https://github.com/rust-lang/crates.io-index" 3123 | checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" 3124 | dependencies = [ 3125 | "windows-sys 0.59.0", 3126 | ] 3127 | 3128 | [[package]] 3129 | name = "windows-core" 3130 | version = "0.61.1" 3131 | source = "registry+https://github.com/rust-lang/crates.io-index" 3132 | checksum = "46ec44dc15085cea82cf9c78f85a9114c463a369786585ad2882d1ff0b0acf40" 3133 | dependencies = [ 3134 | "windows-implement", 3135 | "windows-interface", 3136 | "windows-link", 3137 | "windows-result", 3138 | "windows-strings 0.4.1", 3139 | ] 3140 | 3141 | [[package]] 3142 | name = "windows-implement" 3143 | version = "0.60.0" 3144 | source = "registry+https://github.com/rust-lang/crates.io-index" 3145 | checksum = "a47fddd13af08290e67f4acabf4b459f647552718f683a7b415d290ac744a836" 3146 | dependencies = [ 3147 | "proc-macro2", 3148 | "quote", 3149 | "syn", 3150 | ] 3151 | 3152 | [[package]] 3153 | name = "windows-interface" 3154 | version = "0.59.1" 3155 | source = "registry+https://github.com/rust-lang/crates.io-index" 3156 | checksum = "bd9211b69f8dcdfa817bfd14bf1c97c9188afa36f4750130fcdf3f400eca9fa8" 3157 | dependencies = [ 3158 | "proc-macro2", 3159 | "quote", 3160 | "syn", 3161 | ] 3162 | 3163 | [[package]] 3164 | name = "windows-link" 3165 | version = "0.1.1" 3166 | source = "registry+https://github.com/rust-lang/crates.io-index" 3167 | checksum = "76840935b766e1b0a05c0066835fb9ec80071d4c09a16f6bd5f7e655e3c14c38" 3168 | 3169 | [[package]] 3170 | name = "windows-registry" 3171 | version = "0.4.0" 3172 | source = "registry+https://github.com/rust-lang/crates.io-index" 3173 | checksum = "4286ad90ddb45071efd1a66dfa43eb02dd0dfbae1545ad6cc3c51cf34d7e8ba3" 3174 | dependencies = [ 3175 | "windows-result", 3176 | "windows-strings 0.3.1", 3177 | "windows-targets 0.53.0", 3178 | ] 3179 | 3180 | [[package]] 3181 | name = "windows-result" 3182 | version = "0.3.3" 3183 | source = "registry+https://github.com/rust-lang/crates.io-index" 3184 | checksum = "4b895b5356fc36103d0f64dd1e94dfa7ac5633f1c9dd6e80fe9ec4adef69e09d" 3185 | dependencies = [ 3186 | "windows-link", 3187 | ] 3188 | 3189 | [[package]] 3190 | name = "windows-strings" 3191 | version = "0.3.1" 3192 | source = "registry+https://github.com/rust-lang/crates.io-index" 3193 | checksum = "87fa48cc5d406560701792be122a10132491cff9d0aeb23583cc2dcafc847319" 3194 | dependencies = [ 3195 | "windows-link", 3196 | ] 3197 | 3198 | [[package]] 3199 | name = "windows-strings" 3200 | version = "0.4.1" 3201 | source = "registry+https://github.com/rust-lang/crates.io-index" 3202 | checksum = "2a7ab927b2637c19b3dbe0965e75d8f2d30bdd697a1516191cad2ec4df8fb28a" 3203 | dependencies = [ 3204 | "windows-link", 3205 | ] 3206 | 3207 | [[package]] 3208 | name = "windows-sys" 3209 | version = "0.48.0" 3210 | source = "registry+https://github.com/rust-lang/crates.io-index" 3211 | checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" 3212 | dependencies = [ 3213 | "windows-targets 0.48.5", 3214 | ] 3215 | 3216 | [[package]] 3217 | name = "windows-sys" 3218 | version = "0.52.0" 3219 | source = "registry+https://github.com/rust-lang/crates.io-index" 3220 | checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" 3221 | dependencies = [ 3222 | "windows-targets 0.52.6", 3223 | ] 3224 | 3225 | [[package]] 3226 | name = "windows-sys" 3227 | version = "0.59.0" 3228 | source = "registry+https://github.com/rust-lang/crates.io-index" 3229 | checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" 3230 | dependencies = [ 3231 | "windows-targets 0.52.6", 3232 | ] 3233 | 3234 | [[package]] 3235 | name = "windows-targets" 3236 | version = "0.48.5" 3237 | source = "registry+https://github.com/rust-lang/crates.io-index" 3238 | checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" 3239 | dependencies = [ 3240 | "windows_aarch64_gnullvm 0.48.5", 3241 | "windows_aarch64_msvc 0.48.5", 3242 | "windows_i686_gnu 0.48.5", 3243 | "windows_i686_msvc 0.48.5", 3244 | "windows_x86_64_gnu 0.48.5", 3245 | "windows_x86_64_gnullvm 0.48.5", 3246 | "windows_x86_64_msvc 0.48.5", 3247 | ] 3248 | 3249 | [[package]] 3250 | name = "windows-targets" 3251 | version = "0.52.6" 3252 | source = "registry+https://github.com/rust-lang/crates.io-index" 3253 | checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" 3254 | dependencies = [ 3255 | "windows_aarch64_gnullvm 0.52.6", 3256 | "windows_aarch64_msvc 0.52.6", 3257 | "windows_i686_gnu 0.52.6", 3258 | "windows_i686_gnullvm 0.52.6", 3259 | "windows_i686_msvc 0.52.6", 3260 | "windows_x86_64_gnu 0.52.6", 3261 | "windows_x86_64_gnullvm 0.52.6", 3262 | "windows_x86_64_msvc 0.52.6", 3263 | ] 3264 | 3265 | [[package]] 3266 | name = "windows-targets" 3267 | version = "0.53.0" 3268 | source = "registry+https://github.com/rust-lang/crates.io-index" 3269 | checksum = "b1e4c7e8ceaaf9cb7d7507c974735728ab453b67ef8f18febdd7c11fe59dca8b" 3270 | dependencies = [ 3271 | "windows_aarch64_gnullvm 0.53.0", 3272 | "windows_aarch64_msvc 0.53.0", 3273 | "windows_i686_gnu 0.53.0", 3274 | "windows_i686_gnullvm 0.53.0", 3275 | "windows_i686_msvc 0.53.0", 3276 | "windows_x86_64_gnu 0.53.0", 3277 | "windows_x86_64_gnullvm 0.53.0", 3278 | "windows_x86_64_msvc 0.53.0", 3279 | ] 3280 | 3281 | [[package]] 3282 | name = "windows_aarch64_gnullvm" 3283 | version = "0.48.5" 3284 | source = "registry+https://github.com/rust-lang/crates.io-index" 3285 | checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" 3286 | 3287 | [[package]] 3288 | name = "windows_aarch64_gnullvm" 3289 | version = "0.52.6" 3290 | source = "registry+https://github.com/rust-lang/crates.io-index" 3291 | checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" 3292 | 3293 | [[package]] 3294 | name = "windows_aarch64_gnullvm" 3295 | version = "0.53.0" 3296 | source = "registry+https://github.com/rust-lang/crates.io-index" 3297 | checksum = "86b8d5f90ddd19cb4a147a5fa63ca848db3df085e25fee3cc10b39b6eebae764" 3298 | 3299 | [[package]] 3300 | name = "windows_aarch64_msvc" 3301 | version = "0.48.5" 3302 | source = "registry+https://github.com/rust-lang/crates.io-index" 3303 | checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" 3304 | 3305 | [[package]] 3306 | name = "windows_aarch64_msvc" 3307 | version = "0.52.6" 3308 | source = "registry+https://github.com/rust-lang/crates.io-index" 3309 | checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" 3310 | 3311 | [[package]] 3312 | name = "windows_aarch64_msvc" 3313 | version = "0.53.0" 3314 | source = "registry+https://github.com/rust-lang/crates.io-index" 3315 | checksum = "c7651a1f62a11b8cbd5e0d42526e55f2c99886c77e007179efff86c2b137e66c" 3316 | 3317 | [[package]] 3318 | name = "windows_i686_gnu" 3319 | version = "0.48.5" 3320 | source = "registry+https://github.com/rust-lang/crates.io-index" 3321 | checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" 3322 | 3323 | [[package]] 3324 | name = "windows_i686_gnu" 3325 | version = "0.52.6" 3326 | source = "registry+https://github.com/rust-lang/crates.io-index" 3327 | checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" 3328 | 3329 | [[package]] 3330 | name = "windows_i686_gnu" 3331 | version = "0.53.0" 3332 | source = "registry+https://github.com/rust-lang/crates.io-index" 3333 | checksum = "c1dc67659d35f387f5f6c479dc4e28f1d4bb90ddd1a5d3da2e5d97b42d6272c3" 3334 | 3335 | [[package]] 3336 | name = "windows_i686_gnullvm" 3337 | version = "0.52.6" 3338 | source = "registry+https://github.com/rust-lang/crates.io-index" 3339 | checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" 3340 | 3341 | [[package]] 3342 | name = "windows_i686_gnullvm" 3343 | version = "0.53.0" 3344 | source = "registry+https://github.com/rust-lang/crates.io-index" 3345 | checksum = "9ce6ccbdedbf6d6354471319e781c0dfef054c81fbc7cf83f338a4296c0cae11" 3346 | 3347 | [[package]] 3348 | name = "windows_i686_msvc" 3349 | version = "0.48.5" 3350 | source = "registry+https://github.com/rust-lang/crates.io-index" 3351 | checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" 3352 | 3353 | [[package]] 3354 | name = "windows_i686_msvc" 3355 | version = "0.52.6" 3356 | source = "registry+https://github.com/rust-lang/crates.io-index" 3357 | checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" 3358 | 3359 | [[package]] 3360 | name = "windows_i686_msvc" 3361 | version = "0.53.0" 3362 | source = "registry+https://github.com/rust-lang/crates.io-index" 3363 | checksum = "581fee95406bb13382d2f65cd4a908ca7b1e4c2f1917f143ba16efe98a589b5d" 3364 | 3365 | [[package]] 3366 | name = "windows_x86_64_gnu" 3367 | version = "0.48.5" 3368 | source = "registry+https://github.com/rust-lang/crates.io-index" 3369 | checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" 3370 | 3371 | [[package]] 3372 | name = "windows_x86_64_gnu" 3373 | version = "0.52.6" 3374 | source = "registry+https://github.com/rust-lang/crates.io-index" 3375 | checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" 3376 | 3377 | [[package]] 3378 | name = "windows_x86_64_gnu" 3379 | version = "0.53.0" 3380 | source = "registry+https://github.com/rust-lang/crates.io-index" 3381 | checksum = "2e55b5ac9ea33f2fc1716d1742db15574fd6fc8dadc51caab1c16a3d3b4190ba" 3382 | 3383 | [[package]] 3384 | name = "windows_x86_64_gnullvm" 3385 | version = "0.48.5" 3386 | source = "registry+https://github.com/rust-lang/crates.io-index" 3387 | checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" 3388 | 3389 | [[package]] 3390 | name = "windows_x86_64_gnullvm" 3391 | version = "0.52.6" 3392 | source = "registry+https://github.com/rust-lang/crates.io-index" 3393 | checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" 3394 | 3395 | [[package]] 3396 | name = "windows_x86_64_gnullvm" 3397 | version = "0.53.0" 3398 | source = "registry+https://github.com/rust-lang/crates.io-index" 3399 | checksum = "0a6e035dd0599267ce1ee132e51c27dd29437f63325753051e71dd9e42406c57" 3400 | 3401 | [[package]] 3402 | name = "windows_x86_64_msvc" 3403 | version = "0.48.5" 3404 | source = "registry+https://github.com/rust-lang/crates.io-index" 3405 | checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" 3406 | 3407 | [[package]] 3408 | name = "windows_x86_64_msvc" 3409 | version = "0.52.6" 3410 | source = "registry+https://github.com/rust-lang/crates.io-index" 3411 | checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" 3412 | 3413 | [[package]] 3414 | name = "windows_x86_64_msvc" 3415 | version = "0.53.0" 3416 | source = "registry+https://github.com/rust-lang/crates.io-index" 3417 | checksum = "271414315aff87387382ec3d271b52d7ae78726f5d44ac98b4f4030c91880486" 3418 | 3419 | [[package]] 3420 | name = "wit-bindgen-rt" 3421 | version = "0.39.0" 3422 | source = "registry+https://github.com/rust-lang/crates.io-index" 3423 | checksum = "6f42320e61fe2cfd34354ecb597f86f413484a798ba44a8ca1165c58d42da6c1" 3424 | dependencies = [ 3425 | "bitflags", 3426 | ] 3427 | 3428 | [[package]] 3429 | name = "writeable" 3430 | version = "0.6.1" 3431 | source = "registry+https://github.com/rust-lang/crates.io-index" 3432 | checksum = "ea2f10b9bb0928dfb1b42b65e1f9e36f7f54dbdf08457afefb38afcdec4fa2bb" 3433 | 3434 | [[package]] 3435 | name = "yoke" 3436 | version = "0.8.0" 3437 | source = "registry+https://github.com/rust-lang/crates.io-index" 3438 | checksum = "5f41bb01b8226ef4bfd589436a297c53d118f65921786300e427be8d487695cc" 3439 | dependencies = [ 3440 | "serde", 3441 | "stable_deref_trait", 3442 | "yoke-derive", 3443 | "zerofrom", 3444 | ] 3445 | 3446 | [[package]] 3447 | name = "yoke-derive" 3448 | version = "0.8.0" 3449 | source = "registry+https://github.com/rust-lang/crates.io-index" 3450 | checksum = "38da3c9736e16c5d3c8c597a9aaa5d1fa565d0532ae05e27c24aa62fb32c0ab6" 3451 | dependencies = [ 3452 | "proc-macro2", 3453 | "quote", 3454 | "syn", 3455 | "synstructure", 3456 | ] 3457 | 3458 | [[package]] 3459 | name = "zerocopy" 3460 | version = "0.8.25" 3461 | source = "registry+https://github.com/rust-lang/crates.io-index" 3462 | checksum = "a1702d9583232ddb9174e01bb7c15a2ab8fb1bc6f227aa1233858c351a3ba0cb" 3463 | dependencies = [ 3464 | "zerocopy-derive", 3465 | ] 3466 | 3467 | [[package]] 3468 | name = "zerocopy-derive" 3469 | version = "0.8.25" 3470 | source = "registry+https://github.com/rust-lang/crates.io-index" 3471 | checksum = "28a6e20d751156648aa063f3800b706ee209a32c0b4d9f24be3d980b01be55ef" 3472 | dependencies = [ 3473 | "proc-macro2", 3474 | "quote", 3475 | "syn", 3476 | ] 3477 | 3478 | [[package]] 3479 | name = "zerofrom" 3480 | version = "0.1.6" 3481 | source = "registry+https://github.com/rust-lang/crates.io-index" 3482 | checksum = "50cc42e0333e05660c3587f3bf9d0478688e15d870fab3346451ce7f8c9fbea5" 3483 | dependencies = [ 3484 | "zerofrom-derive", 3485 | ] 3486 | 3487 | [[package]] 3488 | name = "zerofrom-derive" 3489 | version = "0.1.6" 3490 | source = "registry+https://github.com/rust-lang/crates.io-index" 3491 | checksum = "d71e5d6e06ab090c67b5e44993ec16b72dcbaabc526db883a360057678b48502" 3492 | dependencies = [ 3493 | "proc-macro2", 3494 | "quote", 3495 | "syn", 3496 | "synstructure", 3497 | ] 3498 | 3499 | [[package]] 3500 | name = "zeroize" 3501 | version = "1.8.1" 3502 | source = "registry+https://github.com/rust-lang/crates.io-index" 3503 | checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde" 3504 | 3505 | [[package]] 3506 | name = "zerotrie" 3507 | version = "0.2.2" 3508 | source = "registry+https://github.com/rust-lang/crates.io-index" 3509 | checksum = "36f0bbd478583f79edad978b407914f61b2972f5af6fa089686016be8f9af595" 3510 | dependencies = [ 3511 | "displaydoc", 3512 | "yoke", 3513 | "zerofrom", 3514 | ] 3515 | 3516 | [[package]] 3517 | name = "zerovec" 3518 | version = "0.11.2" 3519 | source = "registry+https://github.com/rust-lang/crates.io-index" 3520 | checksum = "4a05eb080e015ba39cc9e23bbe5e7fb04d5fb040350f99f34e338d5fdd294428" 3521 | dependencies = [ 3522 | "yoke", 3523 | "zerofrom", 3524 | "zerovec-derive", 3525 | ] 3526 | 3527 | [[package]] 3528 | name = "zerovec-derive" 3529 | version = "0.11.1" 3530 | source = "registry+https://github.com/rust-lang/crates.io-index" 3531 | checksum = "5b96237efa0c878c64bd89c436f661be4e46b2f3eff1ebb976f7ef2321d2f58f" 3532 | dependencies = [ 3533 | "proc-macro2", 3534 | "quote", 3535 | "syn", 3536 | ] 3537 | 3538 | [[package]] 3539 | name = "zstd" 3540 | version = "0.13.3" 3541 | source = "registry+https://github.com/rust-lang/crates.io-index" 3542 | checksum = "e91ee311a569c327171651566e07972200e76fcfe2242a4fa446149a3881c08a" 3543 | dependencies = [ 3544 | "zstd-safe", 3545 | ] 3546 | 3547 | [[package]] 3548 | name = "zstd-safe" 3549 | version = "7.2.4" 3550 | source = "registry+https://github.com/rust-lang/crates.io-index" 3551 | checksum = "8f49c4d5f0abb602a93fb8736af2a4f4dd9512e36f7f570d66e65ff867ed3b9d" 3552 | dependencies = [ 3553 | "zstd-sys", 3554 | ] 3555 | 3556 | [[package]] 3557 | name = "zstd-sys" 3558 | version = "2.0.15+zstd.1.5.7" 3559 | source = "registry+https://github.com/rust-lang/crates.io-index" 3560 | checksum = "eb81183ddd97d0c74cedf1d50d85c8d08c1b8b68ee863bdee9e706eedba1a237" 3561 | dependencies = [ 3562 | "cc", 3563 | "pkg-config", 3564 | ] 3565 | -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "ics-proxy" 3 | version = "0.1.6" 4 | edition = "2021" 5 | 6 | # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html 7 | 8 | [dependencies] 9 | actix-web = "4.8" 10 | uuid = { version = "1.10", features = ["v4"] } 11 | url = "2.5" 12 | reqwest = { version = "0.12", features = ["blocking"] } 13 | tera = "1.20" 14 | dotenv = "0.15" 15 | sqlx = { version = "0.8", features = [ 16 | "sqlite", 17 | "any", 18 | "tls-rustls", 19 | "runtime-tokio", 20 | ] } 21 | chrono = "0.4.38" 22 | tokio = "1.45.0" 23 | 24 | [dev-dependencies] 25 | html-escape = "0.2.13" 26 | mockito = "1.7.0" 27 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM rust:1.77 as builder 2 | RUN apt-get update && apt-get install -y sqlite3 && rm -rf /var/lib/apt/lists/* 3 | RUN cargo install sqlx-cli 4 | WORKDIR /usr/src/ics-proxy 5 | COPY . . 6 | RUN sqlx database create 7 | RUN sqlx migrate run 8 | RUN cargo install --path . 9 | 10 | FROM debian:stable-slim 11 | RUN apt-get update && apt-get install -y sqlite3 openssl ca-certificates && rm -rf /var/lib/apt/lists/* 12 | WORKDIR app 13 | COPY --from=builder /usr/local/cargo/bin/ics-proxy ./ics-proxy 14 | COPY --from=builder /usr/src/ics-proxy/db db 15 | COPY templates ./templates 16 | CMD ["./ics-proxy"] 17 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 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 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ics-proxy 2 | 3 | You can find a running instance of this code on [ics-proxy.de](https://ics-proxy.de). The docker image is published on the [GitHub Container Registry](https://github.com/13hannes11/ics-proxy/pkgs/container/ics-proxy). 4 | 5 | ## Screenshots 6 | 7 | ![image](https://user-images.githubusercontent.com/9381167/136559243-2a7c9062-33e3-436e-a781-fef3173e1671.png) 8 | ![image](https://user-images.githubusercontent.com/9381167/136559368-3404a94f-35d1-4235-8c98-2f837b75fda0.png) 9 | 10 | 11 | 12 | ## Motivation 13 | 14 | This application was build because of my frustration with my Universities publishing of schedules. Schedules can be found on [TimeEdit](https://cloud.timeedit.net), 15 | however, changes to my schedule (for example dropping a course) meant that all ics links on all of my devices needed to be replaced. 16 | Additionally, each semester this needed to be done as well. I therefore created this proxy to have an easy way of replacing ics links without needing to update the link in my calenders. 17 | 18 | ## Building 19 | 20 | The easiest way to build this repository is to use docker. You can simply run `docker build -t ics-proxy .` 21 | 22 | Alternatively you can build and run a local dev version with `docker-compose -f docker-compose.dev.yml up`. 23 | 24 | ## Deployment 25 | 26 | To deploy you can simply use the `docker-compose.yml` file. 27 | 28 | ## Contributing 29 | Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. 30 | -------------------------------------------------------------------------------- /db/create_db.sh: -------------------------------------------------------------------------------- 1 | sqlite3 db.db < create_db.sql -------------------------------------------------------------------------------- /docker-compose.dev.yml: -------------------------------------------------------------------------------- 1 | version: '3' 2 | services: 3 | ics-proxy: 4 | container_name: ics-proxy 5 | build: . 6 | env_file: .env 7 | ports: 8 | - "8080:8080" 9 | volumes: 10 | - database:/app/db 11 | volumes: 12 | database: 13 | -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- 1 | version: '3' 2 | services: 3 | ics-proxy: 4 | container_name: ics-proxy 5 | image: ghcr.io/13hannes11/ics-proxy:latest 6 | env_file: .env 7 | ports: 8 | - "8080:8080" 9 | volumes: 10 | - database:/app/db 11 | volumes: 12 | database: 13 | -------------------------------------------------------------------------------- /migrations/20240425185919_inital_db_scheme.sql: -------------------------------------------------------------------------------- 1 | -- Add migration script here 2 | CREATE TABLE IF NOT EXISTS LINKS( 3 | UUID TEXT NOT NULL PRIMARY KEY, 4 | DESTINATION TEXT NOT NULL 5 | ); 6 | -------------------------------------------------------------------------------- /migrations/20240425193610_add_last_used_column.sql: -------------------------------------------------------------------------------- 1 | -- Add migration script here 2 | ALTER TABLE LINKS ADD COLUMN last_used TEXT; 3 | -------------------------------------------------------------------------------- /src/main.rs: -------------------------------------------------------------------------------- 1 | use actix_web::http::StatusCode; 2 | use actix_web::web::Data; 3 | use actix_web::{error, web, App, Error, HttpRequest, HttpResponse, HttpServer, Responder, Result}; 4 | use sqlx::{Pool, Sqlite, SqlitePool}; 5 | use std::collections::HashMap; 6 | use std::time::{Duration, SystemTime}; 7 | use tera::Tera; 8 | use tokio::time; 9 | use url::Url; 10 | use uuid::Uuid; 11 | extern crate dotenv; 12 | use actix_web::middleware::Logger; 13 | use dotenv::dotenv; 14 | mod model; 15 | use chrono::DateTime; 16 | 17 | use model::Link; 18 | 19 | use chrono::Utc; 20 | const REDIRECT_TIMEOUT_S: i32 = 2; 21 | 22 | #[derive(Clone)] 23 | struct Config { 24 | root: String, 25 | } 26 | 27 | async fn make_ics_request(req: HttpRequest, db_pool: web::Data>) -> impl Responder { 28 | let id = req.match_info().get("id").unwrap_or(""); 29 | let now = >>::into(SystemTime::now()).to_rfc3339(); 30 | println!("{now} serving ics request"); 31 | match Uuid::parse_str(id) { 32 | Ok(uuid) => match Link::find_by_uuid(uuid.to_string(), db_pool).await { 33 | Ok(link) => match reqwest::get(link.destination).await { 34 | Ok(r) => match r.text().await { 35 | Ok(res) => HttpResponse::Ok().content_type("text/calendar").body(res), 36 | Err(err) => { 37 | HttpResponse::build(StatusCode::INTERNAL_SERVER_ERROR).body(err.to_string()) 38 | } 39 | }, 40 | Err(err) => { 41 | HttpResponse::build(StatusCode::INTERNAL_SERVER_ERROR).body(err.to_string()) 42 | } 43 | }, 44 | Err(_) => HttpResponse::build(StatusCode::NOT_FOUND).finish(), 45 | }, 46 | Err(_) => HttpResponse::build(StatusCode::BAD_REQUEST).finish(), 47 | } 48 | } 49 | 50 | fn error_page( 51 | tmpl: web::Data, 52 | msg: String, 53 | status_code: StatusCode, 54 | ) -> Result { 55 | let mut ctx = tera::Context::new(); 56 | ctx.insert("message", &msg); 57 | let s = tmpl 58 | .render("error.html", &ctx) 59 | .map_err(|_| error::ErrorInternalServerError("Template error"))?; 60 | 61 | Ok(HttpResponse::Ok() 62 | .status(status_code) 63 | .content_type("text/html") 64 | .body(s)) 65 | } 66 | 67 | // This is the new edit page: 68 | async fn edit_page( 69 | tmpl: web::Data, 70 | query: web::Query>, 71 | db_pool: web::Data>, 72 | conf: web::Data, 73 | ) -> Result { 74 | let now = >>::into(SystemTime::now()).to_rfc3339(); 75 | println!("{now} serving edit page"); 76 | // one uuid: 9228c1a4-8956-4f1c-8b5f-53cc575bd78 77 | if let Some(uuid_str) = query.get("uuid") { 78 | match Uuid::parse_str(uuid_str) { 79 | Ok(uuid) => match Link::find_by_uuid(uuid.to_string(), db_pool).await { 80 | Ok(link) => { 81 | let mut ctx = tera::Context::new(); 82 | ctx.insert("link", &link.destination); 83 | ctx.insert("uuid", &link.uuid); 84 | ctx.insert("root", &conf.root); 85 | let s = tmpl 86 | .render("edit.html", &ctx) 87 | .map_err(|_| error::ErrorInternalServerError("Template error"))?; 88 | 89 | Ok(HttpResponse::Ok().content_type("text/html").body(s)) 90 | } 91 | Err(err) => error_page( 92 | tmpl, 93 | format!("db error: {}", err.to_string()), 94 | StatusCode::INTERNAL_SERVER_ERROR, 95 | ), 96 | }, 97 | Err(err) => error_page( 98 | tmpl, 99 | format!("uuid parsing error: {}", err.to_string()), 100 | StatusCode::BAD_REQUEST, 101 | ), 102 | } 103 | } else { 104 | error_page( 105 | tmpl, 106 | "uuid parameter missing".to_string(), 107 | StatusCode::BAD_REQUEST, 108 | ) 109 | } 110 | } 111 | 112 | fn redirect_to_page( 113 | tmpl: web::Data, 114 | message: String, 115 | link: String, 116 | time_s: i32, 117 | ) -> Result { 118 | let mut ctx = tera::Context::new(); 119 | ctx.insert("message", &message); 120 | ctx.insert("link", &link); 121 | ctx.insert("time", &time_s); 122 | let s = tmpl 123 | .render("redirect.html", &ctx) 124 | .map_err(|_| error::ErrorInternalServerError("Template error"))?; 125 | 126 | Ok(HttpResponse::Ok().content_type("text/html").body(s)) 127 | } 128 | 129 | fn redirect_to_edit_page( 130 | tmpl: web::Data, 131 | message: String, 132 | uuid: Uuid, 133 | time_s: i32, 134 | ) -> Result { 135 | let mut ctx = tera::Context::new(); 136 | ctx.insert("message", &message); 137 | let link = format!("/edit?uuid={}", uuid.to_string()); 138 | ctx.insert("time", &time_s); 139 | redirect_to_page(tmpl, message, link, time_s) 140 | } 141 | 142 | /* 143 | fn redirect_to_index_page( 144 | tmpl: web::Data, 145 | query: web::Query>, 146 | message: String, 147 | uuid: Uuid, 148 | time_s: i32, 149 | ) -> Result { 150 | // TODO: add option to prefill link 151 | } 152 | */ 153 | 154 | async fn edit_process( 155 | tmpl: web::Data, 156 | query: web::Query>, 157 | db_pool: web::Data>, 158 | config: web::Data, 159 | ) -> Result { 160 | // TODO: implement handling 161 | if let Some(uuid_str) = query.get("uuid") { 162 | if let Some(destination) = query.get("link") { 163 | if destination.starts_with(&config.root) { 164 | return error_page( 165 | tmpl, 166 | "url cannot contain url of ics-proxy".to_string(), 167 | StatusCode::BAD_REQUEST, 168 | ); 169 | }; 170 | 171 | if Url::parse(destination).is_err() { 172 | return error_page( 173 | tmpl, 174 | "could not parse url".to_string(), 175 | StatusCode::BAD_REQUEST, 176 | ); 177 | } 178 | 179 | match Uuid::parse_str(uuid_str) { 180 | Ok(uuid) => { 181 | let link = Link { 182 | uuid: uuid.to_string(), 183 | destination: destination.to_string(), 184 | }; 185 | match Link::update(link, db_pool).await { 186 | Ok(_) => redirect_to_edit_page( 187 | tmpl, 188 | "Edit successful!".to_string(), 189 | uuid, 190 | REDIRECT_TIMEOUT_S, 191 | ), 192 | Err(err) => error_page( 193 | tmpl, 194 | format!("db error: {}", err.to_string()), 195 | StatusCode::INTERNAL_SERVER_ERROR, 196 | ), 197 | } 198 | } 199 | Err(err) => error_page( 200 | tmpl, 201 | format!("uuid parsing error: {}", err.to_string()), 202 | StatusCode::BAD_REQUEST, 203 | ), 204 | } 205 | } else { 206 | error_page( 207 | tmpl, 208 | "link parameter missing".to_string(), 209 | StatusCode::BAD_REQUEST, 210 | ) 211 | } 212 | } else { 213 | error_page( 214 | tmpl, 215 | "uuid parameter missing".to_string(), 216 | StatusCode::BAD_REQUEST, 217 | ) 218 | } 219 | } 220 | 221 | async fn index_process( 222 | tmpl: web::Data, 223 | query: web::Query>, 224 | db_pool: web::Data>, 225 | config: web::Data, 226 | ) -> Result { 227 | if query.get("create").is_some() { 228 | let uuid = Uuid::new_v4(); 229 | // TODO: add actuall logic and use proper uuid 230 | match query.get("link") { 231 | // TODO: actually parse link to url to make sure its valid 232 | Some(destination) => { 233 | if destination.starts_with(&config.root) { 234 | return error_page( 235 | tmpl, 236 | "url cannot contain url of ics-proxy".to_string(), 237 | StatusCode::BAD_REQUEST, 238 | ); 239 | }; 240 | 241 | if Url::parse(destination).is_err() { 242 | return error_page( 243 | tmpl, 244 | "could not parse url".to_string(), 245 | StatusCode::BAD_REQUEST, 246 | ); 247 | } 248 | 249 | let insert_link = Link { 250 | uuid: uuid.to_string(), 251 | destination: destination.to_string(), 252 | }; 253 | 254 | match Link::create(insert_link, db_pool).await { 255 | Ok(link) => match Uuid::parse_str(&link.uuid) { 256 | Ok(uuid) => redirect_to_edit_page( 257 | tmpl, 258 | "Create was successful".to_string(), 259 | uuid, 260 | REDIRECT_TIMEOUT_S, 261 | ), 262 | Err(e) => error_page( 263 | tmpl, 264 | format!("uuid parsing error {}", e.to_string()), 265 | StatusCode::BAD_REQUEST, 266 | ), 267 | }, 268 | // TODO: actually redirect to index page to try again 269 | Err(e) => error_page( 270 | tmpl, 271 | format!("db error: {}", e.to_string()), 272 | StatusCode::INTERNAL_SERVER_ERROR, 273 | ), 274 | } 275 | } 276 | None => { 277 | // TODO: actually redirect back to index page 278 | error_page( 279 | tmpl, 280 | "link attribute not set please enter a link".to_string(), 281 | StatusCode::BAD_REQUEST, 282 | ) 283 | } 284 | } 285 | } else if query.get("edit").is_some() { 286 | match query.get("link") { 287 | Some(link) => { 288 | // Splitting string and getting uuid, alternatively pretend whole string is uuid 289 | let vec: Vec<&str> = link.split('/').collect(); 290 | 291 | let mut uuid_str = link.to_string(); 292 | if vec.len() > 1 { 293 | uuid_str = match vec.get(vec.len() - 2) { 294 | Some(s) => s.to_string(), 295 | None => link.to_string(), 296 | }; 297 | } 298 | 299 | match Uuid::parse_str(&uuid_str) { 300 | Ok(uuid) => redirect_to_edit_page( 301 | tmpl, 302 | "Got uuid from submission!".to_string(), 303 | uuid, 304 | REDIRECT_TIMEOUT_S, 305 | ), 306 | // TODO: actually redirect back to index page 307 | Err(e) => error_page( 308 | tmpl, 309 | format!("could not parse uuid: {}", e.to_string()), 310 | StatusCode::BAD_REQUEST, 311 | ), 312 | } 313 | } 314 | None => { 315 | // TODO: actually redirect back to index page 316 | error_page( 317 | tmpl, 318 | "link attribute not set please enter a link".to_string(), 319 | StatusCode::BAD_REQUEST, 320 | ) 321 | } 322 | } 323 | } else { 324 | error_page( 325 | tmpl, 326 | "missing create or edit form submission!".to_string(), 327 | StatusCode::BAD_REQUEST, 328 | ) 329 | } 330 | } 331 | 332 | // store tera template in application state 333 | async fn index(tmpl: web::Data) -> Result { 334 | // TODO: add option to prefill link with parameter 335 | let now = >>::into(SystemTime::now()).to_rfc3339(); 336 | println!("{now} serving index page"); 337 | let s = tmpl 338 | .render("index.html", &tera::Context::new()) 339 | .map_err(|_| error::ErrorInternalServerError("Template error"))?; 340 | Ok(HttpResponse::Ok().content_type("text/html").body(s)) 341 | } 342 | 343 | fn attach_templates(cfg: &mut web::ServiceConfig) { 344 | let tera = Tera::new("templates/**/*.html").unwrap(); 345 | cfg.app_data(Data::new(tera)); 346 | } 347 | 348 | fn attach_routes(cfg: &mut web::ServiceConfig) { 349 | cfg.route("/{id}/events.ics", web::get().to(make_ics_request)) 350 | .service(web::resource("/").route(web::get().to(index))) 351 | .service(web::resource("/edit").route(web::get().to(edit_page))) 352 | .service(web::resource("/index_process").route(web::get().to(index_process))) 353 | .service(web::resource("/edit_process").route(web::get().to(edit_process))); 354 | } 355 | 356 | #[actix_web::main] 357 | async fn main() -> std::io::Result<()> { 358 | std::env::set_var("RUST_LOG", "actix_web=info"); 359 | 360 | dotenv().ok(); 361 | 362 | let database_url = match std::env::var("DATABASE_URL") { 363 | Ok(var) => var, 364 | Err(e) => panic!("{}", e.to_string()), 365 | }; 366 | let protocol = 367 | std::env::var("PROTOCOL").expect("PROTOCOL environemt variable error, make sure it is set"); 368 | let base_url = 369 | std::env::var("BASE_URL").expect("BASE_URL environemt variable error, make sure it is set"); 370 | 371 | let host = match std::env::var("HOST") { 372 | Ok(host) => host, 373 | Err(_e) => "0.0.0.0:8080".to_string(), 374 | }; 375 | 376 | let conf = Config { 377 | root: format!("{}://{}", protocol, base_url), 378 | }; 379 | 380 | let db_pool = SqlitePool::connect(&database_url) 381 | .await 382 | .expect("could not create db pool"); 383 | 384 | sqlx::migrate!("./migrations").run(&db_pool).await.unwrap(); 385 | 386 | // Spawn a background task for periodic cleanup 387 | let cleanup_pool = db_pool.clone(); 388 | tokio::spawn(async move { 389 | run_periodic_cleanup(cleanup_pool).await; 390 | }); 391 | 392 | println!( 393 | "Listening on: {}://{}, open browser and visit have a try!", 394 | protocol, base_url 395 | ); 396 | HttpServer::new(move || { 397 | App::new() 398 | .wrap(Logger::new("%a %{User-Agent}i")) 399 | .app_data(Data::new(db_pool.clone())) // pass database pool to application so we can access it inside handlers 400 | .app_data(Data::new(conf.clone())) 401 | .configure(attach_templates) 402 | .configure(attach_routes) 403 | }) 404 | .bind(host)? 405 | .run() 406 | .await 407 | } 408 | 409 | async fn run_periodic_cleanup(pool: Pool) { 410 | let mut interval = time::interval(Duration::from_secs(3600)); 411 | 412 | loop { 413 | interval.tick().await; 414 | 415 | match model::delete_old_entries(&pool).await { 416 | Ok(rows) => { 417 | println!("Cleanup job: successfully deleted {} old entries", rows); 418 | } 419 | Err(err) => { 420 | eprintln!("Error in cleanup job: {}", err); 421 | } 422 | } 423 | } 424 | } 425 | 426 | #[cfg(test)] 427 | mod tests { 428 | use super::*; 429 | use actix_web::{test, web}; 430 | use sqlx::SqlitePool; 431 | 432 | async fn setup_test_db() -> Pool { 433 | let pool = SqlitePool::connect("sqlite::memory:") 434 | .await 435 | .expect("Failed to create test database"); 436 | 437 | sqlx::migrate!("./migrations") 438 | .run(&pool) 439 | .await 440 | .expect("Failed to run migrations"); 441 | 442 | pool 443 | } 444 | 445 | #[actix_web::test] 446 | async fn test_make_ics_request_destination_does_not_exist() { 447 | let pool = setup_test_db().await; 448 | 449 | let test_uuid = Uuid::new_v4().to_string(); 450 | let test_link = Link { 451 | uuid: test_uuid.clone(), 452 | destination: "http://calendar.example/calendar.ics".to_string(), 453 | }; 454 | 455 | Link::create(test_link, web::Data::new(pool.clone())) 456 | .await 457 | .expect("Failed to create test link"); 458 | 459 | let app = test::init_service( 460 | App::new() 461 | .app_data(web::Data::new(pool.clone())) 462 | .configure(attach_routes), 463 | ) 464 | .await; 465 | 466 | let req = test::TestRequest::get() 467 | .uri(&format!("/{}/events.ics", test_uuid)) 468 | .to_request(); 469 | 470 | let resp = test::call_service(&app, req).await; 471 | assert!(resp.status().is_server_error()); 472 | } 473 | 474 | #[actix_web::test] 475 | async fn test_edit_page() { 476 | let pool = setup_test_db().await; 477 | let test_uuid = Uuid::new_v4(); 478 | let destination = "http://calendar.example/".to_string(); 479 | let test_link = Link { 480 | uuid: test_uuid.to_string(), 481 | destination: destination.clone(), 482 | }; 483 | 484 | Link::create(test_link, web::Data::new(pool.clone())) 485 | .await 486 | .expect("Failed to create test link"); 487 | 488 | let app = test::init_service( 489 | App::new() 490 | .app_data(web::Data::new(pool.clone())) 491 | .configure(attach_templates) 492 | .configure(attach_routes) 493 | .app_data(web::Data::new(Config { 494 | root: "http://localhost:8080".to_string(), 495 | })), 496 | ) 497 | .await; 498 | 499 | let req = test::TestRequest::get() 500 | .uri(&format!("/edit?uuid={}", test_uuid)) 501 | .to_request(); 502 | 503 | let resp = test::call_service(&app, req).await; 504 | assert!(resp.status().is_success()); 505 | let body = test::read_body(resp).await; 506 | let body_content = String::from_utf8(body.to_vec()).unwrap(); 507 | let encoded_destination_url = html_escape::encode_safe(destination.as_str()); 508 | assert!(body_content.contains(encoded_destination_url.to_string().as_str())); 509 | } 510 | 511 | #[actix_web::test] 512 | async fn test_index_process_create() { 513 | let pool = setup_test_db().await; 514 | 515 | let app = test::init_service( 516 | App::new() 517 | .app_data(web::Data::new(pool.clone())) 518 | .configure(attach_routes) 519 | .configure(attach_templates) 520 | .app_data(web::Data::new(Config { 521 | root: "http://localhost:8080".to_string(), 522 | })), 523 | ) 524 | .await; 525 | 526 | let req = test::TestRequest::get() 527 | .uri("/index_process?create=1&link=https://example.com/calendar.ics") 528 | .to_request(); 529 | 530 | let resp = test::call_service(&app, req).await; 531 | assert!(resp.status().is_success()); 532 | } 533 | 534 | #[actix_web::test] 535 | async fn test_edit_process() { 536 | let pool = setup_test_db().await; 537 | let test_uuid = Uuid::new_v4(); 538 | let test_link = Link { 539 | uuid: test_uuid.to_string(), 540 | destination: "https://example.com/calendar.ics".to_string(), 541 | }; 542 | 543 | Link::create(test_link, web::Data::new(pool.clone())) 544 | .await 545 | .expect("Failed to create test link"); 546 | 547 | let app = test::init_service( 548 | App::new() 549 | .app_data(web::Data::new(pool.clone())) 550 | .configure(attach_routes) 551 | .configure(attach_templates) 552 | .app_data(web::Data::new(Config { 553 | root: "http://localhost:8080".to_string(), 554 | })), 555 | ) 556 | .await; 557 | 558 | let req = test::TestRequest::get() 559 | .uri(&format!( 560 | "/edit_process?uuid={}&link=https://example.com/new.ics", 561 | test_uuid 562 | )) 563 | .to_request(); 564 | 565 | let resp = test::call_service(&app, req).await; 566 | assert!(resp.status().is_success()); 567 | } 568 | 569 | #[actix_web::test] 570 | async fn test_edit_missing_uuid() { 571 | let pool = setup_test_db().await; 572 | let test_uuid = Uuid::new_v4(); 573 | 574 | let app = test::init_service( 575 | App::new() 576 | .app_data(web::Data::new(pool.clone())) 577 | .configure(attach_routes) 578 | .configure(attach_templates) 579 | .app_data(web::Data::new(Config { 580 | root: "http://localhost:8080".to_string(), 581 | })), 582 | ) 583 | .await; 584 | 585 | let req = test::TestRequest::get() 586 | .uri(&format!("/edit?uuid={}", test_uuid)) 587 | .to_request(); 588 | 589 | let resp = test::call_service(&app, req).await; 590 | // TODO: it would be better to return a 404 but for now this is fine 591 | assert!(resp.status().is_server_error()); 592 | } 593 | 594 | #[actix_web::test] 595 | async fn test_proxy_request() { 596 | let pool = setup_test_db().await; 597 | 598 | // Create a mock server 599 | let mut mock_server = mockito::Server::new_async().await; 600 | let calendar_data = "BEGIN:VCALENDAR\nEND:VCALENDAR"; 601 | let mock = mock_server 602 | .mock("GET", "/calendar.ics") 603 | .with_status(200) 604 | .with_header("content-type", "text/calendar") 605 | .with_body(calendar_data) 606 | .create(); 607 | 608 | let test_uuid = Uuid::new_v4().to_string(); 609 | let test_link = Link { 610 | uuid: test_uuid.clone(), 611 | destination: format!("{}/calendar.ics", mock_server.url()), 612 | }; 613 | 614 | Link::create(test_link, web::Data::new(pool.clone())) 615 | .await 616 | .expect("Failed to create test link"); 617 | 618 | let app = test::init_service( 619 | App::new() 620 | .app_data(web::Data::new(pool.clone())) 621 | .route("/{id}/events.ics", web::get().to(make_ics_request)), 622 | ) 623 | .await; 624 | 625 | let req = test::TestRequest::get() 626 | .uri(&format!("/{}/events.ics", test_uuid)) 627 | .to_request(); 628 | 629 | let resp = test::call_service(&app, req).await; 630 | assert!(resp.status().is_success()); 631 | 632 | let body = test::read_body(resp).await; 633 | assert_eq!(body, calendar_data); 634 | mock.assert(); 635 | } 636 | } 637 | -------------------------------------------------------------------------------- /src/model.rs: -------------------------------------------------------------------------------- 1 | use actix_web::web; 2 | use chrono::DateTime; 3 | use chrono::Duration; 4 | use chrono::Utc; 5 | use sqlx::{Pool, Sqlite}; 6 | use std::time::SystemTime; 7 | 8 | // Change to strings if to much headache 9 | pub struct Link { 10 | pub uuid: String, 11 | pub destination: String, 12 | } 13 | 14 | impl Link { 15 | pub async fn find_by_uuid( 16 | uuid: String, 17 | pool: web::Data>, 18 | ) -> Result { 19 | let now = >>::into(SystemTime::now()).to_rfc3339(); 20 | let mut tx = pool.begin().await?; 21 | println!("{now} find by uuid {uuid}"); 22 | let rec = sqlx::query!( 23 | r#" 24 | SELECT * FROM links WHERE uuid = $1 25 | "#, 26 | uuid 27 | ) 28 | .fetch_one(&mut *tx) 29 | .await?; 30 | 31 | sqlx::query!( 32 | r#" UPDATE links SET last_used = $1 WHERE uuid = $2"#, 33 | now, 34 | uuid, 35 | ) 36 | .execute(&mut *tx) 37 | .await?; 38 | tx.commit().await?; 39 | 40 | Ok(Link { 41 | uuid: rec.UUID, 42 | destination: rec.DESTINATION, 43 | }) 44 | } 45 | pub async fn update(link: Link, pool: web::Data>) -> Result { 46 | let mut tx = pool.begin().await?; 47 | sqlx::query("UPDATE links SET destination = $2 WHERE uuid = $1;") 48 | .bind(&link.uuid) 49 | .bind(&link.destination) 50 | .execute(&mut *tx) 51 | .await?; 52 | let now = >>::into(SystemTime::now()).to_rfc3339(); 53 | println!("{} update uuid {}", now, link.uuid); 54 | tx.commit().await?; 55 | Ok(link) 56 | } 57 | pub async fn create(link: Link, pool: web::Data>) -> Result { 58 | let mut tx = pool.begin().await?; 59 | sqlx::query("INSERT INTO links (uuid, destination) VALUES ($1, $2);") 60 | .bind(&link.uuid) 61 | .bind(&link.destination) 62 | .execute(&mut *tx) 63 | .await?; 64 | let now = >>::into(SystemTime::now()).to_rfc3339(); 65 | println!("{} create uuid {}", now, link.uuid); 66 | tx.commit().await?; 67 | Ok(link) 68 | } 69 | } 70 | 71 | pub async fn delete_old_entries(pool: &Pool) -> Result { 72 | let ninety_days_ago = Utc::now() - Duration::days(90); 73 | let ninety_days_ago_str = ninety_days_ago.to_rfc3339(); 74 | 75 | let mut tx = pool.begin().await?; 76 | println!( 77 | "{} deleting entries older than {}", 78 | Utc::now().to_rfc3339(), 79 | ninety_days_ago_str 80 | ); 81 | 82 | let result = sqlx::query!( 83 | r#" 84 | DELETE FROM links 85 | WHERE last_used < $1 86 | "#, 87 | ninety_days_ago_str 88 | ) 89 | .execute(&mut *tx) 90 | .await?; 91 | 92 | tx.commit().await?; 93 | Ok(result.rows_affected()) 94 | } 95 | -------------------------------------------------------------------------------- /templates/base.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 8 | {% block head %} 9 | {% block title %}{% endblock title %} - ics-proxy 10 | {% endblock head %} 11 | 12 | 13 | 14 | 38 |
39 | 49 |
50 | 54 | 55 | 56 | -------------------------------------------------------------------------------- /templates/edit.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | {% block title %}Edit{% endblock title %} 3 | {% block head %} 4 | {{ super() }} 5 | 14 | {% endblock head %} 15 | {% block content %} 16 | 17 |

Hi, your link is

18 |
19 | 20 | 21 |
22 | 23 | You can simply copy and past this link into any calendar application. 24 |
25 |
26 | To edit where it leads to: 27 |
28 | 29 |
30 | 31 | 32 |
33 |
34 | Back to main page 35 |
36 | 37 | {% endblock content %} -------------------------------------------------------------------------------- /templates/error.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | {% block content %} 3 | 6 | {% endblock content %} -------------------------------------------------------------------------------- /templates/index.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | {% block title %}Index{% endblock title %} 3 | {% block head %} 4 | {{ super() }} 5 | 38 | {% endblock head %} 39 | {% block content %} 40 |

Welcome!

41 | Here you can paste an ics link, to create a new proxy url. 42 | Alternatively you can paste an existing url to edit it. 43 |
44 |
45 | 47 | 48 |
49 |
50 | 52 | 54 |
55 |
56 |
57 |

How does it work?

58 | 59 | Upon submitting the server generates a unique link and stores this link together with the calendar link that was just 60 | entered. The generated link can be added to you calendar application. When your calendar application now wants to update 61 | the calendar it will contact this server. This server will contact the saved link and relay the answer. 62 | If you want to switch the what your calendar application receives you can edit the link. 63 | 64 |
65 |

How do I use it?

66 | 67 | Here an example use case: 68 |
    69 |
  1. 70 | A student enters a link to their schedule
    71 | (e.g: 72 | https://schedule.com/ri6Q56061Z9065Q.ics). 73 |
  2. 74 |
  3. 75 | The student now receives a unique link like: 76 | https://ics-proxy.de/9e737273-4441-4a84-8e3a-99482fd55715/events.ics 77 |
    78 | This link can now be added to calendar applications on phone, laptop, etc. 79 |
  4. 80 |
  5. 81 | When the students schedule changes they go to this site and pastes the unique link. Now where the link leads to 82 | can be replaced by a link to the new schedule link. The calendar application does not need to change. 83 |
  6. 84 |
85 | {% endblock content %} -------------------------------------------------------------------------------- /templates/redirect.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | {% block content %} 3 |

{{ message }}

4 |

Please wait to be redirected or click here!

5 | 6 | {% endblock content %} -------------------------------------------------------------------------------- /watch.sh: -------------------------------------------------------------------------------- 1 | # Requires cargo-watch (install with: 'cargo install cargo-watch') 2 | cargo watch -x 'run --bin ics-proxy' 3 | --------------------------------------------------------------------------------