├── .gitignore ├── .vscode └── extensions.json ├── README.md ├── index.html ├── package.json ├── src-tauri ├── .gitignore ├── Cargo.lock ├── Cargo.toml ├── build.rs ├── icons │ ├── 128x128.png │ ├── 128x128@2x.png │ ├── 32x32.png │ ├── Square107x107Logo.png │ ├── Square142x142Logo.png │ ├── Square150x150Logo.png │ ├── Square284x284Logo.png │ ├── Square30x30Logo.png │ ├── Square310x310Logo.png │ ├── Square44x44Logo.png │ ├── Square71x71Logo.png │ ├── Square89x89Logo.png │ ├── StoreLogo.png │ ├── icon.icns │ ├── icon.ico │ └── icon.png ├── src │ ├── database.rs │ ├── main.rs │ └── state.rs └── tauri.conf.json ├── src ├── assets │ ├── tauri.svg │ ├── typescript.svg │ └── vite.svg ├── main.ts └── styles.css ├── tsconfig.json ├── vite.config.ts └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | pnpm-debug.log* 8 | lerna-debug.log* 9 | 10 | node_modules 11 | dist 12 | dist-ssr 13 | *.local 14 | 15 | # Editor directories and files 16 | .vscode/* 17 | !.vscode/extensions.json 18 | .idea 19 | .DS_Store 20 | *.suo 21 | *.ntvs* 22 | *.njsproj 23 | *.sln 24 | *.sw? 25 | -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "recommendations": ["tauri-apps.tauri-vscode", "rust-lang.rust-analyzer"] 3 | } 4 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Tauri + Rusqlite 2 | 3 | A minimal example of how to set up a backend SQLite store with Tauri. 4 | 5 | I'm using [Rusqlite](https://docs.rs/rusqlite/latest/rusqlite/) to provide a nicer wrapper for SQLite. 6 | 7 | ## Setting up the database 8 | 9 | In `setup()` inside [main.rs](./src-tauri/src/main.rs), we initialize the database and put the `Connection` inside Tauri state. 10 | 11 | `initialize_database()` creates the expected path for our `.sqlite` file, using `app_handle.path_resolver().app_data_dir()`. It uses `PRAGMA user_version` to track the DB version. `0` means newly-created, and `1` means created. Further versions can be added as the schema changes. `upgrade_database_if_needed()` checks `user_version` and upgrades inside a transaction, to maintain database integrity. 12 | 13 | [state.rs](./src-tauri/src/state.rs) sets up the Tauri app state to hold the `Connection` object, to be re-used across the app. It provides some trait methods to grab the `Mutex` for the connection, run an operation and release it again. 14 | 15 | ## Accessing the `Connection` from commmands 16 | 17 | Inside Tauri commands we can supply a `app_handle: AppHandle` argument, which will be automatically populated by the Tauri framework. From there we can call our `db()` trait method on `app_handle` to do database operations. Anything returned from the closure will be passed through. 18 | 19 | ```rust 20 | let my_result = app_handle.db(|db: &Connection| /* Do something with the DB connection and return a value */); 21 | ``` 22 | 23 | I pass the `AppHandle` through to any other modules that need it, so they also have access to the `Connection`. You can also call `app_handle.clone()` in case you run into ownership issues. 24 | 25 | ## Recommended IDE Setup 26 | 27 | - [VS Code](https://code.visualstudio.com/) + [Tauri](https://marketplace.visualstudio.com/items?itemName=tauri-apps.tauri-vscode) + [rust-analyzer](https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer) 28 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Tauri App 8 | 9 | 18 | 19 | 20 | 21 |
22 |

Welcome to Tauri!

23 | 24 |
25 | 26 | 27 | 28 | 29 | 34 | 35 | 36 | 41 | 42 |
43 | 44 |

Click on the Tauri logo to learn more about the framework

45 | 46 |
47 |
48 | 49 | 50 |
51 |
52 | 53 |

54 |
55 | 56 | 57 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "tauri-sqlite", 3 | "private": true, 4 | "version": "0.0.0", 5 | "type": "module", 6 | "scripts": { 7 | "dev": "vite", 8 | "build": "tsc && vite build", 9 | "preview": "vite preview", 10 | "tauri": "tauri" 11 | }, 12 | "dependencies": { 13 | "@tauri-apps/api": "^1.2.0" 14 | }, 15 | "devDependencies": { 16 | "@tauri-apps/cli": "^1.2.2", 17 | "vite": "^4.0.0", 18 | "typescript": "^4.8.2" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src-tauri/.gitignore: -------------------------------------------------------------------------------- 1 | # Generated by Cargo 2 | # will have compiled files and executables 3 | /target/ 4 | 5 | -------------------------------------------------------------------------------- /src-tauri/Cargo.lock: -------------------------------------------------------------------------------- 1 | # This file is automatically @generated by Cargo. 2 | # It is not intended for manual editing. 3 | version = 3 4 | 5 | [[package]] 6 | name = "adler" 7 | version = "1.0.2" 8 | source = "registry+https://github.com/rust-lang/crates.io-index" 9 | checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" 10 | 11 | [[package]] 12 | name = "ahash" 13 | version = "0.7.6" 14 | source = "registry+https://github.com/rust-lang/crates.io-index" 15 | checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47" 16 | dependencies = [ 17 | "getrandom 0.2.8", 18 | "once_cell", 19 | "version_check", 20 | ] 21 | 22 | [[package]] 23 | name = "aho-corasick" 24 | version = "0.7.20" 25 | source = "registry+https://github.com/rust-lang/crates.io-index" 26 | checksum = "cc936419f96fa211c1b9166887b38e5e40b19958e5b895be7c1f93adec7071ac" 27 | dependencies = [ 28 | "memchr", 29 | ] 30 | 31 | [[package]] 32 | name = "alloc-no-stdlib" 33 | version = "2.0.4" 34 | source = "registry+https://github.com/rust-lang/crates.io-index" 35 | checksum = "cc7bb162ec39d46ab1ca8c77bf72e890535becd1751bb45f64c597edb4c8c6b3" 36 | 37 | [[package]] 38 | name = "alloc-stdlib" 39 | version = "0.2.2" 40 | source = "registry+https://github.com/rust-lang/crates.io-index" 41 | checksum = "94fb8275041c72129eb51b7d0322c29b8387a0386127718b096429201a5d6ece" 42 | dependencies = [ 43 | "alloc-no-stdlib", 44 | ] 45 | 46 | [[package]] 47 | name = "anyhow" 48 | version = "1.0.70" 49 | source = "registry+https://github.com/rust-lang/crates.io-index" 50 | checksum = "7de8ce5e0f9f8d88245311066a578d72b7af3e7088f32783804676302df237e4" 51 | 52 | [[package]] 53 | name = "atk" 54 | version = "0.15.1" 55 | source = "registry+https://github.com/rust-lang/crates.io-index" 56 | checksum = "2c3d816ce6f0e2909a96830d6911c2aff044370b1ef92d7f267b43bae5addedd" 57 | dependencies = [ 58 | "atk-sys", 59 | "bitflags 1.3.2", 60 | "glib", 61 | "libc", 62 | ] 63 | 64 | [[package]] 65 | name = "atk-sys" 66 | version = "0.15.1" 67 | source = "registry+https://github.com/rust-lang/crates.io-index" 68 | checksum = "58aeb089fb698e06db8089971c7ee317ab9644bade33383f63631437b03aafb6" 69 | dependencies = [ 70 | "glib-sys", 71 | "gobject-sys", 72 | "libc", 73 | "system-deps 6.0.4", 74 | ] 75 | 76 | [[package]] 77 | name = "autocfg" 78 | version = "1.1.0" 79 | source = "registry+https://github.com/rust-lang/crates.io-index" 80 | checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" 81 | 82 | [[package]] 83 | name = "base64" 84 | version = "0.13.1" 85 | source = "registry+https://github.com/rust-lang/crates.io-index" 86 | checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" 87 | 88 | [[package]] 89 | name = "base64" 90 | version = "0.21.0" 91 | source = "registry+https://github.com/rust-lang/crates.io-index" 92 | checksum = "a4a4ddaa51a5bc52a6948f74c06d20aaaddb71924eab79b8c97a8c556e942d6a" 93 | 94 | [[package]] 95 | name = "bitflags" 96 | version = "1.3.2" 97 | source = "registry+https://github.com/rust-lang/crates.io-index" 98 | checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" 99 | 100 | [[package]] 101 | name = "bitflags" 102 | version = "2.0.2" 103 | source = "registry+https://github.com/rust-lang/crates.io-index" 104 | checksum = "487f1e0fcbe47deb8b0574e646def1c903389d95241dd1bbcc6ce4a715dfc0c1" 105 | 106 | [[package]] 107 | name = "block" 108 | version = "0.1.6" 109 | source = "registry+https://github.com/rust-lang/crates.io-index" 110 | checksum = "0d8c1fef690941d3e7788d328517591fecc684c084084702d6ff1641e993699a" 111 | 112 | [[package]] 113 | name = "block-buffer" 114 | version = "0.10.4" 115 | source = "registry+https://github.com/rust-lang/crates.io-index" 116 | checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" 117 | dependencies = [ 118 | "generic-array", 119 | ] 120 | 121 | [[package]] 122 | name = "brotli" 123 | version = "3.3.4" 124 | source = "registry+https://github.com/rust-lang/crates.io-index" 125 | checksum = "a1a0b1dbcc8ae29329621f8d4f0d835787c1c38bb1401979b49d13b0b305ff68" 126 | dependencies = [ 127 | "alloc-no-stdlib", 128 | "alloc-stdlib", 129 | "brotli-decompressor", 130 | ] 131 | 132 | [[package]] 133 | name = "brotli-decompressor" 134 | version = "2.3.4" 135 | source = "registry+https://github.com/rust-lang/crates.io-index" 136 | checksum = "4b6561fd3f895a11e8f72af2cb7d22e08366bebc2b6b57f7744c4bda27034744" 137 | dependencies = [ 138 | "alloc-no-stdlib", 139 | "alloc-stdlib", 140 | ] 141 | 142 | [[package]] 143 | name = "bstr" 144 | version = "1.4.0" 145 | source = "registry+https://github.com/rust-lang/crates.io-index" 146 | checksum = "c3d4260bcc2e8fc9df1eac4919a720effeb63a3f0952f5bf4944adfa18897f09" 147 | dependencies = [ 148 | "memchr", 149 | "serde", 150 | ] 151 | 152 | [[package]] 153 | name = "bytemuck" 154 | version = "1.13.1" 155 | source = "registry+https://github.com/rust-lang/crates.io-index" 156 | checksum = "17febce684fd15d89027105661fec94afb475cb995fbc59d2865198446ba2eea" 157 | 158 | [[package]] 159 | name = "byteorder" 160 | version = "1.4.3" 161 | source = "registry+https://github.com/rust-lang/crates.io-index" 162 | checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" 163 | 164 | [[package]] 165 | name = "bytes" 166 | version = "1.4.0" 167 | source = "registry+https://github.com/rust-lang/crates.io-index" 168 | checksum = "89b2fd2a0dcf38d7971e2194b6b6eebab45ae01067456a7fd93d5547a61b70be" 169 | 170 | [[package]] 171 | name = "cairo-rs" 172 | version = "0.15.12" 173 | source = "registry+https://github.com/rust-lang/crates.io-index" 174 | checksum = "c76ee391b03d35510d9fa917357c7f1855bd9a6659c95a1b392e33f49b3369bc" 175 | dependencies = [ 176 | "bitflags 1.3.2", 177 | "cairo-sys-rs", 178 | "glib", 179 | "libc", 180 | "thiserror", 181 | ] 182 | 183 | [[package]] 184 | name = "cairo-sys-rs" 185 | version = "0.15.1" 186 | source = "registry+https://github.com/rust-lang/crates.io-index" 187 | checksum = "3c55d429bef56ac9172d25fecb85dc8068307d17acd74b377866b7a1ef25d3c8" 188 | dependencies = [ 189 | "glib-sys", 190 | "libc", 191 | "system-deps 6.0.4", 192 | ] 193 | 194 | [[package]] 195 | name = "cargo_toml" 196 | version = "0.13.3" 197 | source = "registry+https://github.com/rust-lang/crates.io-index" 198 | checksum = "497049e9477329f8f6a559972ee42e117487d01d1e8c2cc9f836ea6fa23a9e1a" 199 | dependencies = [ 200 | "serde", 201 | "toml 0.5.11", 202 | ] 203 | 204 | [[package]] 205 | name = "cc" 206 | version = "1.0.79" 207 | source = "registry+https://github.com/rust-lang/crates.io-index" 208 | checksum = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f" 209 | 210 | [[package]] 211 | name = "cesu8" 212 | version = "1.1.0" 213 | source = "registry+https://github.com/rust-lang/crates.io-index" 214 | checksum = "6d43a04d8753f35258c91f8ec639f792891f748a1edbd759cf1dcea3382ad83c" 215 | 216 | [[package]] 217 | name = "cfb" 218 | version = "0.6.1" 219 | source = "registry+https://github.com/rust-lang/crates.io-index" 220 | checksum = "74f89d248799e3f15f91b70917f65381062a01bb8e222700ea0e5a7ff9785f9c" 221 | dependencies = [ 222 | "byteorder", 223 | "uuid 0.8.2", 224 | ] 225 | 226 | [[package]] 227 | name = "cfg-expr" 228 | version = "0.9.1" 229 | source = "registry+https://github.com/rust-lang/crates.io-index" 230 | checksum = "3431df59f28accaf4cb4eed4a9acc66bea3f3c3753aa6cdc2f024174ef232af7" 231 | dependencies = [ 232 | "smallvec", 233 | ] 234 | 235 | [[package]] 236 | name = "cfg-expr" 237 | version = "0.14.0" 238 | source = "registry+https://github.com/rust-lang/crates.io-index" 239 | checksum = "a35b255461940a32985c627ce82900867c61db1659764d3675ea81963f72a4c6" 240 | dependencies = [ 241 | "smallvec", 242 | ] 243 | 244 | [[package]] 245 | name = "cfg-if" 246 | version = "1.0.0" 247 | source = "registry+https://github.com/rust-lang/crates.io-index" 248 | checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" 249 | 250 | [[package]] 251 | name = "cocoa" 252 | version = "0.24.1" 253 | source = "registry+https://github.com/rust-lang/crates.io-index" 254 | checksum = "f425db7937052c684daec3bd6375c8abe2d146dca4b8b143d6db777c39138f3a" 255 | dependencies = [ 256 | "bitflags 1.3.2", 257 | "block", 258 | "cocoa-foundation", 259 | "core-foundation", 260 | "core-graphics", 261 | "foreign-types", 262 | "libc", 263 | "objc", 264 | ] 265 | 266 | [[package]] 267 | name = "cocoa-foundation" 268 | version = "0.1.1" 269 | source = "registry+https://github.com/rust-lang/crates.io-index" 270 | checksum = "931d3837c286f56e3c58423ce4eba12d08db2374461a785c86f672b08b5650d6" 271 | dependencies = [ 272 | "bitflags 1.3.2", 273 | "block", 274 | "core-foundation", 275 | "core-graphics-types", 276 | "foreign-types", 277 | "libc", 278 | "objc", 279 | ] 280 | 281 | [[package]] 282 | name = "color_quant" 283 | version = "1.1.0" 284 | source = "registry+https://github.com/rust-lang/crates.io-index" 285 | checksum = "3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b" 286 | 287 | [[package]] 288 | name = "combine" 289 | version = "4.6.6" 290 | source = "registry+https://github.com/rust-lang/crates.io-index" 291 | checksum = "35ed6e9d84f0b51a7f52daf1c7d71dd136fd7a3f41a8462b8cdb8c78d920fad4" 292 | dependencies = [ 293 | "bytes", 294 | "memchr", 295 | ] 296 | 297 | [[package]] 298 | name = "convert_case" 299 | version = "0.4.0" 300 | source = "registry+https://github.com/rust-lang/crates.io-index" 301 | checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e" 302 | 303 | [[package]] 304 | name = "core-foundation" 305 | version = "0.9.3" 306 | source = "registry+https://github.com/rust-lang/crates.io-index" 307 | checksum = "194a7a9e6de53fa55116934067c844d9d749312f75c6f6d0980e8c252f8c2146" 308 | dependencies = [ 309 | "core-foundation-sys", 310 | "libc", 311 | ] 312 | 313 | [[package]] 314 | name = "core-foundation-sys" 315 | version = "0.8.3" 316 | source = "registry+https://github.com/rust-lang/crates.io-index" 317 | checksum = "5827cebf4670468b8772dd191856768aedcb1b0278a04f989f7766351917b9dc" 318 | 319 | [[package]] 320 | name = "core-graphics" 321 | version = "0.22.3" 322 | source = "registry+https://github.com/rust-lang/crates.io-index" 323 | checksum = "2581bbab3b8ffc6fcbd550bf46c355135d16e9ff2a6ea032ad6b9bf1d7efe4fb" 324 | dependencies = [ 325 | "bitflags 1.3.2", 326 | "core-foundation", 327 | "core-graphics-types", 328 | "foreign-types", 329 | "libc", 330 | ] 331 | 332 | [[package]] 333 | name = "core-graphics-types" 334 | version = "0.1.1" 335 | source = "registry+https://github.com/rust-lang/crates.io-index" 336 | checksum = "3a68b68b3446082644c91ac778bf50cd4104bfb002b5a6a7c44cca5a2c70788b" 337 | dependencies = [ 338 | "bitflags 1.3.2", 339 | "core-foundation", 340 | "foreign-types", 341 | "libc", 342 | ] 343 | 344 | [[package]] 345 | name = "cpufeatures" 346 | version = "0.2.6" 347 | source = "registry+https://github.com/rust-lang/crates.io-index" 348 | checksum = "280a9f2d8b3a38871a3c8a46fb80db65e5e5ed97da80c4d08bf27fb63e35e181" 349 | dependencies = [ 350 | "libc", 351 | ] 352 | 353 | [[package]] 354 | name = "crc32fast" 355 | version = "1.3.2" 356 | source = "registry+https://github.com/rust-lang/crates.io-index" 357 | checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d" 358 | dependencies = [ 359 | "cfg-if", 360 | ] 361 | 362 | [[package]] 363 | name = "crossbeam-channel" 364 | version = "0.5.7" 365 | source = "registry+https://github.com/rust-lang/crates.io-index" 366 | checksum = "cf2b3e8478797446514c91ef04bafcb59faba183e621ad488df88983cc14128c" 367 | dependencies = [ 368 | "cfg-if", 369 | "crossbeam-utils", 370 | ] 371 | 372 | [[package]] 373 | name = "crossbeam-utils" 374 | version = "0.8.15" 375 | source = "registry+https://github.com/rust-lang/crates.io-index" 376 | checksum = "3c063cd8cc95f5c377ed0d4b49a4b21f632396ff690e8470c29b3359b346984b" 377 | dependencies = [ 378 | "cfg-if", 379 | ] 380 | 381 | [[package]] 382 | name = "crypto-common" 383 | version = "0.1.6" 384 | source = "registry+https://github.com/rust-lang/crates.io-index" 385 | checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" 386 | dependencies = [ 387 | "generic-array", 388 | "typenum", 389 | ] 390 | 391 | [[package]] 392 | name = "cssparser" 393 | version = "0.27.2" 394 | source = "registry+https://github.com/rust-lang/crates.io-index" 395 | checksum = "754b69d351cdc2d8ee09ae203db831e005560fc6030da058f86ad60c92a9cb0a" 396 | dependencies = [ 397 | "cssparser-macros", 398 | "dtoa-short", 399 | "itoa 0.4.8", 400 | "matches", 401 | "phf 0.8.0", 402 | "proc-macro2", 403 | "quote", 404 | "smallvec", 405 | "syn 1.0.109", 406 | ] 407 | 408 | [[package]] 409 | name = "cssparser-macros" 410 | version = "0.6.0" 411 | source = "registry+https://github.com/rust-lang/crates.io-index" 412 | checksum = "dfae75de57f2b2e85e8768c3ea840fd159c8f33e2b6522c7835b7abac81be16e" 413 | dependencies = [ 414 | "quote", 415 | "syn 1.0.109", 416 | ] 417 | 418 | [[package]] 419 | name = "ctor" 420 | version = "0.1.26" 421 | source = "registry+https://github.com/rust-lang/crates.io-index" 422 | checksum = "6d2301688392eb071b0bf1a37be05c469d3cc4dbbd95df672fe28ab021e6a096" 423 | dependencies = [ 424 | "quote", 425 | "syn 1.0.109", 426 | ] 427 | 428 | [[package]] 429 | name = "darling" 430 | version = "0.13.4" 431 | source = "registry+https://github.com/rust-lang/crates.io-index" 432 | checksum = "a01d95850c592940db9b8194bc39f4bc0e89dee5c4265e4b1807c34a9aba453c" 433 | dependencies = [ 434 | "darling_core", 435 | "darling_macro", 436 | ] 437 | 438 | [[package]] 439 | name = "darling_core" 440 | version = "0.13.4" 441 | source = "registry+https://github.com/rust-lang/crates.io-index" 442 | checksum = "859d65a907b6852c9361e3185c862aae7fafd2887876799fa55f5f99dc40d610" 443 | dependencies = [ 444 | "fnv", 445 | "ident_case", 446 | "proc-macro2", 447 | "quote", 448 | "strsim", 449 | "syn 1.0.109", 450 | ] 451 | 452 | [[package]] 453 | name = "darling_macro" 454 | version = "0.13.4" 455 | source = "registry+https://github.com/rust-lang/crates.io-index" 456 | checksum = "9c972679f83bdf9c42bd905396b6c3588a843a17f0f16dfcfa3e2c5d57441835" 457 | dependencies = [ 458 | "darling_core", 459 | "quote", 460 | "syn 1.0.109", 461 | ] 462 | 463 | [[package]] 464 | name = "derive_more" 465 | version = "0.99.17" 466 | source = "registry+https://github.com/rust-lang/crates.io-index" 467 | checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321" 468 | dependencies = [ 469 | "convert_case", 470 | "proc-macro2", 471 | "quote", 472 | "rustc_version", 473 | "syn 1.0.109", 474 | ] 475 | 476 | [[package]] 477 | name = "digest" 478 | version = "0.10.6" 479 | source = "registry+https://github.com/rust-lang/crates.io-index" 480 | checksum = "8168378f4e5023e7218c89c891c0fd8ecdb5e5e4f18cb78f38cf245dd021e76f" 481 | dependencies = [ 482 | "block-buffer", 483 | "crypto-common", 484 | ] 485 | 486 | [[package]] 487 | name = "dirs-next" 488 | version = "2.0.0" 489 | source = "registry+https://github.com/rust-lang/crates.io-index" 490 | checksum = "b98cf8ebf19c3d1b223e151f99a4f9f0690dca41414773390fc824184ac833e1" 491 | dependencies = [ 492 | "cfg-if", 493 | "dirs-sys-next", 494 | ] 495 | 496 | [[package]] 497 | name = "dirs-sys-next" 498 | version = "0.1.2" 499 | source = "registry+https://github.com/rust-lang/crates.io-index" 500 | checksum = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d" 501 | dependencies = [ 502 | "libc", 503 | "redox_users", 504 | "winapi", 505 | ] 506 | 507 | [[package]] 508 | name = "dispatch" 509 | version = "0.2.0" 510 | source = "registry+https://github.com/rust-lang/crates.io-index" 511 | checksum = "bd0c93bb4b0c6d9b77f4435b0ae98c24d17f1c45b2ff844c6151a07256ca923b" 512 | 513 | [[package]] 514 | name = "dtoa" 515 | version = "0.4.8" 516 | source = "registry+https://github.com/rust-lang/crates.io-index" 517 | checksum = "56899898ce76aaf4a0f24d914c97ea6ed976d42fec6ad33fcbb0a1103e07b2b0" 518 | 519 | [[package]] 520 | name = "dtoa-short" 521 | version = "0.3.3" 522 | source = "registry+https://github.com/rust-lang/crates.io-index" 523 | checksum = "bde03329ae10e79ede66c9ce4dc930aa8599043b0743008548680f25b91502d6" 524 | dependencies = [ 525 | "dtoa", 526 | ] 527 | 528 | [[package]] 529 | name = "dunce" 530 | version = "1.0.3" 531 | source = "registry+https://github.com/rust-lang/crates.io-index" 532 | checksum = "0bd4b30a6560bbd9b4620f4de34c3f14f60848e58a9b7216801afcb4c7b31c3c" 533 | 534 | [[package]] 535 | name = "embed_plist" 536 | version = "1.2.2" 537 | source = "registry+https://github.com/rust-lang/crates.io-index" 538 | checksum = "4ef6b89e5b37196644d8796de5268852ff179b44e96276cf4290264843743bb7" 539 | 540 | [[package]] 541 | name = "encoding_rs" 542 | version = "0.8.32" 543 | source = "registry+https://github.com/rust-lang/crates.io-index" 544 | checksum = "071a31f4ee85403370b58aca746f01041ede6f0da2730960ad001edc2b71b394" 545 | dependencies = [ 546 | "cfg-if", 547 | ] 548 | 549 | [[package]] 550 | name = "errno" 551 | version = "0.3.0" 552 | source = "registry+https://github.com/rust-lang/crates.io-index" 553 | checksum = "50d6a0976c999d473fe89ad888d5a284e55366d9dc9038b1ba2aa15128c4afa0" 554 | dependencies = [ 555 | "errno-dragonfly", 556 | "libc", 557 | "windows-sys 0.45.0", 558 | ] 559 | 560 | [[package]] 561 | name = "errno-dragonfly" 562 | version = "0.1.2" 563 | source = "registry+https://github.com/rust-lang/crates.io-index" 564 | checksum = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf" 565 | dependencies = [ 566 | "cc", 567 | "libc", 568 | ] 569 | 570 | [[package]] 571 | name = "fallible-iterator" 572 | version = "0.2.0" 573 | source = "registry+https://github.com/rust-lang/crates.io-index" 574 | checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" 575 | 576 | [[package]] 577 | name = "fallible-streaming-iterator" 578 | version = "0.1.9" 579 | source = "registry+https://github.com/rust-lang/crates.io-index" 580 | checksum = "7360491ce676a36bf9bb3c56c1aa791658183a54d2744120f27285738d90465a" 581 | 582 | [[package]] 583 | name = "fastrand" 584 | version = "1.9.0" 585 | source = "registry+https://github.com/rust-lang/crates.io-index" 586 | checksum = "e51093e27b0797c359783294ca4f0a911c270184cb10f85783b118614a1501be" 587 | dependencies = [ 588 | "instant", 589 | ] 590 | 591 | [[package]] 592 | name = "field-offset" 593 | version = "0.3.5" 594 | source = "registry+https://github.com/rust-lang/crates.io-index" 595 | checksum = "a3cf3a800ff6e860c863ca6d4b16fd999db8b752819c1606884047b73e468535" 596 | dependencies = [ 597 | "memoffset", 598 | "rustc_version", 599 | ] 600 | 601 | [[package]] 602 | name = "filetime" 603 | version = "0.2.20" 604 | source = "registry+https://github.com/rust-lang/crates.io-index" 605 | checksum = "8a3de6e8d11b22ff9edc6d916f890800597d60f8b2da1caf2955c274638d6412" 606 | dependencies = [ 607 | "cfg-if", 608 | "libc", 609 | "redox_syscall 0.2.16", 610 | "windows-sys 0.45.0", 611 | ] 612 | 613 | [[package]] 614 | name = "flate2" 615 | version = "1.0.25" 616 | source = "registry+https://github.com/rust-lang/crates.io-index" 617 | checksum = "a8a2db397cb1c8772f31494cb8917e48cd1e64f0fa7efac59fbd741a0a8ce841" 618 | dependencies = [ 619 | "crc32fast", 620 | "miniz_oxide", 621 | ] 622 | 623 | [[package]] 624 | name = "fnv" 625 | version = "1.0.7" 626 | source = "registry+https://github.com/rust-lang/crates.io-index" 627 | checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" 628 | 629 | [[package]] 630 | name = "foreign-types" 631 | version = "0.3.2" 632 | source = "registry+https://github.com/rust-lang/crates.io-index" 633 | checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1" 634 | dependencies = [ 635 | "foreign-types-shared", 636 | ] 637 | 638 | [[package]] 639 | name = "foreign-types-shared" 640 | version = "0.1.1" 641 | source = "registry+https://github.com/rust-lang/crates.io-index" 642 | checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" 643 | 644 | [[package]] 645 | name = "form_urlencoded" 646 | version = "1.1.0" 647 | source = "registry+https://github.com/rust-lang/crates.io-index" 648 | checksum = "a9c384f161156f5260c24a097c56119f9be8c798586aecc13afbcbe7b7e26bf8" 649 | dependencies = [ 650 | "percent-encoding", 651 | ] 652 | 653 | [[package]] 654 | name = "futf" 655 | version = "0.1.5" 656 | source = "registry+https://github.com/rust-lang/crates.io-index" 657 | checksum = "df420e2e84819663797d1ec6544b13c5be84629e7bb00dc960d6917db2987843" 658 | dependencies = [ 659 | "mac", 660 | "new_debug_unreachable", 661 | ] 662 | 663 | [[package]] 664 | name = "futures-channel" 665 | version = "0.3.28" 666 | source = "registry+https://github.com/rust-lang/crates.io-index" 667 | checksum = "955518d47e09b25bbebc7a18df10b81f0c766eaf4c4f1cccef2fca5f2a4fb5f2" 668 | dependencies = [ 669 | "futures-core", 670 | ] 671 | 672 | [[package]] 673 | name = "futures-core" 674 | version = "0.3.28" 675 | source = "registry+https://github.com/rust-lang/crates.io-index" 676 | checksum = "4bca583b7e26f571124fe5b7561d49cb2868d79116cfa0eefce955557c6fee8c" 677 | 678 | [[package]] 679 | name = "futures-executor" 680 | version = "0.3.28" 681 | source = "registry+https://github.com/rust-lang/crates.io-index" 682 | checksum = "ccecee823288125bd88b4d7f565c9e58e41858e47ab72e8ea2d64e93624386e0" 683 | dependencies = [ 684 | "futures-core", 685 | "futures-task", 686 | "futures-util", 687 | ] 688 | 689 | [[package]] 690 | name = "futures-io" 691 | version = "0.3.28" 692 | source = "registry+https://github.com/rust-lang/crates.io-index" 693 | checksum = "4fff74096e71ed47f8e023204cfd0aa1289cd54ae5430a9523be060cdb849964" 694 | 695 | [[package]] 696 | name = "futures-macro" 697 | version = "0.3.28" 698 | source = "registry+https://github.com/rust-lang/crates.io-index" 699 | checksum = "89ca545a94061b6365f2c7355b4b32bd20df3ff95f02da9329b34ccc3bd6ee72" 700 | dependencies = [ 701 | "proc-macro2", 702 | "quote", 703 | "syn 2.0.12", 704 | ] 705 | 706 | [[package]] 707 | name = "futures-task" 708 | version = "0.3.28" 709 | source = "registry+https://github.com/rust-lang/crates.io-index" 710 | checksum = "76d3d132be6c0e6aa1534069c705a74a5997a356c0dc2f86a47765e5617c5b65" 711 | 712 | [[package]] 713 | name = "futures-util" 714 | version = "0.3.28" 715 | source = "registry+https://github.com/rust-lang/crates.io-index" 716 | checksum = "26b01e40b772d54cf6c6d721c1d1abd0647a0106a12ecaa1c186273392a69533" 717 | dependencies = [ 718 | "futures-core", 719 | "futures-macro", 720 | "futures-task", 721 | "pin-project-lite", 722 | "pin-utils", 723 | "slab", 724 | ] 725 | 726 | [[package]] 727 | name = "fxhash" 728 | version = "0.2.1" 729 | source = "registry+https://github.com/rust-lang/crates.io-index" 730 | checksum = "c31b6d751ae2c7f11320402d34e41349dd1016f8d5d45e48c4312bc8625af50c" 731 | dependencies = [ 732 | "byteorder", 733 | ] 734 | 735 | [[package]] 736 | name = "gdk" 737 | version = "0.15.4" 738 | source = "registry+https://github.com/rust-lang/crates.io-index" 739 | checksum = "a6e05c1f572ab0e1f15be94217f0dc29088c248b14f792a5ff0af0d84bcda9e8" 740 | dependencies = [ 741 | "bitflags 1.3.2", 742 | "cairo-rs", 743 | "gdk-pixbuf", 744 | "gdk-sys", 745 | "gio", 746 | "glib", 747 | "libc", 748 | "pango", 749 | ] 750 | 751 | [[package]] 752 | name = "gdk-pixbuf" 753 | version = "0.15.11" 754 | source = "registry+https://github.com/rust-lang/crates.io-index" 755 | checksum = "ad38dd9cc8b099cceecdf41375bb6d481b1b5a7cd5cd603e10a69a9383f8619a" 756 | dependencies = [ 757 | "bitflags 1.3.2", 758 | "gdk-pixbuf-sys", 759 | "gio", 760 | "glib", 761 | "libc", 762 | ] 763 | 764 | [[package]] 765 | name = "gdk-pixbuf-sys" 766 | version = "0.15.10" 767 | source = "registry+https://github.com/rust-lang/crates.io-index" 768 | checksum = "140b2f5378256527150350a8346dbdb08fadc13453a7a2d73aecd5fab3c402a7" 769 | dependencies = [ 770 | "gio-sys", 771 | "glib-sys", 772 | "gobject-sys", 773 | "libc", 774 | "system-deps 6.0.4", 775 | ] 776 | 777 | [[package]] 778 | name = "gdk-sys" 779 | version = "0.15.1" 780 | source = "registry+https://github.com/rust-lang/crates.io-index" 781 | checksum = "32e7a08c1e8f06f4177fb7e51a777b8c1689f743a7bc11ea91d44d2226073a88" 782 | dependencies = [ 783 | "cairo-sys-rs", 784 | "gdk-pixbuf-sys", 785 | "gio-sys", 786 | "glib-sys", 787 | "gobject-sys", 788 | "libc", 789 | "pango-sys", 790 | "pkg-config", 791 | "system-deps 6.0.4", 792 | ] 793 | 794 | [[package]] 795 | name = "gdkx11-sys" 796 | version = "0.15.1" 797 | source = "registry+https://github.com/rust-lang/crates.io-index" 798 | checksum = "b4b7f8c7a84b407aa9b143877e267e848ff34106578b64d1e0a24bf550716178" 799 | dependencies = [ 800 | "gdk-sys", 801 | "glib-sys", 802 | "libc", 803 | "system-deps 6.0.4", 804 | "x11", 805 | ] 806 | 807 | [[package]] 808 | name = "generator" 809 | version = "0.7.3" 810 | source = "registry+https://github.com/rust-lang/crates.io-index" 811 | checksum = "33a20a288a94683f5f4da0adecdbe095c94a77c295e514cc6484e9394dd8376e" 812 | dependencies = [ 813 | "cc", 814 | "libc", 815 | "log", 816 | "rustversion", 817 | "windows 0.44.0", 818 | ] 819 | 820 | [[package]] 821 | name = "generic-array" 822 | version = "0.14.7" 823 | source = "registry+https://github.com/rust-lang/crates.io-index" 824 | checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" 825 | dependencies = [ 826 | "typenum", 827 | "version_check", 828 | ] 829 | 830 | [[package]] 831 | name = "getrandom" 832 | version = "0.1.16" 833 | source = "registry+https://github.com/rust-lang/crates.io-index" 834 | checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" 835 | dependencies = [ 836 | "cfg-if", 837 | "libc", 838 | "wasi 0.9.0+wasi-snapshot-preview1", 839 | ] 840 | 841 | [[package]] 842 | name = "getrandom" 843 | version = "0.2.8" 844 | source = "registry+https://github.com/rust-lang/crates.io-index" 845 | checksum = "c05aeb6a22b8f62540c194aac980f2115af067bfe15a0734d7277a768d396b31" 846 | dependencies = [ 847 | "cfg-if", 848 | "libc", 849 | "wasi 0.11.0+wasi-snapshot-preview1", 850 | ] 851 | 852 | [[package]] 853 | name = "gio" 854 | version = "0.15.12" 855 | source = "registry+https://github.com/rust-lang/crates.io-index" 856 | checksum = "68fdbc90312d462781a395f7a16d96a2b379bb6ef8cd6310a2df272771c4283b" 857 | dependencies = [ 858 | "bitflags 1.3.2", 859 | "futures-channel", 860 | "futures-core", 861 | "futures-io", 862 | "gio-sys", 863 | "glib", 864 | "libc", 865 | "once_cell", 866 | "thiserror", 867 | ] 868 | 869 | [[package]] 870 | name = "gio-sys" 871 | version = "0.15.10" 872 | source = "registry+https://github.com/rust-lang/crates.io-index" 873 | checksum = "32157a475271e2c4a023382e9cab31c4584ee30a97da41d3c4e9fdd605abcf8d" 874 | dependencies = [ 875 | "glib-sys", 876 | "gobject-sys", 877 | "libc", 878 | "system-deps 6.0.4", 879 | "winapi", 880 | ] 881 | 882 | [[package]] 883 | name = "glib" 884 | version = "0.15.12" 885 | source = "registry+https://github.com/rust-lang/crates.io-index" 886 | checksum = "edb0306fbad0ab5428b0ca674a23893db909a98582969c9b537be4ced78c505d" 887 | dependencies = [ 888 | "bitflags 1.3.2", 889 | "futures-channel", 890 | "futures-core", 891 | "futures-executor", 892 | "futures-task", 893 | "glib-macros", 894 | "glib-sys", 895 | "gobject-sys", 896 | "libc", 897 | "once_cell", 898 | "smallvec", 899 | "thiserror", 900 | ] 901 | 902 | [[package]] 903 | name = "glib-macros" 904 | version = "0.15.13" 905 | source = "registry+https://github.com/rust-lang/crates.io-index" 906 | checksum = "10c6ae9f6fa26f4fb2ac16b528d138d971ead56141de489f8111e259b9df3c4a" 907 | dependencies = [ 908 | "anyhow", 909 | "heck 0.4.1", 910 | "proc-macro-crate", 911 | "proc-macro-error", 912 | "proc-macro2", 913 | "quote", 914 | "syn 1.0.109", 915 | ] 916 | 917 | [[package]] 918 | name = "glib-sys" 919 | version = "0.15.10" 920 | source = "registry+https://github.com/rust-lang/crates.io-index" 921 | checksum = "ef4b192f8e65e9cf76cbf4ea71fa8e3be4a0e18ffe3d68b8da6836974cc5bad4" 922 | dependencies = [ 923 | "libc", 924 | "system-deps 6.0.4", 925 | ] 926 | 927 | [[package]] 928 | name = "glob" 929 | version = "0.3.1" 930 | source = "registry+https://github.com/rust-lang/crates.io-index" 931 | checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" 932 | 933 | [[package]] 934 | name = "globset" 935 | version = "0.4.10" 936 | source = "registry+https://github.com/rust-lang/crates.io-index" 937 | checksum = "029d74589adefde59de1a0c4f4732695c32805624aec7b68d91503d4dba79afc" 938 | dependencies = [ 939 | "aho-corasick", 940 | "bstr", 941 | "fnv", 942 | "log", 943 | "regex", 944 | ] 945 | 946 | [[package]] 947 | name = "gobject-sys" 948 | version = "0.15.10" 949 | source = "registry+https://github.com/rust-lang/crates.io-index" 950 | checksum = "0d57ce44246becd17153bd035ab4d32cfee096a657fc01f2231c9278378d1e0a" 951 | dependencies = [ 952 | "glib-sys", 953 | "libc", 954 | "system-deps 6.0.4", 955 | ] 956 | 957 | [[package]] 958 | name = "gtk" 959 | version = "0.15.5" 960 | source = "registry+https://github.com/rust-lang/crates.io-index" 961 | checksum = "92e3004a2d5d6d8b5057d2b57b3712c9529b62e82c77f25c1fecde1fd5c23bd0" 962 | dependencies = [ 963 | "atk", 964 | "bitflags 1.3.2", 965 | "cairo-rs", 966 | "field-offset", 967 | "futures-channel", 968 | "gdk", 969 | "gdk-pixbuf", 970 | "gio", 971 | "glib", 972 | "gtk-sys", 973 | "gtk3-macros", 974 | "libc", 975 | "once_cell", 976 | "pango", 977 | "pkg-config", 978 | ] 979 | 980 | [[package]] 981 | name = "gtk-sys" 982 | version = "0.15.3" 983 | source = "registry+https://github.com/rust-lang/crates.io-index" 984 | checksum = "d5bc2f0587cba247f60246a0ca11fe25fb733eabc3de12d1965fc07efab87c84" 985 | dependencies = [ 986 | "atk-sys", 987 | "cairo-sys-rs", 988 | "gdk-pixbuf-sys", 989 | "gdk-sys", 990 | "gio-sys", 991 | "glib-sys", 992 | "gobject-sys", 993 | "libc", 994 | "pango-sys", 995 | "system-deps 6.0.4", 996 | ] 997 | 998 | [[package]] 999 | name = "gtk3-macros" 1000 | version = "0.15.6" 1001 | source = "registry+https://github.com/rust-lang/crates.io-index" 1002 | checksum = "684c0456c086e8e7e9af73ec5b84e35938df394712054550e81558d21c44ab0d" 1003 | dependencies = [ 1004 | "anyhow", 1005 | "proc-macro-crate", 1006 | "proc-macro-error", 1007 | "proc-macro2", 1008 | "quote", 1009 | "syn 1.0.109", 1010 | ] 1011 | 1012 | [[package]] 1013 | name = "hashbrown" 1014 | version = "0.12.3" 1015 | source = "registry+https://github.com/rust-lang/crates.io-index" 1016 | checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" 1017 | dependencies = [ 1018 | "ahash", 1019 | ] 1020 | 1021 | [[package]] 1022 | name = "hashlink" 1023 | version = "0.8.1" 1024 | source = "registry+https://github.com/rust-lang/crates.io-index" 1025 | checksum = "69fe1fcf8b4278d860ad0548329f892a3631fb63f82574df68275f34cdbe0ffa" 1026 | dependencies = [ 1027 | "hashbrown", 1028 | ] 1029 | 1030 | [[package]] 1031 | name = "heck" 1032 | version = "0.3.3" 1033 | source = "registry+https://github.com/rust-lang/crates.io-index" 1034 | checksum = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c" 1035 | dependencies = [ 1036 | "unicode-segmentation", 1037 | ] 1038 | 1039 | [[package]] 1040 | name = "heck" 1041 | version = "0.4.1" 1042 | source = "registry+https://github.com/rust-lang/crates.io-index" 1043 | checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" 1044 | 1045 | [[package]] 1046 | name = "hermit-abi" 1047 | version = "0.2.6" 1048 | source = "registry+https://github.com/rust-lang/crates.io-index" 1049 | checksum = "ee512640fe35acbfb4bb779db6f0d80704c2cacfa2e39b601ef3e3f47d1ae4c7" 1050 | dependencies = [ 1051 | "libc", 1052 | ] 1053 | 1054 | [[package]] 1055 | name = "hermit-abi" 1056 | version = "0.3.1" 1057 | source = "registry+https://github.com/rust-lang/crates.io-index" 1058 | checksum = "fed44880c466736ef9a5c5b5facefb5ed0785676d0c02d612db14e54f0d84286" 1059 | 1060 | [[package]] 1061 | name = "html5ever" 1062 | version = "0.25.2" 1063 | source = "registry+https://github.com/rust-lang/crates.io-index" 1064 | checksum = "e5c13fb08e5d4dfc151ee5e88bae63f7773d61852f3bdc73c9f4b9e1bde03148" 1065 | dependencies = [ 1066 | "log", 1067 | "mac", 1068 | "markup5ever", 1069 | "proc-macro2", 1070 | "quote", 1071 | "syn 1.0.109", 1072 | ] 1073 | 1074 | [[package]] 1075 | name = "http" 1076 | version = "0.2.9" 1077 | source = "registry+https://github.com/rust-lang/crates.io-index" 1078 | checksum = "bd6effc99afb63425aff9b05836f029929e345a6148a14b7ecd5ab67af944482" 1079 | dependencies = [ 1080 | "bytes", 1081 | "fnv", 1082 | "itoa 1.0.6", 1083 | ] 1084 | 1085 | [[package]] 1086 | name = "http-range" 1087 | version = "0.1.5" 1088 | source = "registry+https://github.com/rust-lang/crates.io-index" 1089 | checksum = "21dec9db110f5f872ed9699c3ecf50cf16f423502706ba5c72462e28d3157573" 1090 | 1091 | [[package]] 1092 | name = "ico" 1093 | version = "0.2.0" 1094 | source = "registry+https://github.com/rust-lang/crates.io-index" 1095 | checksum = "031530fe562d8c8d71c0635013d6d155bbfe8ba0aa4b4d2d24ce8af6b71047bd" 1096 | dependencies = [ 1097 | "byteorder", 1098 | "png", 1099 | ] 1100 | 1101 | [[package]] 1102 | name = "ident_case" 1103 | version = "1.0.1" 1104 | source = "registry+https://github.com/rust-lang/crates.io-index" 1105 | checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" 1106 | 1107 | [[package]] 1108 | name = "idna" 1109 | version = "0.3.0" 1110 | source = "registry+https://github.com/rust-lang/crates.io-index" 1111 | checksum = "e14ddfc70884202db2244c223200c204c2bda1bc6e0998d11b5e024d657209e6" 1112 | dependencies = [ 1113 | "unicode-bidi", 1114 | "unicode-normalization", 1115 | ] 1116 | 1117 | [[package]] 1118 | name = "ignore" 1119 | version = "0.4.18" 1120 | source = "registry+https://github.com/rust-lang/crates.io-index" 1121 | checksum = "713f1b139373f96a2e0ce3ac931cd01ee973c3c5dd7c40c0c2efe96ad2b6751d" 1122 | dependencies = [ 1123 | "crossbeam-utils", 1124 | "globset", 1125 | "lazy_static", 1126 | "log", 1127 | "memchr", 1128 | "regex", 1129 | "same-file", 1130 | "thread_local", 1131 | "walkdir", 1132 | "winapi-util", 1133 | ] 1134 | 1135 | [[package]] 1136 | name = "image" 1137 | version = "0.24.6" 1138 | source = "registry+https://github.com/rust-lang/crates.io-index" 1139 | checksum = "527909aa81e20ac3a44803521443a765550f09b5130c2c2fa1ea59c2f8f50a3a" 1140 | dependencies = [ 1141 | "bytemuck", 1142 | "byteorder", 1143 | "color_quant", 1144 | "num-rational", 1145 | "num-traits", 1146 | ] 1147 | 1148 | [[package]] 1149 | name = "indexmap" 1150 | version = "1.9.3" 1151 | source = "registry+https://github.com/rust-lang/crates.io-index" 1152 | checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" 1153 | dependencies = [ 1154 | "autocfg", 1155 | "hashbrown", 1156 | ] 1157 | 1158 | [[package]] 1159 | name = "infer" 1160 | version = "0.7.0" 1161 | source = "registry+https://github.com/rust-lang/crates.io-index" 1162 | checksum = "20b2b533137b9cad970793453d4f921c2e91312a6d88b1085c07bc15fc51bb3b" 1163 | dependencies = [ 1164 | "cfb", 1165 | ] 1166 | 1167 | [[package]] 1168 | name = "instant" 1169 | version = "0.1.12" 1170 | source = "registry+https://github.com/rust-lang/crates.io-index" 1171 | checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c" 1172 | dependencies = [ 1173 | "cfg-if", 1174 | ] 1175 | 1176 | [[package]] 1177 | name = "io-lifetimes" 1178 | version = "1.0.9" 1179 | source = "registry+https://github.com/rust-lang/crates.io-index" 1180 | checksum = "09270fd4fa1111bc614ed2246c7ef56239a3063d5be0d1ec3b589c505d400aeb" 1181 | dependencies = [ 1182 | "hermit-abi 0.3.1", 1183 | "libc", 1184 | "windows-sys 0.45.0", 1185 | ] 1186 | 1187 | [[package]] 1188 | name = "itoa" 1189 | version = "0.4.8" 1190 | source = "registry+https://github.com/rust-lang/crates.io-index" 1191 | checksum = "b71991ff56294aa922b450139ee08b3bfc70982c6b2c7562771375cf73542dd4" 1192 | 1193 | [[package]] 1194 | name = "itoa" 1195 | version = "1.0.6" 1196 | source = "registry+https://github.com/rust-lang/crates.io-index" 1197 | checksum = "453ad9f582a441959e5f0d088b02ce04cfe8d51a8eaf077f12ac6d3e94164ca6" 1198 | 1199 | [[package]] 1200 | name = "javascriptcore-rs" 1201 | version = "0.16.0" 1202 | source = "registry+https://github.com/rust-lang/crates.io-index" 1203 | checksum = "bf053e7843f2812ff03ef5afe34bb9c06ffee120385caad4f6b9967fcd37d41c" 1204 | dependencies = [ 1205 | "bitflags 1.3.2", 1206 | "glib", 1207 | "javascriptcore-rs-sys", 1208 | ] 1209 | 1210 | [[package]] 1211 | name = "javascriptcore-rs-sys" 1212 | version = "0.4.0" 1213 | source = "registry+https://github.com/rust-lang/crates.io-index" 1214 | checksum = "905fbb87419c5cde6e3269537e4ea7d46431f3008c5d057e915ef3f115e7793c" 1215 | dependencies = [ 1216 | "glib-sys", 1217 | "gobject-sys", 1218 | "libc", 1219 | "system-deps 5.0.0", 1220 | ] 1221 | 1222 | [[package]] 1223 | name = "jni" 1224 | version = "0.20.0" 1225 | source = "registry+https://github.com/rust-lang/crates.io-index" 1226 | checksum = "039022cdf4d7b1cf548d31f60ae783138e5fd42013f6271049d7df7afadef96c" 1227 | dependencies = [ 1228 | "cesu8", 1229 | "combine", 1230 | "jni-sys", 1231 | "log", 1232 | "thiserror", 1233 | "walkdir", 1234 | ] 1235 | 1236 | [[package]] 1237 | name = "jni-sys" 1238 | version = "0.3.0" 1239 | source = "registry+https://github.com/rust-lang/crates.io-index" 1240 | checksum = "8eaf4bc02d17cbdd7ff4c7438cafcdf7fb9a4613313ad11b4f8fefe7d3fa0130" 1241 | 1242 | [[package]] 1243 | name = "json-patch" 1244 | version = "0.2.7" 1245 | source = "registry+https://github.com/rust-lang/crates.io-index" 1246 | checksum = "eb3fa5a61630976fc4c353c70297f2e93f1930e3ccee574d59d618ccbd5154ce" 1247 | dependencies = [ 1248 | "serde", 1249 | "serde_json", 1250 | "treediff", 1251 | ] 1252 | 1253 | [[package]] 1254 | name = "kuchiki" 1255 | version = "0.8.1" 1256 | source = "registry+https://github.com/rust-lang/crates.io-index" 1257 | checksum = "1ea8e9c6e031377cff82ee3001dc8026cdf431ed4e2e6b51f98ab8c73484a358" 1258 | dependencies = [ 1259 | "cssparser", 1260 | "html5ever", 1261 | "matches", 1262 | "selectors", 1263 | ] 1264 | 1265 | [[package]] 1266 | name = "lazy_static" 1267 | version = "1.4.0" 1268 | source = "registry+https://github.com/rust-lang/crates.io-index" 1269 | checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" 1270 | 1271 | [[package]] 1272 | name = "libc" 1273 | version = "0.2.140" 1274 | source = "registry+https://github.com/rust-lang/crates.io-index" 1275 | checksum = "99227334921fae1a979cf0bfdfcc6b3e5ce376ef57e16fb6fb3ea2ed6095f80c" 1276 | 1277 | [[package]] 1278 | name = "libsqlite3-sys" 1279 | version = "0.26.0" 1280 | source = "registry+https://github.com/rust-lang/crates.io-index" 1281 | checksum = "afc22eff61b133b115c6e8c74e818c628d6d5e7a502afea6f64dee076dd94326" 1282 | dependencies = [ 1283 | "cc", 1284 | "pkg-config", 1285 | "vcpkg", 1286 | ] 1287 | 1288 | [[package]] 1289 | name = "line-wrap" 1290 | version = "0.1.1" 1291 | source = "registry+https://github.com/rust-lang/crates.io-index" 1292 | checksum = "f30344350a2a51da54c1d53be93fade8a237e545dbcc4bdbe635413f2117cab9" 1293 | dependencies = [ 1294 | "safemem", 1295 | ] 1296 | 1297 | [[package]] 1298 | name = "linux-raw-sys" 1299 | version = "0.3.1" 1300 | source = "registry+https://github.com/rust-lang/crates.io-index" 1301 | checksum = "d59d8c75012853d2e872fb56bc8a2e53718e2cafe1a4c823143141c6d90c322f" 1302 | 1303 | [[package]] 1304 | name = "lock_api" 1305 | version = "0.4.9" 1306 | source = "registry+https://github.com/rust-lang/crates.io-index" 1307 | checksum = "435011366fe56583b16cf956f9df0095b405b82d76425bc8981c0e22e60ec4df" 1308 | dependencies = [ 1309 | "autocfg", 1310 | "scopeguard", 1311 | ] 1312 | 1313 | [[package]] 1314 | name = "log" 1315 | version = "0.4.17" 1316 | source = "registry+https://github.com/rust-lang/crates.io-index" 1317 | checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e" 1318 | dependencies = [ 1319 | "cfg-if", 1320 | ] 1321 | 1322 | [[package]] 1323 | name = "loom" 1324 | version = "0.5.6" 1325 | source = "registry+https://github.com/rust-lang/crates.io-index" 1326 | checksum = "ff50ecb28bb86013e935fb6683ab1f6d3a20016f123c76fd4c27470076ac30f5" 1327 | dependencies = [ 1328 | "cfg-if", 1329 | "generator", 1330 | "scoped-tls", 1331 | "serde", 1332 | "serde_json", 1333 | "tracing", 1334 | "tracing-subscriber", 1335 | ] 1336 | 1337 | [[package]] 1338 | name = "mac" 1339 | version = "0.1.1" 1340 | source = "registry+https://github.com/rust-lang/crates.io-index" 1341 | checksum = "c41e0c4fef86961ac6d6f8a82609f55f31b05e4fce149ac5710e439df7619ba4" 1342 | 1343 | [[package]] 1344 | name = "malloc_buf" 1345 | version = "0.0.6" 1346 | source = "registry+https://github.com/rust-lang/crates.io-index" 1347 | checksum = "62bb907fe88d54d8d9ce32a3cceab4218ed2f6b7d35617cafe9adf84e43919cb" 1348 | dependencies = [ 1349 | "libc", 1350 | ] 1351 | 1352 | [[package]] 1353 | name = "markup5ever" 1354 | version = "0.10.1" 1355 | source = "registry+https://github.com/rust-lang/crates.io-index" 1356 | checksum = "a24f40fb03852d1cdd84330cddcaf98e9ec08a7b7768e952fad3b4cf048ec8fd" 1357 | dependencies = [ 1358 | "log", 1359 | "phf 0.8.0", 1360 | "phf_codegen", 1361 | "string_cache", 1362 | "string_cache_codegen", 1363 | "tendril", 1364 | ] 1365 | 1366 | [[package]] 1367 | name = "matchers" 1368 | version = "0.1.0" 1369 | source = "registry+https://github.com/rust-lang/crates.io-index" 1370 | checksum = "8263075bb86c5a1b1427b5ae862e8889656f126e9f77c484496e8b47cf5c5558" 1371 | dependencies = [ 1372 | "regex-automata", 1373 | ] 1374 | 1375 | [[package]] 1376 | name = "matches" 1377 | version = "0.1.10" 1378 | source = "registry+https://github.com/rust-lang/crates.io-index" 1379 | checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5" 1380 | 1381 | [[package]] 1382 | name = "memchr" 1383 | version = "2.5.0" 1384 | source = "registry+https://github.com/rust-lang/crates.io-index" 1385 | checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" 1386 | 1387 | [[package]] 1388 | name = "memoffset" 1389 | version = "0.8.0" 1390 | source = "registry+https://github.com/rust-lang/crates.io-index" 1391 | checksum = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1" 1392 | dependencies = [ 1393 | "autocfg", 1394 | ] 1395 | 1396 | [[package]] 1397 | name = "miniz_oxide" 1398 | version = "0.6.2" 1399 | source = "registry+https://github.com/rust-lang/crates.io-index" 1400 | checksum = "b275950c28b37e794e8c55d88aeb5e139d0ce23fdbbeda68f8d7174abdf9e8fa" 1401 | dependencies = [ 1402 | "adler", 1403 | ] 1404 | 1405 | [[package]] 1406 | name = "ndk" 1407 | version = "0.6.0" 1408 | source = "registry+https://github.com/rust-lang/crates.io-index" 1409 | checksum = "2032c77e030ddee34a6787a64166008da93f6a352b629261d0fee232b8742dd4" 1410 | dependencies = [ 1411 | "bitflags 1.3.2", 1412 | "jni-sys", 1413 | "ndk-sys", 1414 | "num_enum", 1415 | "thiserror", 1416 | ] 1417 | 1418 | [[package]] 1419 | name = "ndk-context" 1420 | version = "0.1.1" 1421 | source = "registry+https://github.com/rust-lang/crates.io-index" 1422 | checksum = "27b02d87554356db9e9a873add8782d4ea6e3e58ea071a9adb9a2e8ddb884a8b" 1423 | 1424 | [[package]] 1425 | name = "ndk-sys" 1426 | version = "0.3.0" 1427 | source = "registry+https://github.com/rust-lang/crates.io-index" 1428 | checksum = "6e5a6ae77c8ee183dcbbba6150e2e6b9f3f4196a7666c02a715a95692ec1fa97" 1429 | dependencies = [ 1430 | "jni-sys", 1431 | ] 1432 | 1433 | [[package]] 1434 | name = "new_debug_unreachable" 1435 | version = "1.0.4" 1436 | source = "registry+https://github.com/rust-lang/crates.io-index" 1437 | checksum = "e4a24736216ec316047a1fc4252e27dabb04218aa4a3f37c6e7ddbf1f9782b54" 1438 | 1439 | [[package]] 1440 | name = "nodrop" 1441 | version = "0.1.14" 1442 | source = "registry+https://github.com/rust-lang/crates.io-index" 1443 | checksum = "72ef4a56884ca558e5ddb05a1d1e7e1bfd9a68d9ed024c21704cc98872dae1bb" 1444 | 1445 | [[package]] 1446 | name = "nu-ansi-term" 1447 | version = "0.46.0" 1448 | source = "registry+https://github.com/rust-lang/crates.io-index" 1449 | checksum = "77a8165726e8236064dbb45459242600304b42a5ea24ee2948e18e023bf7ba84" 1450 | dependencies = [ 1451 | "overload", 1452 | "winapi", 1453 | ] 1454 | 1455 | [[package]] 1456 | name = "num-integer" 1457 | version = "0.1.45" 1458 | source = "registry+https://github.com/rust-lang/crates.io-index" 1459 | checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9" 1460 | dependencies = [ 1461 | "autocfg", 1462 | "num-traits", 1463 | ] 1464 | 1465 | [[package]] 1466 | name = "num-rational" 1467 | version = "0.4.1" 1468 | source = "registry+https://github.com/rust-lang/crates.io-index" 1469 | checksum = "0638a1c9d0a3c0914158145bc76cff373a75a627e6ecbfb71cbe6f453a5a19b0" 1470 | dependencies = [ 1471 | "autocfg", 1472 | "num-integer", 1473 | "num-traits", 1474 | ] 1475 | 1476 | [[package]] 1477 | name = "num-traits" 1478 | version = "0.2.15" 1479 | source = "registry+https://github.com/rust-lang/crates.io-index" 1480 | checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd" 1481 | dependencies = [ 1482 | "autocfg", 1483 | ] 1484 | 1485 | [[package]] 1486 | name = "num_cpus" 1487 | version = "1.15.0" 1488 | source = "registry+https://github.com/rust-lang/crates.io-index" 1489 | checksum = "0fac9e2da13b5eb447a6ce3d392f23a29d8694bff781bf03a16cd9ac8697593b" 1490 | dependencies = [ 1491 | "hermit-abi 0.2.6", 1492 | "libc", 1493 | ] 1494 | 1495 | [[package]] 1496 | name = "num_enum" 1497 | version = "0.5.11" 1498 | source = "registry+https://github.com/rust-lang/crates.io-index" 1499 | checksum = "1f646caf906c20226733ed5b1374287eb97e3c2a5c227ce668c1f2ce20ae57c9" 1500 | dependencies = [ 1501 | "num_enum_derive", 1502 | ] 1503 | 1504 | [[package]] 1505 | name = "num_enum_derive" 1506 | version = "0.5.11" 1507 | source = "registry+https://github.com/rust-lang/crates.io-index" 1508 | checksum = "dcbff9bc912032c62bf65ef1d5aea88983b420f4f839db1e9b0c281a25c9c799" 1509 | dependencies = [ 1510 | "proc-macro-crate", 1511 | "proc-macro2", 1512 | "quote", 1513 | "syn 1.0.109", 1514 | ] 1515 | 1516 | [[package]] 1517 | name = "objc" 1518 | version = "0.2.7" 1519 | source = "registry+https://github.com/rust-lang/crates.io-index" 1520 | checksum = "915b1b472bc21c53464d6c8461c9d3af805ba1ef837e1cac254428f4a77177b1" 1521 | dependencies = [ 1522 | "malloc_buf", 1523 | "objc_exception", 1524 | ] 1525 | 1526 | [[package]] 1527 | name = "objc_exception" 1528 | version = "0.1.2" 1529 | source = "registry+https://github.com/rust-lang/crates.io-index" 1530 | checksum = "ad970fb455818ad6cba4c122ad012fae53ae8b4795f86378bce65e4f6bab2ca4" 1531 | dependencies = [ 1532 | "cc", 1533 | ] 1534 | 1535 | [[package]] 1536 | name = "objc_id" 1537 | version = "0.1.1" 1538 | source = "registry+https://github.com/rust-lang/crates.io-index" 1539 | checksum = "c92d4ddb4bd7b50d730c215ff871754d0da6b2178849f8a2a2ab69712d0c073b" 1540 | dependencies = [ 1541 | "objc", 1542 | ] 1543 | 1544 | [[package]] 1545 | name = "once_cell" 1546 | version = "1.17.1" 1547 | source = "registry+https://github.com/rust-lang/crates.io-index" 1548 | checksum = "b7e5500299e16ebb147ae15a00a942af264cf3688f47923b8fc2cd5858f23ad3" 1549 | 1550 | [[package]] 1551 | name = "open" 1552 | version = "3.2.0" 1553 | source = "registry+https://github.com/rust-lang/crates.io-index" 1554 | checksum = "2078c0039e6a54a0c42c28faa984e115fb4c2d5bf2208f77d1961002df8576f8" 1555 | dependencies = [ 1556 | "pathdiff", 1557 | "windows-sys 0.42.0", 1558 | ] 1559 | 1560 | [[package]] 1561 | name = "overload" 1562 | version = "0.1.1" 1563 | source = "registry+https://github.com/rust-lang/crates.io-index" 1564 | checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" 1565 | 1566 | [[package]] 1567 | name = "pango" 1568 | version = "0.15.10" 1569 | source = "registry+https://github.com/rust-lang/crates.io-index" 1570 | checksum = "22e4045548659aee5313bde6c582b0d83a627b7904dd20dc2d9ef0895d414e4f" 1571 | dependencies = [ 1572 | "bitflags 1.3.2", 1573 | "glib", 1574 | "libc", 1575 | "once_cell", 1576 | "pango-sys", 1577 | ] 1578 | 1579 | [[package]] 1580 | name = "pango-sys" 1581 | version = "0.15.10" 1582 | source = "registry+https://github.com/rust-lang/crates.io-index" 1583 | checksum = "d2a00081cde4661982ed91d80ef437c20eacaf6aa1a5962c0279ae194662c3aa" 1584 | dependencies = [ 1585 | "glib-sys", 1586 | "gobject-sys", 1587 | "libc", 1588 | "system-deps 6.0.4", 1589 | ] 1590 | 1591 | [[package]] 1592 | name = "parking_lot" 1593 | version = "0.12.1" 1594 | source = "registry+https://github.com/rust-lang/crates.io-index" 1595 | checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" 1596 | dependencies = [ 1597 | "lock_api", 1598 | "parking_lot_core", 1599 | ] 1600 | 1601 | [[package]] 1602 | name = "parking_lot_core" 1603 | version = "0.9.7" 1604 | source = "registry+https://github.com/rust-lang/crates.io-index" 1605 | checksum = "9069cbb9f99e3a5083476ccb29ceb1de18b9118cafa53e90c9551235de2b9521" 1606 | dependencies = [ 1607 | "cfg-if", 1608 | "libc", 1609 | "redox_syscall 0.2.16", 1610 | "smallvec", 1611 | "windows-sys 0.45.0", 1612 | ] 1613 | 1614 | [[package]] 1615 | name = "paste" 1616 | version = "1.0.12" 1617 | source = "registry+https://github.com/rust-lang/crates.io-index" 1618 | checksum = "9f746c4065a8fa3fe23974dd82f15431cc8d40779821001404d10d2e79ca7d79" 1619 | 1620 | [[package]] 1621 | name = "pathdiff" 1622 | version = "0.2.1" 1623 | source = "registry+https://github.com/rust-lang/crates.io-index" 1624 | checksum = "8835116a5c179084a830efb3adc117ab007512b535bc1a21c991d3b32a6b44dd" 1625 | 1626 | [[package]] 1627 | name = "percent-encoding" 1628 | version = "2.2.0" 1629 | source = "registry+https://github.com/rust-lang/crates.io-index" 1630 | checksum = "478c572c3d73181ff3c2539045f6eb99e5491218eae919370993b890cdbdd98e" 1631 | 1632 | [[package]] 1633 | name = "phf" 1634 | version = "0.8.0" 1635 | source = "registry+https://github.com/rust-lang/crates.io-index" 1636 | checksum = "3dfb61232e34fcb633f43d12c58f83c1df82962dcdfa565a4e866ffc17dafe12" 1637 | dependencies = [ 1638 | "phf_macros 0.8.0", 1639 | "phf_shared 0.8.0", 1640 | "proc-macro-hack", 1641 | ] 1642 | 1643 | [[package]] 1644 | name = "phf" 1645 | version = "0.10.1" 1646 | source = "registry+https://github.com/rust-lang/crates.io-index" 1647 | checksum = "fabbf1ead8a5bcbc20f5f8b939ee3f5b0f6f281b6ad3468b84656b658b455259" 1648 | dependencies = [ 1649 | "phf_macros 0.10.0", 1650 | "phf_shared 0.10.0", 1651 | "proc-macro-hack", 1652 | ] 1653 | 1654 | [[package]] 1655 | name = "phf_codegen" 1656 | version = "0.8.0" 1657 | source = "registry+https://github.com/rust-lang/crates.io-index" 1658 | checksum = "cbffee61585b0411840d3ece935cce9cb6321f01c45477d30066498cd5e1a815" 1659 | dependencies = [ 1660 | "phf_generator 0.8.0", 1661 | "phf_shared 0.8.0", 1662 | ] 1663 | 1664 | [[package]] 1665 | name = "phf_generator" 1666 | version = "0.8.0" 1667 | source = "registry+https://github.com/rust-lang/crates.io-index" 1668 | checksum = "17367f0cc86f2d25802b2c26ee58a7b23faeccf78a396094c13dced0d0182526" 1669 | dependencies = [ 1670 | "phf_shared 0.8.0", 1671 | "rand 0.7.3", 1672 | ] 1673 | 1674 | [[package]] 1675 | name = "phf_generator" 1676 | version = "0.10.0" 1677 | source = "registry+https://github.com/rust-lang/crates.io-index" 1678 | checksum = "5d5285893bb5eb82e6aaf5d59ee909a06a16737a8970984dd7746ba9283498d6" 1679 | dependencies = [ 1680 | "phf_shared 0.10.0", 1681 | "rand 0.8.5", 1682 | ] 1683 | 1684 | [[package]] 1685 | name = "phf_macros" 1686 | version = "0.8.0" 1687 | source = "registry+https://github.com/rust-lang/crates.io-index" 1688 | checksum = "7f6fde18ff429ffc8fe78e2bf7f8b7a5a5a6e2a8b58bc5a9ac69198bbda9189c" 1689 | dependencies = [ 1690 | "phf_generator 0.8.0", 1691 | "phf_shared 0.8.0", 1692 | "proc-macro-hack", 1693 | "proc-macro2", 1694 | "quote", 1695 | "syn 1.0.109", 1696 | ] 1697 | 1698 | [[package]] 1699 | name = "phf_macros" 1700 | version = "0.10.0" 1701 | source = "registry+https://github.com/rust-lang/crates.io-index" 1702 | checksum = "58fdf3184dd560f160dd73922bea2d5cd6e8f064bf4b13110abd81b03697b4e0" 1703 | dependencies = [ 1704 | "phf_generator 0.10.0", 1705 | "phf_shared 0.10.0", 1706 | "proc-macro-hack", 1707 | "proc-macro2", 1708 | "quote", 1709 | "syn 1.0.109", 1710 | ] 1711 | 1712 | [[package]] 1713 | name = "phf_shared" 1714 | version = "0.8.0" 1715 | source = "registry+https://github.com/rust-lang/crates.io-index" 1716 | checksum = "c00cf8b9eafe68dde5e9eaa2cef8ee84a9336a47d566ec55ca16589633b65af7" 1717 | dependencies = [ 1718 | "siphasher", 1719 | ] 1720 | 1721 | [[package]] 1722 | name = "phf_shared" 1723 | version = "0.10.0" 1724 | source = "registry+https://github.com/rust-lang/crates.io-index" 1725 | checksum = "b6796ad771acdc0123d2a88dc428b5e38ef24456743ddb1744ed628f9815c096" 1726 | dependencies = [ 1727 | "siphasher", 1728 | ] 1729 | 1730 | [[package]] 1731 | name = "pin-project-lite" 1732 | version = "0.2.9" 1733 | source = "registry+https://github.com/rust-lang/crates.io-index" 1734 | checksum = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116" 1735 | 1736 | [[package]] 1737 | name = "pin-utils" 1738 | version = "0.1.0" 1739 | source = "registry+https://github.com/rust-lang/crates.io-index" 1740 | checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" 1741 | 1742 | [[package]] 1743 | name = "pkg-config" 1744 | version = "0.3.26" 1745 | source = "registry+https://github.com/rust-lang/crates.io-index" 1746 | checksum = "6ac9a59f73473f1b8d852421e59e64809f025994837ef743615c6d0c5b305160" 1747 | 1748 | [[package]] 1749 | name = "plist" 1750 | version = "1.4.3" 1751 | source = "registry+https://github.com/rust-lang/crates.io-index" 1752 | checksum = "9bd9647b268a3d3e14ff09c23201133a62589c658db02bb7388c7246aafe0590" 1753 | dependencies = [ 1754 | "base64 0.21.0", 1755 | "indexmap", 1756 | "line-wrap", 1757 | "quick-xml", 1758 | "serde", 1759 | "time", 1760 | ] 1761 | 1762 | [[package]] 1763 | name = "png" 1764 | version = "0.17.7" 1765 | source = "registry+https://github.com/rust-lang/crates.io-index" 1766 | checksum = "5d708eaf860a19b19ce538740d2b4bdeeb8337fa53f7738455e706623ad5c638" 1767 | dependencies = [ 1768 | "bitflags 1.3.2", 1769 | "crc32fast", 1770 | "flate2", 1771 | "miniz_oxide", 1772 | ] 1773 | 1774 | [[package]] 1775 | name = "ppv-lite86" 1776 | version = "0.2.17" 1777 | source = "registry+https://github.com/rust-lang/crates.io-index" 1778 | checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" 1779 | 1780 | [[package]] 1781 | name = "precomputed-hash" 1782 | version = "0.1.1" 1783 | source = "registry+https://github.com/rust-lang/crates.io-index" 1784 | checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c" 1785 | 1786 | [[package]] 1787 | name = "proc-macro-crate" 1788 | version = "1.3.1" 1789 | source = "registry+https://github.com/rust-lang/crates.io-index" 1790 | checksum = "7f4c021e1093a56626774e81216a4ce732a735e5bad4868a03f3ed65ca0c3919" 1791 | dependencies = [ 1792 | "once_cell", 1793 | "toml_edit", 1794 | ] 1795 | 1796 | [[package]] 1797 | name = "proc-macro-error" 1798 | version = "1.0.4" 1799 | source = "registry+https://github.com/rust-lang/crates.io-index" 1800 | checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" 1801 | dependencies = [ 1802 | "proc-macro-error-attr", 1803 | "proc-macro2", 1804 | "quote", 1805 | "syn 1.0.109", 1806 | "version_check", 1807 | ] 1808 | 1809 | [[package]] 1810 | name = "proc-macro-error-attr" 1811 | version = "1.0.4" 1812 | source = "registry+https://github.com/rust-lang/crates.io-index" 1813 | checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" 1814 | dependencies = [ 1815 | "proc-macro2", 1816 | "quote", 1817 | "version_check", 1818 | ] 1819 | 1820 | [[package]] 1821 | name = "proc-macro-hack" 1822 | version = "0.5.20+deprecated" 1823 | source = "registry+https://github.com/rust-lang/crates.io-index" 1824 | checksum = "dc375e1527247fe1a97d8b7156678dfe7c1af2fc075c9a4db3690ecd2a148068" 1825 | 1826 | [[package]] 1827 | name = "proc-macro2" 1828 | version = "1.0.54" 1829 | source = "registry+https://github.com/rust-lang/crates.io-index" 1830 | checksum = "e472a104799c74b514a57226160104aa483546de37e839ec50e3c2e41dd87534" 1831 | dependencies = [ 1832 | "unicode-ident", 1833 | ] 1834 | 1835 | [[package]] 1836 | name = "quick-xml" 1837 | version = "0.28.1" 1838 | source = "registry+https://github.com/rust-lang/crates.io-index" 1839 | checksum = "e5c1a97b1bc42b1d550bfb48d4262153fe400a12bab1511821736f7eac76d7e2" 1840 | dependencies = [ 1841 | "memchr", 1842 | ] 1843 | 1844 | [[package]] 1845 | name = "quote" 1846 | version = "1.0.26" 1847 | source = "registry+https://github.com/rust-lang/crates.io-index" 1848 | checksum = "4424af4bf778aae2051a77b60283332f386554255d722233d09fbfc7e30da2fc" 1849 | dependencies = [ 1850 | "proc-macro2", 1851 | ] 1852 | 1853 | [[package]] 1854 | name = "rand" 1855 | version = "0.7.3" 1856 | source = "registry+https://github.com/rust-lang/crates.io-index" 1857 | checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" 1858 | dependencies = [ 1859 | "getrandom 0.1.16", 1860 | "libc", 1861 | "rand_chacha 0.2.2", 1862 | "rand_core 0.5.1", 1863 | "rand_hc", 1864 | "rand_pcg", 1865 | ] 1866 | 1867 | [[package]] 1868 | name = "rand" 1869 | version = "0.8.5" 1870 | source = "registry+https://github.com/rust-lang/crates.io-index" 1871 | checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" 1872 | dependencies = [ 1873 | "libc", 1874 | "rand_chacha 0.3.1", 1875 | "rand_core 0.6.4", 1876 | ] 1877 | 1878 | [[package]] 1879 | name = "rand_chacha" 1880 | version = "0.2.2" 1881 | source = "registry+https://github.com/rust-lang/crates.io-index" 1882 | checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402" 1883 | dependencies = [ 1884 | "ppv-lite86", 1885 | "rand_core 0.5.1", 1886 | ] 1887 | 1888 | [[package]] 1889 | name = "rand_chacha" 1890 | version = "0.3.1" 1891 | source = "registry+https://github.com/rust-lang/crates.io-index" 1892 | checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" 1893 | dependencies = [ 1894 | "ppv-lite86", 1895 | "rand_core 0.6.4", 1896 | ] 1897 | 1898 | [[package]] 1899 | name = "rand_core" 1900 | version = "0.5.1" 1901 | source = "registry+https://github.com/rust-lang/crates.io-index" 1902 | checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19" 1903 | dependencies = [ 1904 | "getrandom 0.1.16", 1905 | ] 1906 | 1907 | [[package]] 1908 | name = "rand_core" 1909 | version = "0.6.4" 1910 | source = "registry+https://github.com/rust-lang/crates.io-index" 1911 | checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" 1912 | dependencies = [ 1913 | "getrandom 0.2.8", 1914 | ] 1915 | 1916 | [[package]] 1917 | name = "rand_hc" 1918 | version = "0.2.0" 1919 | source = "registry+https://github.com/rust-lang/crates.io-index" 1920 | checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c" 1921 | dependencies = [ 1922 | "rand_core 0.5.1", 1923 | ] 1924 | 1925 | [[package]] 1926 | name = "rand_pcg" 1927 | version = "0.2.1" 1928 | source = "registry+https://github.com/rust-lang/crates.io-index" 1929 | checksum = "16abd0c1b639e9eb4d7c50c0b8100b0d0f849be2349829c740fe8e6eb4816429" 1930 | dependencies = [ 1931 | "rand_core 0.5.1", 1932 | ] 1933 | 1934 | [[package]] 1935 | name = "raw-window-handle" 1936 | version = "0.5.2" 1937 | source = "registry+https://github.com/rust-lang/crates.io-index" 1938 | checksum = "f2ff9a1f06a88b01621b7ae906ef0211290d1c8a168a15542486a8f61c0833b9" 1939 | 1940 | [[package]] 1941 | name = "redox_syscall" 1942 | version = "0.2.16" 1943 | source = "registry+https://github.com/rust-lang/crates.io-index" 1944 | checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" 1945 | dependencies = [ 1946 | "bitflags 1.3.2", 1947 | ] 1948 | 1949 | [[package]] 1950 | name = "redox_syscall" 1951 | version = "0.3.5" 1952 | source = "registry+https://github.com/rust-lang/crates.io-index" 1953 | checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29" 1954 | dependencies = [ 1955 | "bitflags 1.3.2", 1956 | ] 1957 | 1958 | [[package]] 1959 | name = "redox_users" 1960 | version = "0.4.3" 1961 | source = "registry+https://github.com/rust-lang/crates.io-index" 1962 | checksum = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b" 1963 | dependencies = [ 1964 | "getrandom 0.2.8", 1965 | "redox_syscall 0.2.16", 1966 | "thiserror", 1967 | ] 1968 | 1969 | [[package]] 1970 | name = "regex" 1971 | version = "1.7.3" 1972 | source = "registry+https://github.com/rust-lang/crates.io-index" 1973 | checksum = "8b1f693b24f6ac912f4893ef08244d70b6067480d2f1a46e950c9691e6749d1d" 1974 | dependencies = [ 1975 | "aho-corasick", 1976 | "memchr", 1977 | "regex-syntax", 1978 | ] 1979 | 1980 | [[package]] 1981 | name = "regex-automata" 1982 | version = "0.1.10" 1983 | source = "registry+https://github.com/rust-lang/crates.io-index" 1984 | checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" 1985 | dependencies = [ 1986 | "regex-syntax", 1987 | ] 1988 | 1989 | [[package]] 1990 | name = "regex-syntax" 1991 | version = "0.6.29" 1992 | source = "registry+https://github.com/rust-lang/crates.io-index" 1993 | checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" 1994 | 1995 | [[package]] 1996 | name = "rusqlite" 1997 | version = "0.29.0" 1998 | source = "registry+https://github.com/rust-lang/crates.io-index" 1999 | checksum = "549b9d036d571d42e6e85d1c1425e2ac83491075078ca9a15be021c56b1641f2" 2000 | dependencies = [ 2001 | "bitflags 2.0.2", 2002 | "fallible-iterator", 2003 | "fallible-streaming-iterator", 2004 | "hashlink", 2005 | "libsqlite3-sys", 2006 | "smallvec", 2007 | ] 2008 | 2009 | [[package]] 2010 | name = "rustc_version" 2011 | version = "0.4.0" 2012 | source = "registry+https://github.com/rust-lang/crates.io-index" 2013 | checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" 2014 | dependencies = [ 2015 | "semver", 2016 | ] 2017 | 2018 | [[package]] 2019 | name = "rustix" 2020 | version = "0.37.6" 2021 | source = "registry+https://github.com/rust-lang/crates.io-index" 2022 | checksum = "d097081ed288dfe45699b72f5b5d648e5f15d64d900c7080273baa20c16a6849" 2023 | dependencies = [ 2024 | "bitflags 1.3.2", 2025 | "errno", 2026 | "io-lifetimes", 2027 | "libc", 2028 | "linux-raw-sys", 2029 | "windows-sys 0.45.0", 2030 | ] 2031 | 2032 | [[package]] 2033 | name = "rustversion" 2034 | version = "1.0.12" 2035 | source = "registry+https://github.com/rust-lang/crates.io-index" 2036 | checksum = "4f3208ce4d8448b3f3e7d168a73f5e0c43a61e32930de3bceeccedb388b6bf06" 2037 | 2038 | [[package]] 2039 | name = "ryu" 2040 | version = "1.0.13" 2041 | source = "registry+https://github.com/rust-lang/crates.io-index" 2042 | checksum = "f91339c0467de62360649f8d3e185ca8de4224ff281f66000de5eb2a77a79041" 2043 | 2044 | [[package]] 2045 | name = "safemem" 2046 | version = "0.3.3" 2047 | source = "registry+https://github.com/rust-lang/crates.io-index" 2048 | checksum = "ef703b7cb59335eae2eb93ceb664c0eb7ea6bf567079d843e09420219668e072" 2049 | 2050 | [[package]] 2051 | name = "same-file" 2052 | version = "1.0.6" 2053 | source = "registry+https://github.com/rust-lang/crates.io-index" 2054 | checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" 2055 | dependencies = [ 2056 | "winapi-util", 2057 | ] 2058 | 2059 | [[package]] 2060 | name = "scoped-tls" 2061 | version = "1.0.1" 2062 | source = "registry+https://github.com/rust-lang/crates.io-index" 2063 | checksum = "e1cf6437eb19a8f4a6cc0f7dca544973b0b78843adbfeb3683d1a94a0024a294" 2064 | 2065 | [[package]] 2066 | name = "scopeguard" 2067 | version = "1.1.0" 2068 | source = "registry+https://github.com/rust-lang/crates.io-index" 2069 | checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" 2070 | 2071 | [[package]] 2072 | name = "selectors" 2073 | version = "0.22.0" 2074 | source = "registry+https://github.com/rust-lang/crates.io-index" 2075 | checksum = "df320f1889ac4ba6bc0cdc9c9af7af4bd64bb927bccdf32d81140dc1f9be12fe" 2076 | dependencies = [ 2077 | "bitflags 1.3.2", 2078 | "cssparser", 2079 | "derive_more", 2080 | "fxhash", 2081 | "log", 2082 | "matches", 2083 | "phf 0.8.0", 2084 | "phf_codegen", 2085 | "precomputed-hash", 2086 | "servo_arc", 2087 | "smallvec", 2088 | "thin-slice", 2089 | ] 2090 | 2091 | [[package]] 2092 | name = "semver" 2093 | version = "1.0.17" 2094 | source = "registry+https://github.com/rust-lang/crates.io-index" 2095 | checksum = "bebd363326d05ec3e2f532ab7660680f3b02130d780c299bca73469d521bc0ed" 2096 | dependencies = [ 2097 | "serde", 2098 | ] 2099 | 2100 | [[package]] 2101 | name = "serde" 2102 | version = "1.0.159" 2103 | source = "registry+https://github.com/rust-lang/crates.io-index" 2104 | checksum = "3c04e8343c3daeec41f58990b9d77068df31209f2af111e059e9fe9646693065" 2105 | dependencies = [ 2106 | "serde_derive", 2107 | ] 2108 | 2109 | [[package]] 2110 | name = "serde_derive" 2111 | version = "1.0.159" 2112 | source = "registry+https://github.com/rust-lang/crates.io-index" 2113 | checksum = "4c614d17805b093df4b147b51339e7e44bf05ef59fba1e45d83500bcfb4d8585" 2114 | dependencies = [ 2115 | "proc-macro2", 2116 | "quote", 2117 | "syn 2.0.12", 2118 | ] 2119 | 2120 | [[package]] 2121 | name = "serde_json" 2122 | version = "1.0.95" 2123 | source = "registry+https://github.com/rust-lang/crates.io-index" 2124 | checksum = "d721eca97ac802aa7777b701877c8004d950fc142651367300d21c1cc0194744" 2125 | dependencies = [ 2126 | "itoa 1.0.6", 2127 | "ryu", 2128 | "serde", 2129 | ] 2130 | 2131 | [[package]] 2132 | name = "serde_repr" 2133 | version = "0.1.12" 2134 | source = "registry+https://github.com/rust-lang/crates.io-index" 2135 | checksum = "bcec881020c684085e55a25f7fd888954d56609ef363479dc5a1305eb0d40cab" 2136 | dependencies = [ 2137 | "proc-macro2", 2138 | "quote", 2139 | "syn 2.0.12", 2140 | ] 2141 | 2142 | [[package]] 2143 | name = "serde_spanned" 2144 | version = "0.6.1" 2145 | source = "registry+https://github.com/rust-lang/crates.io-index" 2146 | checksum = "0efd8caf556a6cebd3b285caf480045fcc1ac04f6bd786b09a6f11af30c4fcf4" 2147 | dependencies = [ 2148 | "serde", 2149 | ] 2150 | 2151 | [[package]] 2152 | name = "serde_with" 2153 | version = "1.14.0" 2154 | source = "registry+https://github.com/rust-lang/crates.io-index" 2155 | checksum = "678b5a069e50bf00ecd22d0cd8ddf7c236f68581b03db652061ed5eb13a312ff" 2156 | dependencies = [ 2157 | "serde", 2158 | "serde_with_macros", 2159 | ] 2160 | 2161 | [[package]] 2162 | name = "serde_with_macros" 2163 | version = "1.5.2" 2164 | source = "registry+https://github.com/rust-lang/crates.io-index" 2165 | checksum = "e182d6ec6f05393cc0e5ed1bf81ad6db3a8feedf8ee515ecdd369809bcce8082" 2166 | dependencies = [ 2167 | "darling", 2168 | "proc-macro2", 2169 | "quote", 2170 | "syn 1.0.109", 2171 | ] 2172 | 2173 | [[package]] 2174 | name = "serialize-to-javascript" 2175 | version = "0.1.1" 2176 | source = "registry+https://github.com/rust-lang/crates.io-index" 2177 | checksum = "c9823f2d3b6a81d98228151fdeaf848206a7855a7a042bbf9bf870449a66cafb" 2178 | dependencies = [ 2179 | "serde", 2180 | "serde_json", 2181 | "serialize-to-javascript-impl", 2182 | ] 2183 | 2184 | [[package]] 2185 | name = "serialize-to-javascript-impl" 2186 | version = "0.1.1" 2187 | source = "registry+https://github.com/rust-lang/crates.io-index" 2188 | checksum = "74064874e9f6a15f04c1f3cb627902d0e6b410abbf36668afa873c61889f1763" 2189 | dependencies = [ 2190 | "proc-macro2", 2191 | "quote", 2192 | "syn 1.0.109", 2193 | ] 2194 | 2195 | [[package]] 2196 | name = "servo_arc" 2197 | version = "0.1.1" 2198 | source = "registry+https://github.com/rust-lang/crates.io-index" 2199 | checksum = "d98238b800e0d1576d8b6e3de32827c2d74bee68bb97748dcf5071fb53965432" 2200 | dependencies = [ 2201 | "nodrop", 2202 | "stable_deref_trait", 2203 | ] 2204 | 2205 | [[package]] 2206 | name = "sha2" 2207 | version = "0.10.6" 2208 | source = "registry+https://github.com/rust-lang/crates.io-index" 2209 | checksum = "82e6b795fe2e3b1e845bafcb27aa35405c4d47cdfc92af5fc8d3002f76cebdc0" 2210 | dependencies = [ 2211 | "cfg-if", 2212 | "cpufeatures", 2213 | "digest", 2214 | ] 2215 | 2216 | [[package]] 2217 | name = "sharded-slab" 2218 | version = "0.1.4" 2219 | source = "registry+https://github.com/rust-lang/crates.io-index" 2220 | checksum = "900fba806f70c630b0a382d0d825e17a0f19fcd059a2ade1ff237bcddf446b31" 2221 | dependencies = [ 2222 | "lazy_static", 2223 | ] 2224 | 2225 | [[package]] 2226 | name = "siphasher" 2227 | version = "0.3.10" 2228 | source = "registry+https://github.com/rust-lang/crates.io-index" 2229 | checksum = "7bd3e3206899af3f8b12af284fafc038cc1dc2b41d1b89dd17297221c5d225de" 2230 | 2231 | [[package]] 2232 | name = "slab" 2233 | version = "0.4.8" 2234 | source = "registry+https://github.com/rust-lang/crates.io-index" 2235 | checksum = "6528351c9bc8ab22353f9d776db39a20288e8d6c37ef8cfe3317cf875eecfc2d" 2236 | dependencies = [ 2237 | "autocfg", 2238 | ] 2239 | 2240 | [[package]] 2241 | name = "smallvec" 2242 | version = "1.10.0" 2243 | source = "registry+https://github.com/rust-lang/crates.io-index" 2244 | checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0" 2245 | 2246 | [[package]] 2247 | name = "soup2" 2248 | version = "0.2.1" 2249 | source = "registry+https://github.com/rust-lang/crates.io-index" 2250 | checksum = "b2b4d76501d8ba387cf0fefbe055c3e0a59891d09f0f995ae4e4b16f6b60f3c0" 2251 | dependencies = [ 2252 | "bitflags 1.3.2", 2253 | "gio", 2254 | "glib", 2255 | "libc", 2256 | "once_cell", 2257 | "soup2-sys", 2258 | ] 2259 | 2260 | [[package]] 2261 | name = "soup2-sys" 2262 | version = "0.2.0" 2263 | source = "registry+https://github.com/rust-lang/crates.io-index" 2264 | checksum = "009ef427103fcb17f802871647a7fa6c60cbb654b4c4e4c0ac60a31c5f6dc9cf" 2265 | dependencies = [ 2266 | "bitflags 1.3.2", 2267 | "gio-sys", 2268 | "glib-sys", 2269 | "gobject-sys", 2270 | "libc", 2271 | "system-deps 5.0.0", 2272 | ] 2273 | 2274 | [[package]] 2275 | name = "stable_deref_trait" 2276 | version = "1.2.0" 2277 | source = "registry+https://github.com/rust-lang/crates.io-index" 2278 | checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" 2279 | 2280 | [[package]] 2281 | name = "state" 2282 | version = "0.5.3" 2283 | source = "registry+https://github.com/rust-lang/crates.io-index" 2284 | checksum = "dbe866e1e51e8260c9eed836a042a5e7f6726bb2b411dffeaa712e19c388f23b" 2285 | dependencies = [ 2286 | "loom", 2287 | ] 2288 | 2289 | [[package]] 2290 | name = "string_cache" 2291 | version = "0.8.7" 2292 | source = "registry+https://github.com/rust-lang/crates.io-index" 2293 | checksum = "f91138e76242f575eb1d3b38b4f1362f10d3a43f47d182a5b359af488a02293b" 2294 | dependencies = [ 2295 | "new_debug_unreachable", 2296 | "once_cell", 2297 | "parking_lot", 2298 | "phf_shared 0.10.0", 2299 | "precomputed-hash", 2300 | "serde", 2301 | ] 2302 | 2303 | [[package]] 2304 | name = "string_cache_codegen" 2305 | version = "0.5.2" 2306 | source = "registry+https://github.com/rust-lang/crates.io-index" 2307 | checksum = "6bb30289b722be4ff74a408c3cc27edeaad656e06cb1fe8fa9231fa59c728988" 2308 | dependencies = [ 2309 | "phf_generator 0.10.0", 2310 | "phf_shared 0.10.0", 2311 | "proc-macro2", 2312 | "quote", 2313 | ] 2314 | 2315 | [[package]] 2316 | name = "strsim" 2317 | version = "0.10.0" 2318 | source = "registry+https://github.com/rust-lang/crates.io-index" 2319 | checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" 2320 | 2321 | [[package]] 2322 | name = "syn" 2323 | version = "1.0.109" 2324 | source = "registry+https://github.com/rust-lang/crates.io-index" 2325 | checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" 2326 | dependencies = [ 2327 | "proc-macro2", 2328 | "quote", 2329 | "unicode-ident", 2330 | ] 2331 | 2332 | [[package]] 2333 | name = "syn" 2334 | version = "2.0.12" 2335 | source = "registry+https://github.com/rust-lang/crates.io-index" 2336 | checksum = "79d9531f94112cfc3e4c8f5f02cb2b58f72c97b7efd85f70203cc6d8efda5927" 2337 | dependencies = [ 2338 | "proc-macro2", 2339 | "quote", 2340 | "unicode-ident", 2341 | ] 2342 | 2343 | [[package]] 2344 | name = "system-deps" 2345 | version = "5.0.0" 2346 | source = "registry+https://github.com/rust-lang/crates.io-index" 2347 | checksum = "18db855554db7bd0e73e06cf7ba3df39f97812cb11d3f75e71c39bf45171797e" 2348 | dependencies = [ 2349 | "cfg-expr 0.9.1", 2350 | "heck 0.3.3", 2351 | "pkg-config", 2352 | "toml 0.5.11", 2353 | "version-compare 0.0.11", 2354 | ] 2355 | 2356 | [[package]] 2357 | name = "system-deps" 2358 | version = "6.0.4" 2359 | source = "registry+https://github.com/rust-lang/crates.io-index" 2360 | checksum = "555fc8147af6256f3931a36bb83ad0023240ce9cf2b319dec8236fd1f220b05f" 2361 | dependencies = [ 2362 | "cfg-expr 0.14.0", 2363 | "heck 0.4.1", 2364 | "pkg-config", 2365 | "toml 0.7.3", 2366 | "version-compare 0.1.1", 2367 | ] 2368 | 2369 | [[package]] 2370 | name = "tao" 2371 | version = "0.15.8" 2372 | source = "registry+https://github.com/rust-lang/crates.io-index" 2373 | checksum = "ac8e6399427c8494f9849b58694754d7cc741293348a6836b6c8d2c5aa82d8e6" 2374 | dependencies = [ 2375 | "bitflags 1.3.2", 2376 | "cairo-rs", 2377 | "cc", 2378 | "cocoa", 2379 | "core-foundation", 2380 | "core-graphics", 2381 | "crossbeam-channel", 2382 | "dispatch", 2383 | "gdk", 2384 | "gdk-pixbuf", 2385 | "gdk-sys", 2386 | "gdkx11-sys", 2387 | "gio", 2388 | "glib", 2389 | "glib-sys", 2390 | "gtk", 2391 | "image", 2392 | "instant", 2393 | "jni", 2394 | "lazy_static", 2395 | "libc", 2396 | "log", 2397 | "ndk", 2398 | "ndk-context", 2399 | "ndk-sys", 2400 | "objc", 2401 | "once_cell", 2402 | "parking_lot", 2403 | "paste", 2404 | "png", 2405 | "raw-window-handle", 2406 | "scopeguard", 2407 | "serde", 2408 | "unicode-segmentation", 2409 | "uuid 1.3.0", 2410 | "windows 0.39.0", 2411 | "windows-implement", 2412 | "x11-dl", 2413 | ] 2414 | 2415 | [[package]] 2416 | name = "tar" 2417 | version = "0.4.38" 2418 | source = "registry+https://github.com/rust-lang/crates.io-index" 2419 | checksum = "4b55807c0344e1e6c04d7c965f5289c39a8d94ae23ed5c0b57aabac549f871c6" 2420 | dependencies = [ 2421 | "filetime", 2422 | "libc", 2423 | "xattr", 2424 | ] 2425 | 2426 | [[package]] 2427 | name = "tauri" 2428 | version = "1.2.4" 2429 | source = "registry+https://github.com/rust-lang/crates.io-index" 2430 | checksum = "fe7e0f1d535e7cbbbab43c82be4fc992b84f9156c16c160955617e0260ebc449" 2431 | dependencies = [ 2432 | "anyhow", 2433 | "cocoa", 2434 | "dirs-next", 2435 | "embed_plist", 2436 | "encoding_rs", 2437 | "flate2", 2438 | "futures-util", 2439 | "glib", 2440 | "glob", 2441 | "gtk", 2442 | "heck 0.4.1", 2443 | "http", 2444 | "ignore", 2445 | "objc", 2446 | "once_cell", 2447 | "open", 2448 | "percent-encoding", 2449 | "rand 0.8.5", 2450 | "raw-window-handle", 2451 | "regex", 2452 | "semver", 2453 | "serde", 2454 | "serde_json", 2455 | "serde_repr", 2456 | "serialize-to-javascript", 2457 | "state", 2458 | "tar", 2459 | "tauri-macros", 2460 | "tauri-runtime", 2461 | "tauri-runtime-wry", 2462 | "tauri-utils", 2463 | "tempfile", 2464 | "thiserror", 2465 | "tokio", 2466 | "url", 2467 | "uuid 1.3.0", 2468 | "webkit2gtk", 2469 | "webview2-com", 2470 | "windows 0.39.0", 2471 | ] 2472 | 2473 | [[package]] 2474 | name = "tauri-build" 2475 | version = "1.2.1" 2476 | source = "registry+https://github.com/rust-lang/crates.io-index" 2477 | checksum = "8807c85d656b2b93927c19fe5a5f1f1f348f96c2de8b90763b3c2d561511f9b4" 2478 | dependencies = [ 2479 | "anyhow", 2480 | "cargo_toml", 2481 | "heck 0.4.1", 2482 | "json-patch", 2483 | "semver", 2484 | "serde_json", 2485 | "tauri-utils", 2486 | "winres", 2487 | ] 2488 | 2489 | [[package]] 2490 | name = "tauri-codegen" 2491 | version = "1.2.1" 2492 | source = "registry+https://github.com/rust-lang/crates.io-index" 2493 | checksum = "14388d484b6b1b5dc0f6a7d6cc6433b3b230bec85eaa576adcdf3f9fafa49251" 2494 | dependencies = [ 2495 | "base64 0.13.1", 2496 | "brotli", 2497 | "ico", 2498 | "json-patch", 2499 | "plist", 2500 | "png", 2501 | "proc-macro2", 2502 | "quote", 2503 | "regex", 2504 | "semver", 2505 | "serde", 2506 | "serde_json", 2507 | "sha2", 2508 | "tauri-utils", 2509 | "thiserror", 2510 | "time", 2511 | "uuid 1.3.0", 2512 | "walkdir", 2513 | ] 2514 | 2515 | [[package]] 2516 | name = "tauri-macros" 2517 | version = "1.2.1" 2518 | source = "registry+https://github.com/rust-lang/crates.io-index" 2519 | checksum = "069319e5ecbe653a799b94b0690d9f9bf5d00f7b1d3989aa331c524d4e354075" 2520 | dependencies = [ 2521 | "heck 0.4.1", 2522 | "proc-macro2", 2523 | "quote", 2524 | "syn 1.0.109", 2525 | "tauri-codegen", 2526 | "tauri-utils", 2527 | ] 2528 | 2529 | [[package]] 2530 | name = "tauri-runtime" 2531 | version = "0.12.1" 2532 | source = "registry+https://github.com/rust-lang/crates.io-index" 2533 | checksum = "c507d954d08ac8705d235bc70ec6975b9054fb95ff7823af72dbb04186596f3b" 2534 | dependencies = [ 2535 | "gtk", 2536 | "http", 2537 | "http-range", 2538 | "rand 0.8.5", 2539 | "raw-window-handle", 2540 | "serde", 2541 | "serde_json", 2542 | "tauri-utils", 2543 | "thiserror", 2544 | "uuid 1.3.0", 2545 | "webview2-com", 2546 | "windows 0.39.0", 2547 | ] 2548 | 2549 | [[package]] 2550 | name = "tauri-runtime-wry" 2551 | version = "0.12.2" 2552 | source = "registry+https://github.com/rust-lang/crates.io-index" 2553 | checksum = "36b1c5764a41a13176a4599b5b7bd0881bea7d94dfe45e1e755f789b98317e30" 2554 | dependencies = [ 2555 | "cocoa", 2556 | "gtk", 2557 | "percent-encoding", 2558 | "rand 0.8.5", 2559 | "raw-window-handle", 2560 | "tauri-runtime", 2561 | "tauri-utils", 2562 | "uuid 1.3.0", 2563 | "webkit2gtk", 2564 | "webview2-com", 2565 | "windows 0.39.0", 2566 | "wry", 2567 | ] 2568 | 2569 | [[package]] 2570 | name = "tauri-sqlite" 2571 | version = "0.0.0" 2572 | dependencies = [ 2573 | "rusqlite", 2574 | "serde", 2575 | "serde_json", 2576 | "tauri", 2577 | "tauri-build", 2578 | ] 2579 | 2580 | [[package]] 2581 | name = "tauri-utils" 2582 | version = "1.2.1" 2583 | source = "registry+https://github.com/rust-lang/crates.io-index" 2584 | checksum = "5abbc109a6eb45127956ffcc26ef0e875d160150ac16cfa45d26a6b2871686f1" 2585 | dependencies = [ 2586 | "brotli", 2587 | "ctor", 2588 | "glob", 2589 | "heck 0.4.1", 2590 | "html5ever", 2591 | "infer", 2592 | "json-patch", 2593 | "kuchiki", 2594 | "memchr", 2595 | "phf 0.10.1", 2596 | "proc-macro2", 2597 | "quote", 2598 | "semver", 2599 | "serde", 2600 | "serde_json", 2601 | "serde_with", 2602 | "thiserror", 2603 | "url", 2604 | "walkdir", 2605 | "windows 0.39.0", 2606 | ] 2607 | 2608 | [[package]] 2609 | name = "tempfile" 2610 | version = "3.5.0" 2611 | source = "registry+https://github.com/rust-lang/crates.io-index" 2612 | checksum = "b9fbec84f381d5795b08656e4912bec604d162bff9291d6189a78f4c8ab87998" 2613 | dependencies = [ 2614 | "cfg-if", 2615 | "fastrand", 2616 | "redox_syscall 0.3.5", 2617 | "rustix", 2618 | "windows-sys 0.45.0", 2619 | ] 2620 | 2621 | [[package]] 2622 | name = "tendril" 2623 | version = "0.4.3" 2624 | source = "registry+https://github.com/rust-lang/crates.io-index" 2625 | checksum = "d24a120c5fc464a3458240ee02c299ebcb9d67b5249c8848b09d639dca8d7bb0" 2626 | dependencies = [ 2627 | "futf", 2628 | "mac", 2629 | "utf-8", 2630 | ] 2631 | 2632 | [[package]] 2633 | name = "thin-slice" 2634 | version = "0.1.1" 2635 | source = "registry+https://github.com/rust-lang/crates.io-index" 2636 | checksum = "8eaa81235c7058867fa8c0e7314f33dcce9c215f535d1913822a2b3f5e289f3c" 2637 | 2638 | [[package]] 2639 | name = "thiserror" 2640 | version = "1.0.40" 2641 | source = "registry+https://github.com/rust-lang/crates.io-index" 2642 | checksum = "978c9a314bd8dc99be594bc3c175faaa9794be04a5a5e153caba6915336cebac" 2643 | dependencies = [ 2644 | "thiserror-impl", 2645 | ] 2646 | 2647 | [[package]] 2648 | name = "thiserror-impl" 2649 | version = "1.0.40" 2650 | source = "registry+https://github.com/rust-lang/crates.io-index" 2651 | checksum = "f9456a42c5b0d803c8cd86e73dd7cc9edd429499f37a3550d286d5e86720569f" 2652 | dependencies = [ 2653 | "proc-macro2", 2654 | "quote", 2655 | "syn 2.0.12", 2656 | ] 2657 | 2658 | [[package]] 2659 | name = "thread_local" 2660 | version = "1.1.7" 2661 | source = "registry+https://github.com/rust-lang/crates.io-index" 2662 | checksum = "3fdd6f064ccff2d6567adcb3873ca630700f00b5ad3f060c25b5dcfd9a4ce152" 2663 | dependencies = [ 2664 | "cfg-if", 2665 | "once_cell", 2666 | ] 2667 | 2668 | [[package]] 2669 | name = "time" 2670 | version = "0.3.20" 2671 | source = "registry+https://github.com/rust-lang/crates.io-index" 2672 | checksum = "cd0cbfecb4d19b5ea75bb31ad904eb5b9fa13f21079c3b92017ebdf4999a5890" 2673 | dependencies = [ 2674 | "itoa 1.0.6", 2675 | "serde", 2676 | "time-core", 2677 | "time-macros", 2678 | ] 2679 | 2680 | [[package]] 2681 | name = "time-core" 2682 | version = "0.1.0" 2683 | source = "registry+https://github.com/rust-lang/crates.io-index" 2684 | checksum = "2e153e1f1acaef8acc537e68b44906d2db6436e2b35ac2c6b42640fff91f00fd" 2685 | 2686 | [[package]] 2687 | name = "time-macros" 2688 | version = "0.2.8" 2689 | source = "registry+https://github.com/rust-lang/crates.io-index" 2690 | checksum = "fd80a657e71da814b8e5d60d3374fc6d35045062245d80224748ae522dd76f36" 2691 | dependencies = [ 2692 | "time-core", 2693 | ] 2694 | 2695 | [[package]] 2696 | name = "tinyvec" 2697 | version = "1.6.0" 2698 | source = "registry+https://github.com/rust-lang/crates.io-index" 2699 | checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" 2700 | dependencies = [ 2701 | "tinyvec_macros", 2702 | ] 2703 | 2704 | [[package]] 2705 | name = "tinyvec_macros" 2706 | version = "0.1.1" 2707 | source = "registry+https://github.com/rust-lang/crates.io-index" 2708 | checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" 2709 | 2710 | [[package]] 2711 | name = "tokio" 2712 | version = "1.27.0" 2713 | source = "registry+https://github.com/rust-lang/crates.io-index" 2714 | checksum = "d0de47a4eecbe11f498978a9b29d792f0d2692d1dd003650c24c76510e3bc001" 2715 | dependencies = [ 2716 | "autocfg", 2717 | "bytes", 2718 | "num_cpus", 2719 | "pin-project-lite", 2720 | "windows-sys 0.45.0", 2721 | ] 2722 | 2723 | [[package]] 2724 | name = "toml" 2725 | version = "0.5.11" 2726 | source = "registry+https://github.com/rust-lang/crates.io-index" 2727 | checksum = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234" 2728 | dependencies = [ 2729 | "serde", 2730 | ] 2731 | 2732 | [[package]] 2733 | name = "toml" 2734 | version = "0.7.3" 2735 | source = "registry+https://github.com/rust-lang/crates.io-index" 2736 | checksum = "b403acf6f2bb0859c93c7f0d967cb4a75a7ac552100f9322faf64dc047669b21" 2737 | dependencies = [ 2738 | "serde", 2739 | "serde_spanned", 2740 | "toml_datetime", 2741 | "toml_edit", 2742 | ] 2743 | 2744 | [[package]] 2745 | name = "toml_datetime" 2746 | version = "0.6.1" 2747 | source = "registry+https://github.com/rust-lang/crates.io-index" 2748 | checksum = "3ab8ed2edee10b50132aed5f331333428b011c99402b5a534154ed15746f9622" 2749 | dependencies = [ 2750 | "serde", 2751 | ] 2752 | 2753 | [[package]] 2754 | name = "toml_edit" 2755 | version = "0.19.8" 2756 | source = "registry+https://github.com/rust-lang/crates.io-index" 2757 | checksum = "239410c8609e8125456927e6707163a3b1fdb40561e4b803bc041f466ccfdc13" 2758 | dependencies = [ 2759 | "indexmap", 2760 | "serde", 2761 | "serde_spanned", 2762 | "toml_datetime", 2763 | "winnow", 2764 | ] 2765 | 2766 | [[package]] 2767 | name = "tracing" 2768 | version = "0.1.37" 2769 | source = "registry+https://github.com/rust-lang/crates.io-index" 2770 | checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8" 2771 | dependencies = [ 2772 | "cfg-if", 2773 | "pin-project-lite", 2774 | "tracing-attributes", 2775 | "tracing-core", 2776 | ] 2777 | 2778 | [[package]] 2779 | name = "tracing-attributes" 2780 | version = "0.1.23" 2781 | source = "registry+https://github.com/rust-lang/crates.io-index" 2782 | checksum = "4017f8f45139870ca7e672686113917c71c7a6e02d4924eda67186083c03081a" 2783 | dependencies = [ 2784 | "proc-macro2", 2785 | "quote", 2786 | "syn 1.0.109", 2787 | ] 2788 | 2789 | [[package]] 2790 | name = "tracing-core" 2791 | version = "0.1.30" 2792 | source = "registry+https://github.com/rust-lang/crates.io-index" 2793 | checksum = "24eb03ba0eab1fd845050058ce5e616558e8f8d8fca633e6b163fe25c797213a" 2794 | dependencies = [ 2795 | "once_cell", 2796 | "valuable", 2797 | ] 2798 | 2799 | [[package]] 2800 | name = "tracing-log" 2801 | version = "0.1.3" 2802 | source = "registry+https://github.com/rust-lang/crates.io-index" 2803 | checksum = "78ddad33d2d10b1ed7eb9d1f518a5674713876e97e5bb9b7345a7984fbb4f922" 2804 | dependencies = [ 2805 | "lazy_static", 2806 | "log", 2807 | "tracing-core", 2808 | ] 2809 | 2810 | [[package]] 2811 | name = "tracing-subscriber" 2812 | version = "0.3.16" 2813 | source = "registry+https://github.com/rust-lang/crates.io-index" 2814 | checksum = "a6176eae26dd70d0c919749377897b54a9276bd7061339665dd68777926b5a70" 2815 | dependencies = [ 2816 | "matchers", 2817 | "nu-ansi-term", 2818 | "once_cell", 2819 | "regex", 2820 | "sharded-slab", 2821 | "smallvec", 2822 | "thread_local", 2823 | "tracing", 2824 | "tracing-core", 2825 | "tracing-log", 2826 | ] 2827 | 2828 | [[package]] 2829 | name = "treediff" 2830 | version = "3.0.2" 2831 | source = "registry+https://github.com/rust-lang/crates.io-index" 2832 | checksum = "761e8d5ad7ce14bb82b7e61ccc0ca961005a275a060b9644a2431aa11553c2ff" 2833 | dependencies = [ 2834 | "serde_json", 2835 | ] 2836 | 2837 | [[package]] 2838 | name = "typenum" 2839 | version = "1.16.0" 2840 | source = "registry+https://github.com/rust-lang/crates.io-index" 2841 | checksum = "497961ef93d974e23eb6f433eb5fe1b7930b659f06d12dec6fc44a8f554c0bba" 2842 | 2843 | [[package]] 2844 | name = "unicode-bidi" 2845 | version = "0.3.13" 2846 | source = "registry+https://github.com/rust-lang/crates.io-index" 2847 | checksum = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460" 2848 | 2849 | [[package]] 2850 | name = "unicode-ident" 2851 | version = "1.0.8" 2852 | source = "registry+https://github.com/rust-lang/crates.io-index" 2853 | checksum = "e5464a87b239f13a63a501f2701565754bae92d243d4bb7eb12f6d57d2269bf4" 2854 | 2855 | [[package]] 2856 | name = "unicode-normalization" 2857 | version = "0.1.22" 2858 | source = "registry+https://github.com/rust-lang/crates.io-index" 2859 | checksum = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921" 2860 | dependencies = [ 2861 | "tinyvec", 2862 | ] 2863 | 2864 | [[package]] 2865 | name = "unicode-segmentation" 2866 | version = "1.10.1" 2867 | source = "registry+https://github.com/rust-lang/crates.io-index" 2868 | checksum = "1dd624098567895118886609431a7c3b8f516e41d30e0643f03d94592a147e36" 2869 | 2870 | [[package]] 2871 | name = "url" 2872 | version = "2.3.1" 2873 | source = "registry+https://github.com/rust-lang/crates.io-index" 2874 | checksum = "0d68c799ae75762b8c3fe375feb6600ef5602c883c5d21eb51c09f22b83c4643" 2875 | dependencies = [ 2876 | "form_urlencoded", 2877 | "idna", 2878 | "percent-encoding", 2879 | "serde", 2880 | ] 2881 | 2882 | [[package]] 2883 | name = "utf-8" 2884 | version = "0.7.6" 2885 | source = "registry+https://github.com/rust-lang/crates.io-index" 2886 | checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" 2887 | 2888 | [[package]] 2889 | name = "uuid" 2890 | version = "0.8.2" 2891 | source = "registry+https://github.com/rust-lang/crates.io-index" 2892 | checksum = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7" 2893 | 2894 | [[package]] 2895 | name = "uuid" 2896 | version = "1.3.0" 2897 | source = "registry+https://github.com/rust-lang/crates.io-index" 2898 | checksum = "1674845326ee10d37ca60470760d4288a6f80f304007d92e5c53bab78c9cfd79" 2899 | dependencies = [ 2900 | "getrandom 0.2.8", 2901 | ] 2902 | 2903 | [[package]] 2904 | name = "valuable" 2905 | version = "0.1.0" 2906 | source = "registry+https://github.com/rust-lang/crates.io-index" 2907 | checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" 2908 | 2909 | [[package]] 2910 | name = "vcpkg" 2911 | version = "0.2.15" 2912 | source = "registry+https://github.com/rust-lang/crates.io-index" 2913 | checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" 2914 | 2915 | [[package]] 2916 | name = "version-compare" 2917 | version = "0.0.11" 2918 | source = "registry+https://github.com/rust-lang/crates.io-index" 2919 | checksum = "1c18c859eead79d8b95d09e4678566e8d70105c4e7b251f707a03df32442661b" 2920 | 2921 | [[package]] 2922 | name = "version-compare" 2923 | version = "0.1.1" 2924 | source = "registry+https://github.com/rust-lang/crates.io-index" 2925 | checksum = "579a42fc0b8e0c63b76519a339be31bed574929511fa53c1a3acae26eb258f29" 2926 | 2927 | [[package]] 2928 | name = "version_check" 2929 | version = "0.9.4" 2930 | source = "registry+https://github.com/rust-lang/crates.io-index" 2931 | checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" 2932 | 2933 | [[package]] 2934 | name = "walkdir" 2935 | version = "2.3.3" 2936 | source = "registry+https://github.com/rust-lang/crates.io-index" 2937 | checksum = "36df944cda56c7d8d8b7496af378e6b16de9284591917d307c9b4d313c44e698" 2938 | dependencies = [ 2939 | "same-file", 2940 | "winapi-util", 2941 | ] 2942 | 2943 | [[package]] 2944 | name = "wasi" 2945 | version = "0.9.0+wasi-snapshot-preview1" 2946 | source = "registry+https://github.com/rust-lang/crates.io-index" 2947 | checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" 2948 | 2949 | [[package]] 2950 | name = "wasi" 2951 | version = "0.11.0+wasi-snapshot-preview1" 2952 | source = "registry+https://github.com/rust-lang/crates.io-index" 2953 | checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" 2954 | 2955 | [[package]] 2956 | name = "webkit2gtk" 2957 | version = "0.18.2" 2958 | source = "registry+https://github.com/rust-lang/crates.io-index" 2959 | checksum = "b8f859735e4a452aeb28c6c56a852967a8a76c8eb1cc32dbf931ad28a13d6370" 2960 | dependencies = [ 2961 | "bitflags 1.3.2", 2962 | "cairo-rs", 2963 | "gdk", 2964 | "gdk-sys", 2965 | "gio", 2966 | "gio-sys", 2967 | "glib", 2968 | "glib-sys", 2969 | "gobject-sys", 2970 | "gtk", 2971 | "gtk-sys", 2972 | "javascriptcore-rs", 2973 | "libc", 2974 | "once_cell", 2975 | "soup2", 2976 | "webkit2gtk-sys", 2977 | ] 2978 | 2979 | [[package]] 2980 | name = "webkit2gtk-sys" 2981 | version = "0.18.0" 2982 | source = "registry+https://github.com/rust-lang/crates.io-index" 2983 | checksum = "4d76ca6ecc47aeba01ec61e480139dda143796abcae6f83bcddf50d6b5b1dcf3" 2984 | dependencies = [ 2985 | "atk-sys", 2986 | "bitflags 1.3.2", 2987 | "cairo-sys-rs", 2988 | "gdk-pixbuf-sys", 2989 | "gdk-sys", 2990 | "gio-sys", 2991 | "glib-sys", 2992 | "gobject-sys", 2993 | "gtk-sys", 2994 | "javascriptcore-rs-sys", 2995 | "libc", 2996 | "pango-sys", 2997 | "pkg-config", 2998 | "soup2-sys", 2999 | "system-deps 6.0.4", 3000 | ] 3001 | 3002 | [[package]] 3003 | name = "webview2-com" 3004 | version = "0.19.1" 3005 | source = "registry+https://github.com/rust-lang/crates.io-index" 3006 | checksum = "b4a769c9f1a64a8734bde70caafac2b96cada12cd4aefa49196b3a386b8b4178" 3007 | dependencies = [ 3008 | "webview2-com-macros", 3009 | "webview2-com-sys", 3010 | "windows 0.39.0", 3011 | "windows-implement", 3012 | ] 3013 | 3014 | [[package]] 3015 | name = "webview2-com-macros" 3016 | version = "0.6.0" 3017 | source = "registry+https://github.com/rust-lang/crates.io-index" 3018 | checksum = "eaebe196c01691db62e9e4ca52c5ef1e4fd837dcae27dae3ada599b5a8fd05ac" 3019 | dependencies = [ 3020 | "proc-macro2", 3021 | "quote", 3022 | "syn 1.0.109", 3023 | ] 3024 | 3025 | [[package]] 3026 | name = "webview2-com-sys" 3027 | version = "0.19.0" 3028 | source = "registry+https://github.com/rust-lang/crates.io-index" 3029 | checksum = "aac48ef20ddf657755fdcda8dfed2a7b4fc7e4581acce6fe9b88c3d64f29dee7" 3030 | dependencies = [ 3031 | "regex", 3032 | "serde", 3033 | "serde_json", 3034 | "thiserror", 3035 | "windows 0.39.0", 3036 | "windows-bindgen", 3037 | "windows-metadata", 3038 | ] 3039 | 3040 | [[package]] 3041 | name = "winapi" 3042 | version = "0.3.9" 3043 | source = "registry+https://github.com/rust-lang/crates.io-index" 3044 | checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" 3045 | dependencies = [ 3046 | "winapi-i686-pc-windows-gnu", 3047 | "winapi-x86_64-pc-windows-gnu", 3048 | ] 3049 | 3050 | [[package]] 3051 | name = "winapi-i686-pc-windows-gnu" 3052 | version = "0.4.0" 3053 | source = "registry+https://github.com/rust-lang/crates.io-index" 3054 | checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" 3055 | 3056 | [[package]] 3057 | name = "winapi-util" 3058 | version = "0.1.5" 3059 | source = "registry+https://github.com/rust-lang/crates.io-index" 3060 | checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" 3061 | dependencies = [ 3062 | "winapi", 3063 | ] 3064 | 3065 | [[package]] 3066 | name = "winapi-x86_64-pc-windows-gnu" 3067 | version = "0.4.0" 3068 | source = "registry+https://github.com/rust-lang/crates.io-index" 3069 | checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" 3070 | 3071 | [[package]] 3072 | name = "windows" 3073 | version = "0.39.0" 3074 | source = "registry+https://github.com/rust-lang/crates.io-index" 3075 | checksum = "f1c4bd0a50ac6020f65184721f758dba47bb9fbc2133df715ec74a237b26794a" 3076 | dependencies = [ 3077 | "windows-implement", 3078 | "windows_aarch64_msvc 0.39.0", 3079 | "windows_i686_gnu 0.39.0", 3080 | "windows_i686_msvc 0.39.0", 3081 | "windows_x86_64_gnu 0.39.0", 3082 | "windows_x86_64_msvc 0.39.0", 3083 | ] 3084 | 3085 | [[package]] 3086 | name = "windows" 3087 | version = "0.44.0" 3088 | source = "registry+https://github.com/rust-lang/crates.io-index" 3089 | checksum = "9e745dab35a0c4c77aa3ce42d595e13d2003d6902d6b08c9ef5fc326d08da12b" 3090 | dependencies = [ 3091 | "windows-targets", 3092 | ] 3093 | 3094 | [[package]] 3095 | name = "windows-bindgen" 3096 | version = "0.39.0" 3097 | source = "registry+https://github.com/rust-lang/crates.io-index" 3098 | checksum = "68003dbd0e38abc0fb85b939240f4bce37c43a5981d3df37ccbaaa981b47cb41" 3099 | dependencies = [ 3100 | "windows-metadata", 3101 | "windows-tokens", 3102 | ] 3103 | 3104 | [[package]] 3105 | name = "windows-implement" 3106 | version = "0.39.0" 3107 | source = "registry+https://github.com/rust-lang/crates.io-index" 3108 | checksum = "ba01f98f509cb5dc05f4e5fc95e535f78260f15fea8fe1a8abdd08f774f1cee7" 3109 | dependencies = [ 3110 | "syn 1.0.109", 3111 | "windows-tokens", 3112 | ] 3113 | 3114 | [[package]] 3115 | name = "windows-metadata" 3116 | version = "0.39.0" 3117 | source = "registry+https://github.com/rust-lang/crates.io-index" 3118 | checksum = "9ee5e275231f07c6e240d14f34e1b635bf1faa1c76c57cfd59a5cdb9848e4278" 3119 | 3120 | [[package]] 3121 | name = "windows-sys" 3122 | version = "0.42.0" 3123 | source = "registry+https://github.com/rust-lang/crates.io-index" 3124 | checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7" 3125 | dependencies = [ 3126 | "windows_aarch64_gnullvm", 3127 | "windows_aarch64_msvc 0.42.2", 3128 | "windows_i686_gnu 0.42.2", 3129 | "windows_i686_msvc 0.42.2", 3130 | "windows_x86_64_gnu 0.42.2", 3131 | "windows_x86_64_gnullvm", 3132 | "windows_x86_64_msvc 0.42.2", 3133 | ] 3134 | 3135 | [[package]] 3136 | name = "windows-sys" 3137 | version = "0.45.0" 3138 | source = "registry+https://github.com/rust-lang/crates.io-index" 3139 | checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" 3140 | dependencies = [ 3141 | "windows-targets", 3142 | ] 3143 | 3144 | [[package]] 3145 | name = "windows-targets" 3146 | version = "0.42.2" 3147 | source = "registry+https://github.com/rust-lang/crates.io-index" 3148 | checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" 3149 | dependencies = [ 3150 | "windows_aarch64_gnullvm", 3151 | "windows_aarch64_msvc 0.42.2", 3152 | "windows_i686_gnu 0.42.2", 3153 | "windows_i686_msvc 0.42.2", 3154 | "windows_x86_64_gnu 0.42.2", 3155 | "windows_x86_64_gnullvm", 3156 | "windows_x86_64_msvc 0.42.2", 3157 | ] 3158 | 3159 | [[package]] 3160 | name = "windows-tokens" 3161 | version = "0.39.0" 3162 | source = "registry+https://github.com/rust-lang/crates.io-index" 3163 | checksum = "f838de2fe15fe6bac988e74b798f26499a8b21a9d97edec321e79b28d1d7f597" 3164 | 3165 | [[package]] 3166 | name = "windows_aarch64_gnullvm" 3167 | version = "0.42.2" 3168 | source = "registry+https://github.com/rust-lang/crates.io-index" 3169 | checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" 3170 | 3171 | [[package]] 3172 | name = "windows_aarch64_msvc" 3173 | version = "0.39.0" 3174 | source = "registry+https://github.com/rust-lang/crates.io-index" 3175 | checksum = "ec7711666096bd4096ffa835238905bb33fb87267910e154b18b44eaabb340f2" 3176 | 3177 | [[package]] 3178 | name = "windows_aarch64_msvc" 3179 | version = "0.42.2" 3180 | source = "registry+https://github.com/rust-lang/crates.io-index" 3181 | checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" 3182 | 3183 | [[package]] 3184 | name = "windows_i686_gnu" 3185 | version = "0.39.0" 3186 | source = "registry+https://github.com/rust-lang/crates.io-index" 3187 | checksum = "763fc57100a5f7042e3057e7e8d9bdd7860d330070251a73d003563a3bb49e1b" 3188 | 3189 | [[package]] 3190 | name = "windows_i686_gnu" 3191 | version = "0.42.2" 3192 | source = "registry+https://github.com/rust-lang/crates.io-index" 3193 | checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" 3194 | 3195 | [[package]] 3196 | name = "windows_i686_msvc" 3197 | version = "0.39.0" 3198 | source = "registry+https://github.com/rust-lang/crates.io-index" 3199 | checksum = "7bc7cbfe58828921e10a9f446fcaaf649204dcfe6c1ddd712c5eebae6bda1106" 3200 | 3201 | [[package]] 3202 | name = "windows_i686_msvc" 3203 | version = "0.42.2" 3204 | source = "registry+https://github.com/rust-lang/crates.io-index" 3205 | checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" 3206 | 3207 | [[package]] 3208 | name = "windows_x86_64_gnu" 3209 | version = "0.39.0" 3210 | source = "registry+https://github.com/rust-lang/crates.io-index" 3211 | checksum = "6868c165637d653ae1e8dc4d82c25d4f97dd6605eaa8d784b5c6e0ab2a252b65" 3212 | 3213 | [[package]] 3214 | name = "windows_x86_64_gnu" 3215 | version = "0.42.2" 3216 | source = "registry+https://github.com/rust-lang/crates.io-index" 3217 | checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" 3218 | 3219 | [[package]] 3220 | name = "windows_x86_64_gnullvm" 3221 | version = "0.42.2" 3222 | source = "registry+https://github.com/rust-lang/crates.io-index" 3223 | checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" 3224 | 3225 | [[package]] 3226 | name = "windows_x86_64_msvc" 3227 | version = "0.39.0" 3228 | source = "registry+https://github.com/rust-lang/crates.io-index" 3229 | checksum = "5e4d40883ae9cae962787ca76ba76390ffa29214667a111db9e0a1ad8377e809" 3230 | 3231 | [[package]] 3232 | name = "windows_x86_64_msvc" 3233 | version = "0.42.2" 3234 | source = "registry+https://github.com/rust-lang/crates.io-index" 3235 | checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" 3236 | 3237 | [[package]] 3238 | name = "winnow" 3239 | version = "0.4.1" 3240 | source = "registry+https://github.com/rust-lang/crates.io-index" 3241 | checksum = "ae8970b36c66498d8ff1d66685dc86b91b29db0c7739899012f63a63814b4b28" 3242 | dependencies = [ 3243 | "memchr", 3244 | ] 3245 | 3246 | [[package]] 3247 | name = "winres" 3248 | version = "0.1.12" 3249 | source = "registry+https://github.com/rust-lang/crates.io-index" 3250 | checksum = "b68db261ef59e9e52806f688020631e987592bd83619edccda9c47d42cde4f6c" 3251 | dependencies = [ 3252 | "toml 0.5.11", 3253 | ] 3254 | 3255 | [[package]] 3256 | name = "wry" 3257 | version = "0.23.4" 3258 | source = "registry+https://github.com/rust-lang/crates.io-index" 3259 | checksum = "4c1ad8e2424f554cc5bdebe8aa374ef5b433feff817aebabca0389961fc7ef98" 3260 | dependencies = [ 3261 | "base64 0.13.1", 3262 | "block", 3263 | "cocoa", 3264 | "core-graphics", 3265 | "crossbeam-channel", 3266 | "dunce", 3267 | "gdk", 3268 | "gio", 3269 | "glib", 3270 | "gtk", 3271 | "html5ever", 3272 | "http", 3273 | "kuchiki", 3274 | "libc", 3275 | "log", 3276 | "objc", 3277 | "objc_id", 3278 | "once_cell", 3279 | "serde", 3280 | "serde_json", 3281 | "sha2", 3282 | "soup2", 3283 | "tao", 3284 | "thiserror", 3285 | "url", 3286 | "webkit2gtk", 3287 | "webkit2gtk-sys", 3288 | "webview2-com", 3289 | "windows 0.39.0", 3290 | "windows-implement", 3291 | ] 3292 | 3293 | [[package]] 3294 | name = "x11" 3295 | version = "2.21.0" 3296 | source = "registry+https://github.com/rust-lang/crates.io-index" 3297 | checksum = "502da5464ccd04011667b11c435cb992822c2c0dbde1770c988480d312a0db2e" 3298 | dependencies = [ 3299 | "libc", 3300 | "pkg-config", 3301 | ] 3302 | 3303 | [[package]] 3304 | name = "x11-dl" 3305 | version = "2.21.0" 3306 | source = "registry+https://github.com/rust-lang/crates.io-index" 3307 | checksum = "38735924fedd5314a6e548792904ed8c6de6636285cb9fec04d5b1db85c1516f" 3308 | dependencies = [ 3309 | "libc", 3310 | "once_cell", 3311 | "pkg-config", 3312 | ] 3313 | 3314 | [[package]] 3315 | name = "xattr" 3316 | version = "0.2.3" 3317 | source = "registry+https://github.com/rust-lang/crates.io-index" 3318 | checksum = "6d1526bbe5aaeb5eb06885f4d987bcdfa5e23187055de9b83fe00156a821fabc" 3319 | dependencies = [ 3320 | "libc", 3321 | ] 3322 | -------------------------------------------------------------------------------- /src-tauri/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "tauri-sqlite" 3 | version = "0.0.0" 4 | description = "A Tauri App" 5 | authors = ["you"] 6 | license = "" 7 | repository = "" 8 | edition = "2021" 9 | 10 | # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html 11 | 12 | [build-dependencies] 13 | tauri-build = { version = "1.2", features = [] } 14 | 15 | [dependencies] 16 | rusqlite = { version = "0.29.0", features = ["bundled"] } 17 | serde = { version = "1.0", features = ["derive"] } 18 | serde_json = "1.0" 19 | tauri = { version = "1.2", features = ["shell-open"] } 20 | 21 | [features] 22 | # this feature is used for production builds or when `devPath` points to the filesystem 23 | # DO NOT REMOVE!! 24 | custom-protocol = ["tauri/custom-protocol"] 25 | -------------------------------------------------------------------------------- /src-tauri/build.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | tauri_build::build() 3 | } 4 | -------------------------------------------------------------------------------- /src-tauri/icons/128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RandomEngy/tauri-sqlite/2fa834ff8dffa299f06512bac34884dd2a77f7f2/src-tauri/icons/128x128.png -------------------------------------------------------------------------------- /src-tauri/icons/128x128@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RandomEngy/tauri-sqlite/2fa834ff8dffa299f06512bac34884dd2a77f7f2/src-tauri/icons/128x128@2x.png -------------------------------------------------------------------------------- /src-tauri/icons/32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RandomEngy/tauri-sqlite/2fa834ff8dffa299f06512bac34884dd2a77f7f2/src-tauri/icons/32x32.png -------------------------------------------------------------------------------- /src-tauri/icons/Square107x107Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RandomEngy/tauri-sqlite/2fa834ff8dffa299f06512bac34884dd2a77f7f2/src-tauri/icons/Square107x107Logo.png -------------------------------------------------------------------------------- /src-tauri/icons/Square142x142Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RandomEngy/tauri-sqlite/2fa834ff8dffa299f06512bac34884dd2a77f7f2/src-tauri/icons/Square142x142Logo.png -------------------------------------------------------------------------------- /src-tauri/icons/Square150x150Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RandomEngy/tauri-sqlite/2fa834ff8dffa299f06512bac34884dd2a77f7f2/src-tauri/icons/Square150x150Logo.png -------------------------------------------------------------------------------- /src-tauri/icons/Square284x284Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RandomEngy/tauri-sqlite/2fa834ff8dffa299f06512bac34884dd2a77f7f2/src-tauri/icons/Square284x284Logo.png -------------------------------------------------------------------------------- /src-tauri/icons/Square30x30Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RandomEngy/tauri-sqlite/2fa834ff8dffa299f06512bac34884dd2a77f7f2/src-tauri/icons/Square30x30Logo.png -------------------------------------------------------------------------------- /src-tauri/icons/Square310x310Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RandomEngy/tauri-sqlite/2fa834ff8dffa299f06512bac34884dd2a77f7f2/src-tauri/icons/Square310x310Logo.png -------------------------------------------------------------------------------- /src-tauri/icons/Square44x44Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RandomEngy/tauri-sqlite/2fa834ff8dffa299f06512bac34884dd2a77f7f2/src-tauri/icons/Square44x44Logo.png -------------------------------------------------------------------------------- /src-tauri/icons/Square71x71Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RandomEngy/tauri-sqlite/2fa834ff8dffa299f06512bac34884dd2a77f7f2/src-tauri/icons/Square71x71Logo.png -------------------------------------------------------------------------------- /src-tauri/icons/Square89x89Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RandomEngy/tauri-sqlite/2fa834ff8dffa299f06512bac34884dd2a77f7f2/src-tauri/icons/Square89x89Logo.png -------------------------------------------------------------------------------- /src-tauri/icons/StoreLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RandomEngy/tauri-sqlite/2fa834ff8dffa299f06512bac34884dd2a77f7f2/src-tauri/icons/StoreLogo.png -------------------------------------------------------------------------------- /src-tauri/icons/icon.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RandomEngy/tauri-sqlite/2fa834ff8dffa299f06512bac34884dd2a77f7f2/src-tauri/icons/icon.icns -------------------------------------------------------------------------------- /src-tauri/icons/icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RandomEngy/tauri-sqlite/2fa834ff8dffa299f06512bac34884dd2a77f7f2/src-tauri/icons/icon.ico -------------------------------------------------------------------------------- /src-tauri/icons/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RandomEngy/tauri-sqlite/2fa834ff8dffa299f06512bac34884dd2a77f7f2/src-tauri/icons/icon.png -------------------------------------------------------------------------------- /src-tauri/src/database.rs: -------------------------------------------------------------------------------- 1 | use rusqlite::{Connection, named_params}; 2 | use tauri::AppHandle; 3 | use std::fs; 4 | 5 | const CURRENT_DB_VERSION: u32 = 1; 6 | 7 | /// Initializes the database connection, creating the .sqlite file if needed, and upgrading the database 8 | /// if it's out of date. 9 | pub fn initialize_database(app_handle: &AppHandle) -> Result { 10 | let app_dir = app_handle.path_resolver().app_data_dir().expect("The app data directory should exist."); 11 | fs::create_dir_all(&app_dir).expect("The app data directory should be created."); 12 | let sqlite_path = app_dir.join("MyApp.sqlite"); 13 | 14 | let mut db = Connection::open(sqlite_path)?; 15 | 16 | let mut user_pragma = db.prepare("PRAGMA user_version")?; 17 | let existing_user_version: u32 = user_pragma.query_row([], |row| { Ok(row.get(0)?) })?; 18 | drop(user_pragma); 19 | 20 | upgrade_database_if_needed(&mut db, existing_user_version)?; 21 | 22 | Ok(db) 23 | } 24 | 25 | /// Upgrades the database to the current version. 26 | pub fn upgrade_database_if_needed(db: &mut Connection, existing_version: u32) -> Result<(), rusqlite::Error> { 27 | if existing_version < CURRENT_DB_VERSION { 28 | db.pragma_update(None, "journal_mode", "WAL")?; 29 | 30 | let tx = db.transaction()?; 31 | 32 | tx.pragma_update(None, "user_version", CURRENT_DB_VERSION)?; 33 | 34 | tx.execute_batch( 35 | " 36 | CREATE TABLE items ( 37 | title TEXT NOT NULL 38 | );" 39 | )?; 40 | 41 | tx.commit()?; 42 | } 43 | 44 | Ok(()) 45 | } 46 | 47 | pub fn add_item(title: &str, db: &Connection) -> Result<(), rusqlite::Error> { 48 | let mut statement = db.prepare("INSERT INTO items (title) VALUES (@title)")?; 49 | statement.execute(named_params! { "@title": title })?; 50 | 51 | Ok(()) 52 | } 53 | 54 | pub fn get_all(db: &Connection) -> Result, rusqlite::Error> { 55 | let mut statement = db.prepare("SELECT * FROM items")?; 56 | let mut rows = statement.query([])?; 57 | let mut items = Vec::new(); 58 | while let Some(row) = rows.next()? { 59 | let title: String = row.get("title")?; 60 | 61 | items.push(title); 62 | } 63 | 64 | Ok(items) 65 | } 66 | -------------------------------------------------------------------------------- /src-tauri/src/main.rs: -------------------------------------------------------------------------------- 1 | // Prevents additional console window on Windows in release, DO NOT REMOVE!! 2 | #![cfg_attr(not(debug_assertions), windows_subsystem = "windows")] 3 | 4 | mod database; 5 | mod state; 6 | 7 | use state::{AppState, ServiceAccess}; 8 | use tauri::{State, Manager, AppHandle}; 9 | 10 | // Learn more about Tauri commands at https://tauri.app/v1/guides/features/command 11 | #[tauri::command] 12 | fn greet(app_handle: AppHandle, name: &str) -> String { 13 | // Should handle errors instead of unwrapping here 14 | app_handle.db(|db| database::add_item(name, db)).unwrap(); 15 | 16 | let items = app_handle.db(|db| database::get_all(db)).unwrap(); 17 | 18 | let items_string = items.join(" | "); 19 | 20 | format!("Your name log: {}", items_string) 21 | } 22 | 23 | fn main() { 24 | tauri::Builder::default() 25 | .manage(AppState { db: Default::default() }) 26 | .invoke_handler(tauri::generate_handler![greet]) 27 | .setup(|app| { 28 | let handle = app.handle(); 29 | 30 | let app_state: State = handle.state(); 31 | let db = database::initialize_database(&handle).expect("Database initialize should succeed"); 32 | *app_state.db.lock().unwrap() = Some(db); 33 | 34 | Ok(()) 35 | }) 36 | .run(tauri::generate_context!()) 37 | .expect("error while running tauri application"); 38 | } 39 | -------------------------------------------------------------------------------- /src-tauri/src/state.rs: -------------------------------------------------------------------------------- 1 | use rusqlite::Connection; 2 | use tauri::{AppHandle, State, Manager}; 3 | 4 | pub struct AppState { 5 | pub db: std::sync::Mutex>, 6 | } 7 | 8 | pub trait ServiceAccess { 9 | fn db(&self, operation: F) -> TResult where F: FnOnce(&Connection) -> TResult; 10 | 11 | fn db_mut(&self, operation: F) -> TResult where F: FnOnce(&mut Connection) -> TResult; 12 | } 13 | 14 | impl ServiceAccess for AppHandle { 15 | fn db(&self, operation: F) -> TResult where F: FnOnce(&Connection) -> TResult { 16 | let app_state: State = self.state(); 17 | let db_connection_guard = app_state.db.lock().unwrap(); 18 | let db = db_connection_guard.as_ref().unwrap(); 19 | 20 | operation(db) 21 | } 22 | 23 | fn db_mut(&self, operation: F) -> TResult where F: FnOnce(&mut Connection) -> TResult { 24 | let app_state: State = self.state(); 25 | let mut db_connection_guard = app_state.db.lock().unwrap(); 26 | let db = db_connection_guard.as_mut().unwrap(); 27 | 28 | operation(db) 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src-tauri/tauri.conf.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "beforeDevCommand": "yarn dev", 4 | "beforeBuildCommand": "yarn build", 5 | "devPath": "http://localhost:1420", 6 | "distDir": "../dist", 7 | "withGlobalTauri": true 8 | }, 9 | "package": { 10 | "productName": "tauri-sqlite", 11 | "version": "0.0.0" 12 | }, 13 | "tauri": { 14 | "allowlist": { 15 | "all": false, 16 | "shell": { 17 | "all": false, 18 | "open": true 19 | } 20 | }, 21 | "bundle": { 22 | "active": true, 23 | "icon": [ 24 | "icons/32x32.png", 25 | "icons/128x128.png", 26 | "icons/128x128@2x.png", 27 | "icons/icon.icns", 28 | "icons/icon.ico" 29 | ], 30 | "identifier": "com.example.tauri-sqlite", 31 | "targets": "all" 32 | }, 33 | "security": { 34 | "csp": null 35 | }, 36 | "updater": { 37 | "active": false 38 | }, 39 | "windows": [ 40 | { 41 | "fullscreen": false, 42 | "resizable": true, 43 | "title": "tauri-sqlite", 44 | "width": 800, 45 | "height": 600 46 | } 47 | ] 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /src/assets/tauri.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /src/assets/typescript.svg: -------------------------------------------------------------------------------- 1 | 2 | 4 | 7 | 8 | 10 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /src/assets/vite.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main.ts: -------------------------------------------------------------------------------- 1 | import { invoke } from "@tauri-apps/api/tauri"; 2 | 3 | let greetInputEl: HTMLInputElement | null; 4 | let greetMsgEl: HTMLElement | null; 5 | 6 | async function greet() { 7 | if (greetMsgEl && greetInputEl) { 8 | // Learn more about Tauri commands at https://tauri.app/v1/guides/features/command 9 | greetMsgEl.textContent = await invoke("greet", { 10 | name: greetInputEl.value, 11 | }); 12 | } 13 | } 14 | 15 | window.addEventListener("DOMContentLoaded", () => { 16 | greetInputEl = document.querySelector("#greet-input"); 17 | greetMsgEl = document.querySelector("#greet-msg"); 18 | document 19 | .querySelector("#greet-button") 20 | ?.addEventListener("click", () => greet()); 21 | }); 22 | -------------------------------------------------------------------------------- /src/styles.css: -------------------------------------------------------------------------------- 1 | :root { 2 | font-family: Inter, Avenir, Helvetica, Arial, sans-serif; 3 | font-size: 16px; 4 | line-height: 24px; 5 | font-weight: 400; 6 | 7 | color: #0f0f0f; 8 | background-color: #f6f6f6; 9 | 10 | font-synthesis: none; 11 | text-rendering: optimizeLegibility; 12 | -webkit-font-smoothing: antialiased; 13 | -moz-osx-font-smoothing: grayscale; 14 | -webkit-text-size-adjust: 100%; 15 | } 16 | 17 | .container { 18 | margin: 0; 19 | padding-top: 10vh; 20 | display: flex; 21 | flex-direction: column; 22 | justify-content: center; 23 | text-align: center; 24 | } 25 | 26 | .logo { 27 | height: 6em; 28 | padding: 1.5em; 29 | will-change: filter; 30 | transition: 0.75s; 31 | } 32 | 33 | .logo.tauri:hover { 34 | filter: drop-shadow(0 0 2em #24c8db); 35 | } 36 | 37 | .row { 38 | display: flex; 39 | justify-content: center; 40 | } 41 | 42 | a { 43 | font-weight: 500; 44 | color: #646cff; 45 | text-decoration: inherit; 46 | } 47 | 48 | a:hover { 49 | color: #535bf2; 50 | } 51 | 52 | h1 { 53 | text-align: center; 54 | } 55 | 56 | input, 57 | button { 58 | border-radius: 8px; 59 | border: 1px solid transparent; 60 | padding: 0.6em 1.2em; 61 | font-size: 1em; 62 | font-weight: 500; 63 | font-family: inherit; 64 | color: #0f0f0f; 65 | background-color: #ffffff; 66 | transition: border-color 0.25s; 67 | box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2); 68 | } 69 | 70 | button { 71 | cursor: pointer; 72 | } 73 | 74 | button:hover { 75 | border-color: #396cd8; 76 | } 77 | button:active { 78 | border-color: #396cd8; 79 | background-color: #e8e8e8; 80 | } 81 | 82 | input, 83 | button { 84 | outline: none; 85 | } 86 | 87 | #greet-input { 88 | margin-right: 5px; 89 | } 90 | 91 | @media (prefers-color-scheme: dark) { 92 | :root { 93 | color: #f6f6f6; 94 | background-color: #2f2f2f; 95 | } 96 | 97 | a:hover { 98 | color: #24c8db; 99 | } 100 | 101 | input, 102 | button { 103 | color: #ffffff; 104 | background-color: #0f0f0f98; 105 | } 106 | button:active { 107 | background-color: #0f0f0f69; 108 | } 109 | } 110 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "ESNext", 4 | "module": "ESNext", 5 | "lib": ["ESNext", "DOM"], 6 | "moduleResolution": "Node", 7 | "strict": true, 8 | "sourceMap": true, 9 | "resolveJsonModule": true, 10 | "esModuleInterop": true, 11 | "types": ["vite/client"], 12 | "noEmit": true, 13 | "noUnusedLocals": true, 14 | "noUnusedParameters": true, 15 | "noImplicitReturns": true 16 | }, 17 | "include": ["./src"] 18 | } 19 | -------------------------------------------------------------------------------- /vite.config.ts: -------------------------------------------------------------------------------- 1 | import { defineConfig } from "vite"; 2 | 3 | const mobile = 4 | process.env.TAURI_PLATFORM === "android" || 5 | process.env.TAURI_PLATFORM === "ios"; 6 | 7 | // https://vitejs.dev/config/ 8 | export default defineConfig(async () => ({ 9 | // Vite options tailored for Tauri development and only applied in `tauri dev` or `tauri build` 10 | // prevent vite from obscuring rust errors 11 | clearScreen: false, 12 | // tauri expects a fixed port, fail if that port is not available 13 | server: { 14 | port: 1420, 15 | strictPort: true, 16 | }, 17 | // to make use of `TAURI_DEBUG` and other env variables 18 | // https://tauri.studio/v1/api/config#buildconfig.beforedevcommand 19 | envPrefix: ["VITE_", "TAURI_"], 20 | build: { 21 | // Tauri supports es2021 22 | target: process.env.TAURI_PLATFORM == "windows" ? "chrome105" : "safari13", 23 | // don't minify for debug builds 24 | minify: !process.env.TAURI_DEBUG ? "esbuild" : false, 25 | // produce sourcemaps for debug builds 26 | sourcemap: !!process.env.TAURI_DEBUG, 27 | }, 28 | })); 29 | -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | 4 | 5 | "@esbuild/android-arm64@0.17.14": 6 | version "0.17.14" 7 | resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.17.14.tgz#4624cea3c8941c91f9e9c1228f550d23f1cef037" 8 | integrity sha512-eLOpPO1RvtsP71afiFTvS7tVFShJBCT0txiv/xjFBo5a7R7Gjw7X0IgIaFoLKhqXYAXhahoXm7qAmRXhY4guJg== 9 | 10 | "@esbuild/android-arm@0.17.14": 11 | version "0.17.14" 12 | resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.17.14.tgz#74fae60fcab34c3f0e15cb56473a6091ba2b53a6" 13 | integrity sha512-0CnlwnjDU8cks0yJLXfkaU/uoLyRf9VZJs4p1PskBr2AlAHeEsFEwJEo0of/Z3g+ilw5mpyDwThlxzNEIxOE4g== 14 | 15 | "@esbuild/android-x64@0.17.14": 16 | version "0.17.14" 17 | resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.17.14.tgz#f002fbc08d5e939d8314bd23bcfb1e95d029491f" 18 | integrity sha512-nrfQYWBfLGfSGLvRVlt6xi63B5IbfHm3tZCdu/82zuFPQ7zez4XjmRtF/wIRYbJQ/DsZrxJdEvYFE67avYXyng== 19 | 20 | "@esbuild/darwin-arm64@0.17.14": 21 | version "0.17.14" 22 | resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.17.14.tgz#b8dcd79a1dd19564950b4ca51d62999011e2e168" 23 | integrity sha512-eoSjEuDsU1ROwgBH/c+fZzuSyJUVXQTOIN9xuLs9dE/9HbV/A5IqdXHU1p2OfIMwBwOYJ9SFVGGldxeRCUJFyw== 24 | 25 | "@esbuild/darwin-x64@0.17.14": 26 | version "0.17.14" 27 | resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.17.14.tgz#4b49f195d9473625efc3c773fc757018f2c0d979" 28 | integrity sha512-zN0U8RWfrDttdFNkHqFYZtOH8hdi22z0pFm0aIJPsNC4QQZv7je8DWCX5iA4Zx6tRhS0CCc0XC2m7wKsbWEo5g== 29 | 30 | "@esbuild/freebsd-arm64@0.17.14": 31 | version "0.17.14" 32 | resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.17.14.tgz#480923fd38f644c6342c55e916cc7c231a85eeb7" 33 | integrity sha512-z0VcD4ibeZWVQCW1O7szaLxGsx54gcCnajEJMdYoYjLiq4g1jrP2lMq6pk71dbS5+7op/L2Aod+erw+EUr28/A== 34 | 35 | "@esbuild/freebsd-x64@0.17.14": 36 | version "0.17.14" 37 | resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.17.14.tgz#a6b6b01954ad8562461cb8a5e40e8a860af69cbe" 38 | integrity sha512-hd9mPcxfTgJlolrPlcXkQk9BMwNBvNBsVaUe5eNUqXut6weDQH8whcNaKNF2RO8NbpT6GY8rHOK2A9y++s+ehw== 39 | 40 | "@esbuild/linux-arm64@0.17.14": 41 | version "0.17.14" 42 | resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.17.14.tgz#1fe2f39f78183b59f75a4ad9c48d079916d92418" 43 | integrity sha512-FhAMNYOq3Iblcj9i+K0l1Fp/MHt+zBeRu/Qkf0LtrcFu3T45jcwB6A1iMsemQ42vR3GBhjNZJZTaCe3VFPbn9g== 44 | 45 | "@esbuild/linux-arm@0.17.14": 46 | version "0.17.14" 47 | resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.17.14.tgz#18d594a49b64e4a3a05022c005cb384a58056a2a" 48 | integrity sha512-BNTl+wSJ1omsH8s3TkQmIIIQHwvwJrU9u1ggb9XU2KTVM4TmthRIVyxSp2qxROJHhZuW/r8fht46/QE8hU8Qvg== 49 | 50 | "@esbuild/linux-ia32@0.17.14": 51 | version "0.17.14" 52 | resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.17.14.tgz#f7f0182a9cfc0159e0922ed66c805c9c6ef1b654" 53 | integrity sha512-91OK/lQ5y2v7AsmnFT+0EyxdPTNhov3y2CWMdizyMfxSxRqHazXdzgBKtlmkU2KYIc+9ZK3Vwp2KyXogEATYxQ== 54 | 55 | "@esbuild/linux-loong64@0.17.14": 56 | version "0.17.14" 57 | resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.17.14.tgz#5f5305fdffe2d71dd9a97aa77d0c99c99409066f" 58 | integrity sha512-vp15H+5NR6hubNgMluqqKza85HcGJgq7t6rMH7O3Y6ApiOWPkvW2AJfNojUQimfTp6OUrACUXfR4hmpcENXoMQ== 59 | 60 | "@esbuild/linux-mips64el@0.17.14": 61 | version "0.17.14" 62 | resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.17.14.tgz#a602e85c51b2f71d2aedfe7f4143b2f92f97f3f5" 63 | integrity sha512-90TOdFV7N+fgi6c2+GO9ochEkmm9kBAKnuD5e08GQMgMINOdOFHuYLPQ91RYVrnWwQ5683sJKuLi9l4SsbJ7Hg== 64 | 65 | "@esbuild/linux-ppc64@0.17.14": 66 | version "0.17.14" 67 | resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.17.14.tgz#32d918d782105cbd9345dbfba14ee018b9c7afdf" 68 | integrity sha512-NnBGeoqKkTugpBOBZZoktQQ1Yqb7aHKmHxsw43NddPB2YWLAlpb7THZIzsRsTr0Xw3nqiPxbA1H31ZMOG+VVPQ== 69 | 70 | "@esbuild/linux-riscv64@0.17.14": 71 | version "0.17.14" 72 | resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.17.14.tgz#38612e7b6c037dff7022c33f49ca17f85c5dec58" 73 | integrity sha512-0qdlKScLXA8MGVy21JUKvMzCYWovctuP8KKqhtE5A6IVPq4onxXhSuhwDd2g5sRCzNDlDjitc5sX31BzDoL5Fw== 74 | 75 | "@esbuild/linux-s390x@0.17.14": 76 | version "0.17.14" 77 | resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.17.14.tgz#4397dff354f899e72fd035d72af59a700c465ccb" 78 | integrity sha512-Hdm2Jo1yaaOro4v3+6/zJk6ygCqIZuSDJHdHaf8nVH/tfOuoEX5Riv03Ka15LmQBYJObUTNS1UdyoMk0WUn9Ww== 79 | 80 | "@esbuild/linux-x64@0.17.14": 81 | version "0.17.14" 82 | resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.17.14.tgz#6c5cb99891b6c3e0c08369da3ef465e8038ad9c2" 83 | integrity sha512-8KHF17OstlK4DuzeF/KmSgzrTWQrkWj5boluiiq7kvJCiQVzUrmSkaBvcLB2UgHpKENO2i6BthPkmUhNDaJsVw== 84 | 85 | "@esbuild/netbsd-x64@0.17.14": 86 | version "0.17.14" 87 | resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.17.14.tgz#5fa5255a64e9bf3947c1b3bef5e458b50b211994" 88 | integrity sha512-nVwpqvb3yyXztxIT2+VsxJhB5GCgzPdk1n0HHSnchRAcxqKO6ghXwHhJnr0j/B+5FSyEqSxF4q03rbA2fKXtUQ== 89 | 90 | "@esbuild/openbsd-x64@0.17.14": 91 | version "0.17.14" 92 | resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.17.14.tgz#74d14c79dcb6faf446878cc64284aa4e02f5ca6f" 93 | integrity sha512-1RZ7uQQ9zcy/GSAJL1xPdN7NDdOOtNEGiJalg/MOzeakZeTrgH/DoCkbq7TaPDiPhWqnDF+4bnydxRqQD7il6g== 94 | 95 | "@esbuild/sunos-x64@0.17.14": 96 | version "0.17.14" 97 | resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.17.14.tgz#5c7d1c7203781d86c2a9b2ff77bd2f8036d24cfa" 98 | integrity sha512-nqMjDsFwv7vp7msrwWRysnM38Sd44PKmW8EzV01YzDBTcTWUpczQg6mGao9VLicXSgW/iookNK6AxeogNVNDZA== 99 | 100 | "@esbuild/win32-arm64@0.17.14": 101 | version "0.17.14" 102 | resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.17.14.tgz#dc36ed84f1390e73b6019ccf0566c80045e5ca3d" 103 | integrity sha512-xrD0mccTKRBBIotrITV7WVQAwNJ5+1va6L0H9zN92v2yEdjfAN7864cUaZwJS7JPEs53bDTzKFbfqVlG2HhyKQ== 104 | 105 | "@esbuild/win32-ia32@0.17.14": 106 | version "0.17.14" 107 | resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.17.14.tgz#0802a107afa9193c13e35de15a94fe347c588767" 108 | integrity sha512-nXpkz9bbJrLLyUTYtRotSS3t5b+FOuljg8LgLdINWFs3FfqZMtbnBCZFUmBzQPyxqU87F8Av+3Nco/M3hEcu1w== 109 | 110 | "@esbuild/win32-x64@0.17.14": 111 | version "0.17.14" 112 | resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.17.14.tgz#e81fb49de05fed91bf74251c9ca0343f4fc77d31" 113 | integrity sha512-gPQmsi2DKTaEgG14hc3CHXHp62k8g6qr0Pas+I4lUxRMugGSATh/Bi8Dgusoz9IQ0IfdrvLpco6kujEIBoaogA== 114 | 115 | "@tauri-apps/api@^1.2.0": 116 | version "1.2.0" 117 | resolved "https://registry.yarnpkg.com/@tauri-apps/api/-/api-1.2.0.tgz#1f196b3e012971227f41b98214c846430a4eb477" 118 | integrity sha512-lsI54KI6HGf7VImuf/T9pnoejfgkNoXveP14pVV7XarrQ46rOejIVJLFqHI9sRReJMGdh2YuCoI3cc/yCWCsrw== 119 | 120 | "@tauri-apps/cli-darwin-arm64@1.2.3": 121 | version "1.2.3" 122 | resolved "https://registry.yarnpkg.com/@tauri-apps/cli-darwin-arm64/-/cli-darwin-arm64-1.2.3.tgz#dae9142e683c00199f4d7e088f22b564b08b9cac" 123 | integrity sha512-phJN3fN8FtZZwqXg08bcxfq1+X1JSDglLvRxOxB7VWPq+O5SuB8uLyssjJsu+PIhyZZnIhTGdjhzLSFhSXfLsw== 124 | 125 | "@tauri-apps/cli-darwin-x64@1.2.3": 126 | version "1.2.3" 127 | resolved "https://registry.yarnpkg.com/@tauri-apps/cli-darwin-x64/-/cli-darwin-x64-1.2.3.tgz#c6f84a11a1a7800e3e8e22c8fa5b95d0b3d1f802" 128 | integrity sha512-jFZ/y6z8z6v4yliIbXKBXA7BJgtZVMsITmEXSuD6s5+eCOpDhQxbRkr6CA+FFfr+/r96rWSDSgDenDQuSvPAKw== 129 | 130 | "@tauri-apps/cli-linux-arm-gnueabihf@1.2.3": 131 | version "1.2.3" 132 | resolved "https://registry.yarnpkg.com/@tauri-apps/cli-linux-arm-gnueabihf/-/cli-linux-arm-gnueabihf-1.2.3.tgz#ecccec4c255ab32903fb36e1c746ed7b4eff0d1d" 133 | integrity sha512-C7h5vqAwXzY0kRGSU00Fj8PudiDWFCiQqqUNI1N+fhCILrzWZB9TPBwdx33ZfXKt/U4+emdIoo/N34v3TiAOmQ== 134 | 135 | "@tauri-apps/cli-linux-arm64-gnu@1.2.3": 136 | version "1.2.3" 137 | resolved "https://registry.yarnpkg.com/@tauri-apps/cli-linux-arm64-gnu/-/cli-linux-arm64-gnu-1.2.3.tgz#c3915de83a8fbe6f406eaa0b524a17c091a9a2cd" 138 | integrity sha512-buf1c8sdkuUzVDkGPQpyUdAIIdn5r0UgXU6+H5fGPq/Xzt5K69JzXaeo6fHsZEZghbV0hOK+taKV4J0m30UUMQ== 139 | 140 | "@tauri-apps/cli-linux-arm64-musl@1.2.3": 141 | version "1.2.3" 142 | resolved "https://registry.yarnpkg.com/@tauri-apps/cli-linux-arm64-musl/-/cli-linux-arm64-musl-1.2.3.tgz#40f9f7cf0b4088964661fd412eff7310cb4ac605" 143 | integrity sha512-x88wPS9W5xAyk392vc4uNHcKBBvCp0wf4H9JFMF9OBwB7vfd59LbQCFcPSu8f0BI7bPrOsyHqspWHuFL8ojQEA== 144 | 145 | "@tauri-apps/cli-linux-x64-gnu@1.2.3": 146 | version "1.2.3" 147 | resolved "https://registry.yarnpkg.com/@tauri-apps/cli-linux-x64-gnu/-/cli-linux-x64-gnu-1.2.3.tgz#0b3e4c1fda6205dbe872f4b69506669476f60591" 148 | integrity sha512-ZMz1jxEVe0B4/7NJnlPHmwmSIuwiD6ViXKs8F+OWWz2Y4jn5TGxWKFg7DLx5OwQTRvEIZxxT7lXHi5CuTNAxKg== 149 | 150 | "@tauri-apps/cli-linux-x64-musl@1.2.3": 151 | version "1.2.3" 152 | resolved "https://registry.yarnpkg.com/@tauri-apps/cli-linux-x64-musl/-/cli-linux-x64-musl-1.2.3.tgz#edcf8f53da50337a2e763d4fda750ef56124036c" 153 | integrity sha512-B/az59EjJhdbZDzawEVox0LQu2ZHCZlk8rJf85AMIktIUoAZPFbwyiUv7/zjzA/sY6Nb58OSJgaPL2/IBy7E0A== 154 | 155 | "@tauri-apps/cli-win32-ia32-msvc@1.2.3": 156 | version "1.2.3" 157 | resolved "https://registry.yarnpkg.com/@tauri-apps/cli-win32-ia32-msvc/-/cli-win32-ia32-msvc-1.2.3.tgz#0592d3e4eee4685674579ba897eef1469c6f1cfe" 158 | integrity sha512-ypdO1OdC5ugNJAKO2m3sb1nsd+0TSvMS9Tr5qN/ZSMvtSduaNwrcZ3D7G/iOIanrqu/Nl8t3LYlgPZGBKlw7Ng== 159 | 160 | "@tauri-apps/cli-win32-x64-msvc@1.2.3": 161 | version "1.2.3" 162 | resolved "https://registry.yarnpkg.com/@tauri-apps/cli-win32-x64-msvc/-/cli-win32-x64-msvc-1.2.3.tgz#89f0cc36e11e56564161602cd6add155cc7b0dfb" 163 | integrity sha512-CsbHQ+XhnV/2csOBBDVfH16cdK00gNyNYUW68isedmqcn8j+s0e9cQ1xXIqi+Hue3awp8g3ImYN5KPepf3UExw== 164 | 165 | "@tauri-apps/cli@^1.2.2": 166 | version "1.2.3" 167 | resolved "https://registry.yarnpkg.com/@tauri-apps/cli/-/cli-1.2.3.tgz#957f8a3a370f306e9e1ea5a891cb30aed91af64e" 168 | integrity sha512-erxtXuPhMEGJPBtnhPILD4AjuT81GZsraqpFvXAmEJZ2p8P6t7MVBifCL8LznRknznM3jn90D3M8RNBP3wcXTw== 169 | optionalDependencies: 170 | "@tauri-apps/cli-darwin-arm64" "1.2.3" 171 | "@tauri-apps/cli-darwin-x64" "1.2.3" 172 | "@tauri-apps/cli-linux-arm-gnueabihf" "1.2.3" 173 | "@tauri-apps/cli-linux-arm64-gnu" "1.2.3" 174 | "@tauri-apps/cli-linux-arm64-musl" "1.2.3" 175 | "@tauri-apps/cli-linux-x64-gnu" "1.2.3" 176 | "@tauri-apps/cli-linux-x64-musl" "1.2.3" 177 | "@tauri-apps/cli-win32-ia32-msvc" "1.2.3" 178 | "@tauri-apps/cli-win32-x64-msvc" "1.2.3" 179 | 180 | esbuild@^0.17.5: 181 | version "0.17.14" 182 | resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.17.14.tgz#d61a22de751a3133f3c6c7f9c1c3e231e91a3245" 183 | integrity sha512-vOO5XhmVj/1XQR9NQ1UPq6qvMYL7QFJU57J5fKBKBKxp17uDt5PgxFDb4A2nEiXhr1qQs4x0F5+66hVVw4ruNw== 184 | optionalDependencies: 185 | "@esbuild/android-arm" "0.17.14" 186 | "@esbuild/android-arm64" "0.17.14" 187 | "@esbuild/android-x64" "0.17.14" 188 | "@esbuild/darwin-arm64" "0.17.14" 189 | "@esbuild/darwin-x64" "0.17.14" 190 | "@esbuild/freebsd-arm64" "0.17.14" 191 | "@esbuild/freebsd-x64" "0.17.14" 192 | "@esbuild/linux-arm" "0.17.14" 193 | "@esbuild/linux-arm64" "0.17.14" 194 | "@esbuild/linux-ia32" "0.17.14" 195 | "@esbuild/linux-loong64" "0.17.14" 196 | "@esbuild/linux-mips64el" "0.17.14" 197 | "@esbuild/linux-ppc64" "0.17.14" 198 | "@esbuild/linux-riscv64" "0.17.14" 199 | "@esbuild/linux-s390x" "0.17.14" 200 | "@esbuild/linux-x64" "0.17.14" 201 | "@esbuild/netbsd-x64" "0.17.14" 202 | "@esbuild/openbsd-x64" "0.17.14" 203 | "@esbuild/sunos-x64" "0.17.14" 204 | "@esbuild/win32-arm64" "0.17.14" 205 | "@esbuild/win32-ia32" "0.17.14" 206 | "@esbuild/win32-x64" "0.17.14" 207 | 208 | fsevents@~2.3.2: 209 | version "2.3.2" 210 | resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a" 211 | integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA== 212 | 213 | function-bind@^1.1.1: 214 | version "1.1.1" 215 | resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" 216 | integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== 217 | 218 | has@^1.0.3: 219 | version "1.0.3" 220 | resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" 221 | integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw== 222 | dependencies: 223 | function-bind "^1.1.1" 224 | 225 | is-core-module@^2.9.0: 226 | version "2.11.0" 227 | resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.11.0.tgz#ad4cb3e3863e814523c96f3f58d26cc570ff0144" 228 | integrity sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw== 229 | dependencies: 230 | has "^1.0.3" 231 | 232 | nanoid@^3.3.4: 233 | version "3.3.6" 234 | resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.6.tgz#443380c856d6e9f9824267d960b4236ad583ea4c" 235 | integrity sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA== 236 | 237 | path-parse@^1.0.7: 238 | version "1.0.7" 239 | resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" 240 | integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== 241 | 242 | picocolors@^1.0.0: 243 | version "1.0.0" 244 | resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c" 245 | integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ== 246 | 247 | postcss@^8.4.21: 248 | version "8.4.21" 249 | resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.21.tgz#c639b719a57efc3187b13a1d765675485f4134f4" 250 | integrity sha512-tP7u/Sn/dVxK2NnruI4H9BG+x+Wxz6oeZ1cJ8P6G/PZY0IKk4k/63TDsQf2kQq3+qoJeLm2kIBUNlZe3zgb4Zg== 251 | dependencies: 252 | nanoid "^3.3.4" 253 | picocolors "^1.0.0" 254 | source-map-js "^1.0.2" 255 | 256 | resolve@^1.22.1: 257 | version "1.22.1" 258 | resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.1.tgz#27cb2ebb53f91abb49470a928bba7558066ac177" 259 | integrity sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw== 260 | dependencies: 261 | is-core-module "^2.9.0" 262 | path-parse "^1.0.7" 263 | supports-preserve-symlinks-flag "^1.0.0" 264 | 265 | rollup@^3.18.0: 266 | version "3.20.2" 267 | resolved "https://registry.yarnpkg.com/rollup/-/rollup-3.20.2.tgz#f798c600317f216de2e4ad9f4d9ab30a89b690ff" 268 | integrity sha512-3zwkBQl7Ai7MFYQE0y1MeQ15+9jsi7XxfrqwTb/9EK8D9C9+//EBR4M+CuA1KODRaNbFez/lWxA5vhEGZp4MUg== 269 | optionalDependencies: 270 | fsevents "~2.3.2" 271 | 272 | source-map-js@^1.0.2: 273 | version "1.0.2" 274 | resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.0.2.tgz#adbc361d9c62df380125e7f161f71c826f1e490c" 275 | integrity sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw== 276 | 277 | supports-preserve-symlinks-flag@^1.0.0: 278 | version "1.0.0" 279 | resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" 280 | integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== 281 | 282 | typescript@^4.8.2: 283 | version "4.9.5" 284 | resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a" 285 | integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g== 286 | 287 | vite@^4.0.0: 288 | version "4.2.1" 289 | resolved "https://registry.yarnpkg.com/vite/-/vite-4.2.1.tgz#6c2eb337b0dfd80a9ded5922163b94949d7fc254" 290 | integrity sha512-7MKhqdy0ISo4wnvwtqZkjke6XN4taqQ2TBaTccLIpOKv7Vp2h4Y+NpmWCnGDeSvvn45KxvWgGyb0MkHvY1vgbg== 291 | dependencies: 292 | esbuild "^0.17.5" 293 | postcss "^8.4.21" 294 | resolve "^1.22.1" 295 | rollup "^3.18.0" 296 | optionalDependencies: 297 | fsevents "~2.3.2" 298 | --------------------------------------------------------------------------------