diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index 4a3ec04..ae65551 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -159,23 +159,12 @@ version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "435a87a52755b8f27fcf321ac4f04b2802e337c8c4872923137471ec39c37532" dependencies = [ - "event-listener 5.4.0", + "event-listener", "event-listener-strategy", "futures-core", "pin-project-lite", ] -[[package]] -name = "async-channel" -version = "1.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81953c529336010edd6d8e358f886d9581267795c61b19475b71314bffa46d35" -dependencies = [ - "concurrent-queue", - "event-listener 2.5.3", - "futures-core", -] - [[package]] name = "async-channel" version = "2.3.1" @@ -202,21 +191,6 @@ dependencies = [ "slab", ] -[[package]] -name = "async-global-executor" -version = "2.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05b1b633a2115cd122d73b955eadd9916c18c8f510ec9cd1686404c60ad1c29c" -dependencies = [ - "async-channel 2.3.1", - "async-executor", - "async-io", - "async-lock", - "blocking", - "futures-lite", - "once_cell", -] - [[package]] name = "async-io" version = "2.4.1" @@ -242,7 +216,7 @@ version = "3.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ff6e472cdea888a4bd64f342f09b3f50e1886d32afe8df3d663c01140b811b18" dependencies = [ - "event-listener 5.4.0", + "event-listener", "event-listener-strategy", "pin-project-lite", ] @@ -253,14 +227,14 @@ version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cde3f4e40e6021d7acffc90095cbd6dc54cb593903d1de5832f435eb274b85dc" dependencies = [ - "async-channel 2.3.1", + "async-channel", "async-io", "async-lock", "async-signal", "async-task", "blocking", "cfg-if", - "event-listener 5.4.0", + "event-listener", "futures-lite", "rustix 1.0.7", "tracing", @@ -295,33 +269,6 @@ dependencies = [ "windows-sys 0.59.0", ] -[[package]] -name = "async-std" -version = "1.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "730294c1c08c2e0f85759590518f6333f0d5a0a766a27d519c1b244c3dfd8a24" -dependencies = [ - "async-channel 1.9.0", - "async-global-executor", - "async-io", - "async-lock", - "async-process", - "crossbeam-utils", - "futures-channel", - "futures-core", - "futures-io", - "futures-lite", - "gloo-timers", - "kv-log-macro", - "log", - "memchr", - "once_cell", - "pin-project-lite", - "pin-utils", - "slab", - "wasm-bindgen-futures", -] - [[package]] name = "async-task" version = "4.7.1" @@ -422,15 +369,6 @@ dependencies = [ "windows-targets 0.52.6", ] -[[package]] -name = "base64" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b25d992356d2eb0ed82172f5248873db5560c4721f564b13cb5193bda5e668e" -dependencies = [ - "byteorder", -] - [[package]] name = "base64" version = "0.21.7" @@ -491,43 +429,13 @@ dependencies = [ "serde", ] -[[package]] -name = "block-buffer" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0940dc441f31689269e10ac70eb1002a3a1d3ad1390e030043662eb7fe4688b" -dependencies = [ - "block-padding", - "byte-tools", - "byteorder", - "generic-array 0.12.4", -] - -[[package]] -name = "block-buffer" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4" -dependencies = [ - "generic-array 0.14.7", -] - [[package]] name = "block-buffer" version = "0.10.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" dependencies = [ - "generic-array 0.14.7", -] - -[[package]] -name = "block-padding" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa79dedbb091f449f1f39e53edf88d5dbe95f895dae6135a8d7b881fb5af73f5" -dependencies = [ - "byte-tools", + "generic-array", ] [[package]] @@ -554,7 +462,7 @@ version = "1.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "703f41c54fc768e63e091340b424302bb1c29ef4aa0c7f10fe849dfb114d29ea" dependencies = [ - "async-channel 2.3.1", + "async-channel", "async-task", "futures-io", "futures-lite", @@ -594,12 +502,6 @@ version = "3.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1628fb46dfa0b37568d12e5edd512553eccf6a22a78e8bde00bb4aed84d5bdbf" -[[package]] -name = "byte-tools" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" - [[package]] name = "bytemuck" version = "1.23.0" @@ -621,55 +523,6 @@ dependencies = [ "serde", ] -[[package]] -name = "cacache" -version = "9.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "205ae2da91f7633dd4ecc1b12fac60c991a48b61b2cd801ad533085b15392537" -dependencies = [ - "async-std", - "digest 0.9.0", - "either", - "futures", - "hex 0.4.3", - "memmap", - "serde", - "serde_derive", - "serde_json", - "sha-1 0.9.8", - "sha2 0.9.9", - "ssri 7.0.0", - "tempfile", - "thiserror 1.0.69", - "walkdir", -] - -[[package]] -name = "cacache" -version = "13.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c5063741c7b2e260bbede781cf4679632dd90e2718e99f7715e46824b65670b" -dependencies = [ - "async-std", - "digest 0.10.7", - "either", - "futures", - "hex 0.4.3", - "libc", - "memmap2", - "miette", - "reflink-copy", - "serde", - "serde_derive", - "serde_json", - "sha1", - "sha2 0.10.9", - "ssri 9.2.0", - "tempfile", - "thiserror 1.0.69", - "walkdir", -] - [[package]] name = "cairo-rs" version = "0.18.5" @@ -970,7 +823,7 @@ version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" dependencies = [ - "generic-array 0.14.7", + "generic-array", "typenum", ] @@ -1120,31 +973,13 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3c877555693c14d2f84191cfd3ad8582790fc52b5e2274b40b59cf5f5cea25c7" -[[package]] -name = "digest" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3d0c8c8752312f9713efd397ff63acb9f85585afbf179282e720e7704954dd5" -dependencies = [ - "generic-array 0.12.4", -] - -[[package]] -name = "digest" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066" -dependencies = [ - "generic-array 0.14.7", -] - [[package]] name = "digest" version = "0.10.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" dependencies = [ - "block-buffer 0.10.4", + "block-buffer", "crypto-common", ] @@ -1279,13 +1114,7 @@ dependencies = [ name = "drop-app" version = "0.3.3" dependencies = [ - "atomic-instant-full", - "bitcode", "boxcar", - "bytes", - "cacache 13.1.0", - "chrono", - "deranged", "dirs 6.0.0", "drop-database", "drop-downloads", @@ -1293,39 +1122,20 @@ dependencies = [ "drop-native-library", "drop-process", "drop-remote", - "droplet-rs", - "dynfmt", - "filetime", - "futures-core", "futures-lite", - "gethostname", - "hex 0.4.3", - "http 1.3.1", - "http-serde 2.1.1", - "humansize", + "hex", + "http", "known-folders", "log", "log4rs", "md5 0.7.0", - "page_size", - "parking_lot 0.12.4", - "rand 0.9.1", "rayon", "regex", - "reqwest 0.12.23", - "reqwest-middleware 0.4.2", - "reqwest-middleware-cache", + "reqwest", "reqwest-websocket", - "rustbreak", "rustix 0.38.44", - "schemars 0.8.22", "serde", "serde_json", - "serde_with", - "sha1", - "shared_child", - "slice-deque", - "sysinfo 0.36.1", "tar", "tauri", "tauri-build", @@ -1337,14 +1147,8 @@ dependencies = [ "tauri-plugin-shell", "tauri-plugin-single-instance", "tempfile", - "throttle_my_fn", - "tokio", - "tokio-util", - "umu-wrapper-lib", "url", - "urlencoding", "uuid", - "walkdir", "webbrowser", "whoami", "zstd", @@ -1361,7 +1165,6 @@ dependencies = [ "native_model", "rustbreak", "serde", - "serde_json", "serde_with", "url", "whoami", @@ -1385,9 +1188,9 @@ dependencies = [ name = "drop-errors" version = "0.1.0" dependencies = [ - "http 1.3.1", + "http", "humansize", - "reqwest 0.12.23", + "reqwest", "reqwest-websocket", "serde", "serde_with", @@ -1401,7 +1204,6 @@ version = "0.1.0" dependencies = [ "bitcode", "drop-database", - "drop-downloads", "drop-errors", "drop-remote", "log", @@ -1420,9 +1222,8 @@ dependencies = [ "dynfmt", "log", "page_size", - "serde", "shared_child", - "sysinfo 0.37.0", + "sysinfo", "tauri", "tauri-plugin-opener", ] @@ -1437,12 +1238,11 @@ dependencies = [ "drop-errors", "droplet-rs", "gethostname", - "hex 0.4.3", - "http 1.3.1", + "hex", + "http", "log", "md5 0.8.0", - "reqwest 0.12.23", - "reqwest-websocket", + "reqwest", "serde", "tauri", "url", @@ -1454,7 +1254,7 @@ version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "926e179267dfe9fd891d4141d65d71fba06b6b82cd6834916a6310794df7d739" dependencies = [ - "hex 0.4.3", + "hex", "rcgen", "ring", "time", @@ -1601,12 +1401,6 @@ dependencies = [ "windows-sys 0.59.0", ] -[[package]] -name = "event-listener" -version = "2.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" - [[package]] name = "event-listener" version = "5.4.0" @@ -1624,16 +1418,10 @@ version = "0.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8be9f3dfaaffdae2972880079a491a1a8bb7cbed0b8dd7a347f668b4150a3b93" dependencies = [ - "event-listener 5.4.0", + "event-listener", "pin-project-lite", ] -[[package]] -name = "fake-simd" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e88a8acf291dafb59c2d96e8f59828f3838bb1a70398823ade51a84de6a6deed" - [[package]] name = "fastrand" version = "2.3.0" @@ -1748,21 +1536,6 @@ dependencies = [ "new_debug_unreachable", ] -[[package]] -name = "futures" -version = "0.3.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65bc07b1a8bc7c85c5f2e110c476c7389b4554ba72af57d8445ea63a576b0876" -dependencies = [ - "futures-channel", - "futures-core", - "futures-executor", - "futures-io", - "futures-sink", - "futures-task", - "futures-util", -] - [[package]] name = "futures-channel" version = "0.3.31" @@ -1838,7 +1611,6 @@ version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81" dependencies = [ - "futures-channel", "futures-core", "futures-io", "futures-macro", @@ -1958,15 +1730,6 @@ dependencies = [ "x11", ] -[[package]] -name = "generic-array" -version = "0.12.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffdf9f34f1447443d37393cc6c2b8313aebddcd96906caf34e54c68d8e57d7bd" -dependencies = [ - "typenum", -] - [[package]] name = "generic-array" version = "0.14.7" @@ -2122,18 +1885,6 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a8d1add55171497b4705a648c6b583acafb01d58050a51727785f0b2c8e0a2b2" -[[package]] -name = "gloo-timers" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbb143cf96099802033e0d4f4963b19fd2e0b728bcf076cd9cf7f6634f092994" -dependencies = [ - "futures-channel", - "futures-core", - "js-sys", - "wasm-bindgen", -] - [[package]] name = "gobject-sys" version = "0.18.0" @@ -2197,25 +1948,6 @@ dependencies = [ "syn 2.0.101", ] -[[package]] -name = "h2" -version = "0.3.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81fe527a889e1532da5c525686d96d4c2e74cdd345badf8dfef9f6b39dd5f5e8" -dependencies = [ - "bytes", - "fnv", - "futures-core", - "futures-sink", - "futures-util", - "http 0.2.12", - "indexmap 2.9.0", - "slab", - "tokio", - "tokio-util", - "tracing", -] - [[package]] name = "h2" version = "0.4.10" @@ -2227,7 +1959,7 @@ dependencies = [ "fnv", "futures-core", "futures-sink", - "http 1.3.1", + "http", "indexmap 2.9.0", "slab", "tokio", @@ -2271,12 +2003,6 @@ version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f154ce46856750ed433c8649605bf7ed2de3bc35fd9d2a9f30cddd873c80cb08" -[[package]] -name = "hex" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "805026a5d0141ffc30abb3be3173848ad46a1b1664fe632428479619a3644d77" - [[package]] name = "hex" version = "0.4.3" @@ -2304,17 +2030,6 @@ dependencies = [ "match_token", ] -[[package]] -name = "http" -version = "0.2.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "601cbb57e577e2f5ef5be8e7b83f0f63994f25aa94d673e54a92d5c516d101f1" -dependencies = [ - "bytes", - "fnv", - "itoa", -] - [[package]] name = "http" version = "1.3.1" @@ -2326,17 +2041,6 @@ dependencies = [ "itoa", ] -[[package]] -name = "http-body" -version = "0.4.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" -dependencies = [ - "bytes", - "http 0.2.12", - "pin-project-lite", -] - [[package]] name = "http-body" version = "1.0.1" @@ -2344,7 +2048,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184" dependencies = [ "bytes", - "http 1.3.1", + "http", ] [[package]] @@ -2355,62 +2059,23 @@ checksum = "b021d93e26becf5dc7e1b75b1bed1fd93124b374ceb73f43d4d4eafec896a64a" dependencies = [ "bytes", "futures-core", - "http 1.3.1", - "http-body 1.0.1", + "http", + "http-body", "pin-project-lite", ] -[[package]] -name = "http-cache-semantics" -version = "0.9.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "486d14f0f5e6981578cc683e01c5f50e2be31c984a75ff5517949af2e4268519" -dependencies = [ - "chrono", - "http 0.2.12", - "http-serde 1.1.3", - "reqwest 0.11.27", - "serde", -] - [[package]] name = "http-range" version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "21dec9db110f5f872ed9699c3ecf50cf16f423502706ba5c72462e28d3157573" -[[package]] -name = "http-serde" -version = "1.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f560b665ad9f1572cfcaf034f7fb84338a7ce945216d64a90fd81f046a3caee" -dependencies = [ - "http 0.2.12", - "serde", -] - -[[package]] -name = "http-serde" -version = "2.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f056c8559e3757392c8d091e796416e4649d8e49e88b8d76df6c002f05027fd" -dependencies = [ - "http 1.3.1", - "serde", -] - [[package]] name = "httparse" version = "1.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87" -[[package]] -name = "httpdate" -version = "1.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" - [[package]] name = "humansize" version = "2.1.3" @@ -2426,30 +2091,6 @@ version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9b112acc8b3adf4b107a8ec20977da0273a8c386765a3ec0229bd500a1443f9f" -[[package]] -name = "hyper" -version = "0.14.32" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41dfc780fdec9373c01bae43289ea34c972e40ee3c9f6b3c8801a35f35586ce7" -dependencies = [ - "bytes", - "futures-channel", - "futures-core", - "futures-util", - "h2 0.3.26", - "http 0.2.12", - "http-body 0.4.6", - "httparse", - "httpdate", - "itoa", - "pin-project-lite", - "socket2", - "tokio", - "tower-service", - "tracing", - "want", -] - [[package]] name = "hyper" version = "1.6.0" @@ -2459,9 +2100,9 @@ dependencies = [ "bytes", "futures-channel", "futures-util", - "h2 0.4.10", - "http 1.3.1", - "http-body 1.0.1", + "h2", + "http", + "http-body", "httparse", "itoa", "pin-project-lite", @@ -2476,8 +2117,8 @@ version = "0.27.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "03a01595e11bdcec50946522c32dde3fc6914743000a68b93000965f2f02406d" dependencies = [ - "http 1.3.1", - "hyper 1.6.0", + "http", + "hyper", "hyper-util", "rustls", "rustls-native-certs", @@ -2496,7 +2137,7 @@ checksum = "70206fc6890eaca9fde8a0bf71caa2ddfc9fe045ac9e5c70df101a7dbde866e0" dependencies = [ "bytes", "http-body-util", - "hyper 1.6.0", + "hyper", "hyper-util", "native-tls", "tokio", @@ -2515,15 +2156,15 @@ dependencies = [ "futures-channel", "futures-core", "futures-util", - "http 1.3.1", - "http-body 1.0.1", - "hyper 1.6.0", + "http", + "http-body", + "hyper", "ipnet", "libc", "percent-encoding", "pin-project-lite", "socket2", - "system-configuration 0.6.1", + "system-configuration", "tokio", "tower-service", "tracing", @@ -2877,15 +2518,6 @@ dependencies = [ "selectors", ] -[[package]] -name = "kv-log-macro" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0de8b303297635ad57c9f5059fd9cee7a47f8e8daa09df0fcd07dd39fb22977f" -dependencies = [ - "log", -] - [[package]] name = "lazy_static" version = "1.5.0" @@ -2984,7 +2616,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "34080505efa8e45a4b816c349525ebe327ceaa8559756f0356cba97ef3bf7432" dependencies = [ "serde", - "value-bag", ] [[package]] @@ -3033,15 +2664,6 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c41e0c4fef86961ac6d6f8a82609f55f31b05e4fce149ac5710e439df7619ba4" -[[package]] -name = "mach" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b823e83b2affd8f40a9ee8c29dbc56404c1e34cd2710921f2801e2cf29527afa" -dependencies = [ - "libc", -] - [[package]] name = "markup5ever" version = "0.14.1" @@ -3091,25 +2713,6 @@ version = "2.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" -[[package]] -name = "memmap" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6585fd95e7bb50d6cc31e20d4cf9afb4e2ba16c5846fc76793f11218da9c475b" -dependencies = [ - "libc", - "winapi", -] - -[[package]] -name = "memmap2" -version = "0.5.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83faa42c0a078c393f6b29d5db232d8be22776a891f8f56e5284faee4a20b327" -dependencies = [ - "libc", -] - [[package]] name = "memoffset" version = "0.9.1" @@ -3119,45 +2722,12 @@ dependencies = [ "autocfg", ] -[[package]] -name = "miette" -version = "5.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59bb584eaeeab6bd0226ccf3509a69d7936d148cf3d036ad350abe35e8c6856e" -dependencies = [ - "miette-derive", - "once_cell", - "thiserror 1.0.69", - "unicode-width", -] - -[[package]] -name = "miette-derive" -version = "5.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49e7bc1560b95a3c4a25d03de42fe76ca718ab92d1a22a55b9b4cf67b3ae635c" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.101", -] - [[package]] name = "mime" version = "0.3.17" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" -[[package]] -name = "mime_guess" -version = "2.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7c44f8e672c00fe5308fa235f821cb4198414e1c77935c1ab6948d3fd78550e" -dependencies = [ - "mime", - "unicase", -] - [[package]] name = "minimal-lexical" version = "0.2.1" @@ -3659,18 +3229,6 @@ version = "1.21.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" -[[package]] -name = "opaque-debug" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2839e79665f131bdb5782e51f2c6c9599c133c6098982a54c794358bf432529c" - -[[package]] -name = "opaque-debug" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" - [[package]] name = "open" version = "5.3.2" @@ -4490,18 +4048,6 @@ dependencies = [ "syn 2.0.101", ] -[[package]] -name = "reflink-copy" -version = "0.1.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78c81d000a2c524133cc00d2f92f019d399e57906c3b7119271a2495354fe895" -dependencies = [ - "cfg-if", - "libc", - "rustix 1.0.7", - "windows", -] - [[package]] name = "regex" version = "1.11.1" @@ -4531,43 +4077,6 @@ version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" -[[package]] -name = "reqwest" -version = "0.11.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd67538700a17451e7cba03ac727fb961abb7607553461627b97de0b89cf4a62" -dependencies = [ - "base64 0.21.7", - "bytes", - "encoding_rs", - "futures-core", - "futures-util", - "h2 0.3.26", - "http 0.2.12", - "http-body 0.4.6", - "hyper 0.14.32", - "ipnet", - "js-sys", - "log", - "mime", - "mime_guess", - "once_cell", - "percent-encoding", - "pin-project-lite", - "serde", - "serde_json", - "serde_urlencoded", - "sync_wrapper 0.1.2", - "system-configuration 0.5.1", - "tokio", - "tower-service", - "url", - "wasm-bindgen", - "wasm-bindgen-futures", - "web-sys", - "winreg 0.50.0", -] - [[package]] name = "reqwest" version = "0.12.23" @@ -4580,11 +4089,11 @@ dependencies = [ "futures-channel", "futures-core", "futures-util", - "h2 0.4.10", - "http 1.3.1", - "http-body 1.0.1", + "h2", + "http", + "http-body", "http-body-util", - "hyper 1.6.0", + "hyper", "hyper-rustls", "hyper-tls", "hyper-util", @@ -4601,7 +4110,7 @@ dependencies = [ "serde", "serde_json", "serde_urlencoded", - "sync_wrapper 1.0.2", + "sync_wrapper", "tokio", "tokio-native-tls", "tokio-rustls", @@ -4617,57 +4126,6 @@ dependencies = [ "webpki-roots", ] -[[package]] -name = "reqwest-middleware" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69539cea4148dce683bec9dc95be3f0397a9bb2c248a49c8296a9d21659a8cdd" -dependencies = [ - "anyhow", - "async-trait", - "futures", - "http 0.2.12", - "reqwest 0.11.27", - "serde", - "task-local-extensions", - "thiserror 1.0.69", -] - -[[package]] -name = "reqwest-middleware" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57f17d28a6e6acfe1733fe24bcd30774d13bffa4b8a22535b4c8c98423088d4e" -dependencies = [ - "anyhow", - "async-trait", - "http 1.3.1", - "reqwest 0.12.23", - "serde", - "thiserror 1.0.69", - "tower-service", -] - -[[package]] -name = "reqwest-middleware-cache" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64dbc0a15e4d69f96e9b66ea5ff8102e2f4cce287bc26562363013d1c39d8f66" -dependencies = [ - "anyhow", - "async-trait", - "bincode", - "cacache 9.0.0", - "http 0.2.12", - "http-cache-semantics", - "httpdate", - "reqwest 0.11.27", - "reqwest-middleware 0.1.6", - "serde", - "task-local-extensions", - "url", -] - [[package]] name = "reqwest-websocket" version = "0.5.1" @@ -4677,7 +4135,7 @@ dependencies = [ "async-tungstenite", "bytes", "futures-util", - "reqwest 0.12.23", + "reqwest", "thiserror 2.0.12", "tokio", "tokio-util", @@ -4764,7 +4222,6 @@ version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "460d97902465327d69ecfe8cefdb5972c6f94d6127ac9e992acdb51458bebc27" dependencies = [ - "anyhow", "serde", "tempfile", "thiserror 1.0.69", @@ -5146,7 +4603,7 @@ checksum = "f2c45cd61fefa9db6f254525d46e392b852e0e61d9a1fd36e5bd183450a556d5" dependencies = [ "base64 0.22.1", "chrono", - "hex 0.4.3", + "hex", "indexmap 1.9.3", "indexmap 2.9.0", "schemars 0.9.0", @@ -5215,42 +4672,6 @@ dependencies = [ "stable_deref_trait", ] -[[package]] -name = "sha-1" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7d94d0bede923b3cea61f3f1ff57ff8cdfd77b400fb8f9998949e0cf04163df" -dependencies = [ - "block-buffer 0.7.3", - "digest 0.8.1", - "fake-simd", - "opaque-debug 0.2.3", -] - -[[package]] -name = "sha-1" -version = "0.9.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99cd6713db3cf16b6c84e06321e049a9b9f699826e16096d23bbcc44d15d51a6" -dependencies = [ - "block-buffer 0.9.0", - "cfg-if", - "cpufeatures", - "digest 0.9.0", - "opaque-debug 0.3.1", -] - -[[package]] -name = "sha-1" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5058ada175748e33390e40e872bd0fe59a19f265d0158daa551c5a88a76009c" -dependencies = [ - "cfg-if", - "cpufeatures", - "digest 0.10.7", -] - [[package]] name = "sha1" version = "0.10.6" @@ -5259,32 +4680,7 @@ checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" dependencies = [ "cfg-if", "cpufeatures", - "digest 0.10.7", -] - -[[package]] -name = "sha2" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a256f46ea78a0c0d9ff00077504903ac881a1dafdc20da66545699e7776b3e69" -dependencies = [ - "block-buffer 0.7.3", - "digest 0.8.1", - "fake-simd", - "opaque-debug 0.2.3", -] - -[[package]] -name = "sha2" -version = "0.9.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d58a1e1bf39749807d89cf2d98ac2dfa0ff1cb3faa38fbb64dd88ac8013d800" -dependencies = [ - "block-buffer 0.9.0", - "cfg-if", - "cpufeatures", - "digest 0.9.0", - "opaque-debug 0.3.1", + "digest", ] [[package]] @@ -5295,7 +4691,7 @@ checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" dependencies = [ "cfg-if", "cpufeatures", - "digest 0.10.7", + "digest", ] [[package]] @@ -5372,17 +4768,6 @@ dependencies = [ "autocfg", ] -[[package]] -name = "slice-deque" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31ef6ee280cdefba6d2d0b4b78a84a1c1a3f3a4cec98c2d4231c8bc225de0f25" -dependencies = [ - "libc", - "mach", - "winapi", -] - [[package]] name = "smallvec" version = "1.15.0" @@ -5447,38 +4832,6 @@ dependencies = [ "system-deps", ] -[[package]] -name = "ssri" -version = "7.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9cec0d388f39fbe79d7aa600e8d38053bf97b1bc8d350da7c0ba800d0f423f2" -dependencies = [ - "base64 0.10.1", - "digest 0.8.1", - "hex 0.3.2", - "serde", - "sha-1 0.8.2", - "sha2 0.8.2", - "thiserror 1.0.69", -] - -[[package]] -name = "ssri" -version = "9.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da7a2b3c2bc9693bcb40870c4e9b5bf0d79f9cb46273321bf855ec513e919082" -dependencies = [ - "base64 0.21.7", - "digest 0.10.7", - "hex 0.4.3", - "miette", - "serde", - "sha-1 0.10.1", - "sha2 0.10.9", - "thiserror 1.0.69", - "xxhash-rust", -] - [[package]] name = "stable_deref_trait" version = "1.2.0" @@ -5561,12 +4914,6 @@ dependencies = [ "unicode-ident", ] -[[package]] -name = "sync_wrapper" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160" - [[package]] name = "sync_wrapper" version = "1.0.2" @@ -5596,20 +4943,6 @@ dependencies = [ "libc", ] -[[package]] -name = "sysinfo" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "252800745060e7b9ffb7b2badbd8b31cfa4aa2e61af879d0a3bf2a317c20217d" -dependencies = [ - "libc", - "memchr", - "ntapi", - "objc2-core-foundation", - "objc2-io-kit", - "windows", -] - [[package]] name = "sysinfo" version = "0.37.0" @@ -5624,17 +4957,6 @@ dependencies = [ "windows", ] -[[package]] -name = "system-configuration" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba3a3adc5c275d719af8cb4272ea1c4a6d668a777f37e115f6d11ddbc1c8e0e7" -dependencies = [ - "bitflags 1.3.2", - "core-foundation 0.9.4", - "system-configuration-sys 0.5.0", -] - [[package]] name = "system-configuration" version = "0.6.1" @@ -5643,17 +4965,7 @@ checksum = "3c879d448e9d986b661742763247d3693ed13609438cf3d006f51f5368a5ba6b" dependencies = [ "bitflags 2.9.1", "core-foundation 0.9.4", - "system-configuration-sys 0.6.0", -] - -[[package]] -name = "system-configuration-sys" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a75fb188eb626b924683e3b95e3a48e63551fcfb51949de2f06a9d91dbee93c9" -dependencies = [ - "core-foundation-sys", - "libc", + "system-configuration-sys", ] [[package]] @@ -5747,15 +5059,6 @@ version = "0.12.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1" -[[package]] -name = "task-local-extensions" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba323866e5d033818e3240feeb9f7db2c4296674e4d9e16b97b7bf8f490434e8" -dependencies = [ - "pin-utils", -] - [[package]] name = "tauri" version = "2.8.5" @@ -5772,7 +5075,7 @@ dependencies = [ "glob", "gtk", "heck 0.5.0", - "http 1.3.1", + "http", "http-range", "jni", "libc", @@ -5787,7 +5090,7 @@ dependencies = [ "percent-encoding", "plist", "raw-window-handle", - "reqwest 0.12.23", + "reqwest", "serde", "serde_json", "serde_repr", @@ -5848,7 +5151,7 @@ dependencies = [ "semver", "serde", "serde_json", - "sha2 0.10.9", + "sha2", "syn 2.0.101", "tauri-utils", "thiserror 2.0.12", @@ -6049,7 +5352,7 @@ dependencies = [ "cookie", "dpi", "gtk", - "http 1.3.1", + "http", "jni", "objc2 0.6.1", "objc2-ui-kit", @@ -6072,7 +5375,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c1fe9d48bd122ff002064e88cfcd7027090d789c4302714e68fcccba0f4b7807" dependencies = [ "gtk", - "http 1.3.1", + "http", "jni", "log", "objc2 0.6.1", @@ -6105,7 +5408,7 @@ dependencies = [ "dunce", "glob", "html5ever", - "http 1.3.1", + "http", "infer", "json-patch", "kuchikiki", @@ -6466,7 +5769,7 @@ dependencies = [ "futures-core", "futures-util", "pin-project-lite", - "sync_wrapper 1.0.2", + "sync_wrapper", "tokio", "tower-layer", "tower-service", @@ -6481,8 +5784,8 @@ dependencies = [ "bitflags 2.9.1", "bytes", "futures-util", - "http 1.3.1", - "http-body 1.0.1", + "http", + "http-body", "iri-string", "pin-project-lite", "tower", @@ -6575,7 +5878,7 @@ checksum = "eadc29d668c91fcc564941132e17b28a7ceb2f3ebf0b9dae3e03fd7a6748eb0d" dependencies = [ "bytes", "data-encoding", - "http 1.3.1", + "http", "httparse", "log", "rand 0.9.1", @@ -6616,12 +5919,6 @@ dependencies = [ "winapi", ] -[[package]] -name = "umu-wrapper-lib" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baa36636bef667cee9eb4f497c24279182b8b9f098fd04b0b8c5d2ebc4e451f1" - [[package]] name = "unic-char-property" version = "0.9.0" @@ -6663,12 +5960,6 @@ dependencies = [ "unic-common", ] -[[package]] -name = "unicase" -version = "2.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75b844d17643ee918803943289730bec8aac480150456169e647ed0b576ba539" - [[package]] name = "unicode-ident" version = "1.0.18" @@ -6681,12 +5972,6 @@ version = "1.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493" -[[package]] -name = "unicode-width" -version = "0.1.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af" - [[package]] name = "unsafe-any-ors" version = "1.0.0" @@ -6720,12 +6005,6 @@ dependencies = [ "serde", ] -[[package]] -name = "urlencoding" -version = "2.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "daf8dba3b7eb870caf1ddeed7bc9d2a049f3cfdfae7cb521b087cc33ae4c49da" - [[package]] name = "urlpattern" version = "0.3.0" @@ -6775,12 +6054,6 @@ dependencies = [ "syn 2.0.101", ] -[[package]] -name = "value-bag" -version = "1.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "943ce29a8a743eb10d6082545d861b24f9d1b160b7d741e0f2cdf726bec909c5" - [[package]] name = "vcpkg" version = "0.2.15" @@ -7613,16 +6886,6 @@ dependencies = [ "winapi", ] -[[package]] -name = "winreg" -version = "0.50.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "524e57b2c537c0f9b1e69f1965311ec12182b4122e45035b1508cd24d2adadb1" -dependencies = [ - "cfg-if", - "windows-sys 0.48.0", -] - [[package]] name = "winreg" version = "0.52.0" @@ -7664,7 +6927,7 @@ dependencies = [ "gdkx11", "gtk", "html5ever", - "http 1.3.1", + "http", "javascriptcore-rs", "jni", "kuchikiki", @@ -7679,7 +6942,7 @@ dependencies = [ "once_cell", "percent-encoding", "raw-window-handle", - "sha2 0.10.9", + "sha2", "soup3", "tao-macros", "thiserror 2.0.12", @@ -7760,12 +7023,6 @@ dependencies = [ "rustix 1.0.7", ] -[[package]] -name = "xxhash-rust" -version = "0.8.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdd20c5420375476fbd4394763288da7eb0cc0b8c11deed431a91562af7335d3" - [[package]] name = "yasna" version = "0.5.2" @@ -7815,10 +7072,10 @@ dependencies = [ "async-trait", "blocking", "enumflags2", - "event-listener 5.4.0", + "event-listener", "futures-core", "futures-lite", - "hex 0.4.3", + "hex", "nix", "ordered-stream", "serde", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 89f4bae..4c96e4d 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -27,13 +27,7 @@ name = "drop_app_lib" # rustflags = ["-C", "target-feature=+aes,+sse2"] [dependencies] -atomic-instant-full = "0.1.0" -bitcode = "0.6.6" boxcar = "0.2.7" -bytes = "1.10.1" -cacache = "13.1.0" -chrono = "0.4.38" -deranged = "=0.4.0" dirs = "6.0.0" drop-database = { path = "./drop-database" } drop-downloads = { path = "./drop-downloads" } @@ -41,33 +35,16 @@ drop-errors = { path = "./drop-errors" } drop-native-library = { path = "./drop-native-library" } drop-process = { path = "./drop-process" } drop-remote = { path = "./drop-remote" } -droplet-rs = "0.7.3" -filetime = "0.2.25" -futures-core = "0.3.31" futures-lite = "2.6.0" -gethostname = "1.0.1" hex = "0.4.3" http = "1.1.0" -http-serde = "2.1.1" -humansize = "2.1.3" known-folders = "1.2.0" log = "0.4.22" md5 = "0.7.0" -page_size = "0.6.0" -parking_lot = "0.12.3" -rand = "0.9.1" rayon = "1.10.0" regex = "1.11.1" -reqwest-middleware = "0.4.0" -reqwest-middleware-cache = "0.1.1" reqwest-websocket = "0.5.0" -schemars = "0.8.22" serde_json = "1" -serde_with = "3.12.0" -sha1 = "0.10.6" -shared_child = "1.0.1" -slice-deque = "0.3.0" -sysinfo = "0.36.1" tar = "0.4.44" tauri = { version = "2.7.0", features = ["protocol-asset", "tray-icon"] } tauri-plugin-autostart = "2.0.0" @@ -77,20 +54,10 @@ tauri-plugin-opener = "2.4.0" tauri-plugin-os = "2" tauri-plugin-shell = "2.2.1" tempfile = "3.19.1" -throttle_my_fn = "0.2.6" -tokio-util = { version = "0.7.16", features = ["io"] } -umu-wrapper-lib = "0.1.0" url = "2.5.2" -urlencoding = "2.1.3" -walkdir = "2.5.0" webbrowser = "1.0.2" whoami = "1.6.0" zstd = "0.13.3" -# tailscale = { path = "./tailscale" } - -[dependencies.dynfmt] -version = "0.1.5" -features = ["curly"] [dependencies.log4rs] version = "1.3.0" @@ -109,10 +76,6 @@ features = [ "stream", ] -[dependencies.rustbreak] -version = "2" -features = ["other_errors"] # You can also use "yaml_enc" or "bin_enc" - [dependencies.rustix] version = "0.38.37" features = ["fs"] @@ -121,10 +84,6 @@ features = ["fs"] version = "1" features = ["derive", "rc"] -[dependencies.tokio] -version = "1.40.0" -features = ["rt", "signal", "tokio-macros"] - [dependencies.uuid] version = "1.10.0" features = ["fast-rng", "macro-diagnostics", "v4"] diff --git a/src-tauri/drop-database/Cargo.toml b/src-tauri/drop-database/Cargo.toml index 18aa56a..d77be4a 100644 --- a/src-tauri/drop-database/Cargo.toml +++ b/src-tauri/drop-database/Cargo.toml @@ -9,11 +9,10 @@ chrono = "0.4.42" dirs = "6.0.0" log = "0.4.28" native_model = { git = "https://github.com/Drop-OSS/native_model.git", version = "0.6.4", features = [ - "rmp_serde_1_3", + "rmp_serde_1_3" ] } rustbreak = "2.0.0" serde = { version = "1.0.219", features = ["derive"] } -serde_json = "1.0.143" serde_with = "3.14.0" url = "2.5.7" whoami = "1.6.1" diff --git a/src-tauri/drop-database/src/db.rs b/src-tauri/drop-database/src/db.rs index c4b8ad6..a821b39 100644 --- a/src-tauri/drop-database/src/db.rs +++ b/src-tauri/drop-database/src/db.rs @@ -39,7 +39,7 @@ impl DeSerializer fn deserialize(&self, mut s: R) -> rustbreak::error::DeSerResult { let mut buf = Vec::new(); s.read_to_end(&mut buf) - .map_err(|e| rustbreak::error::DeSerError::Other(e.into()))?; + .map_err(|e| rustbreak::error::DeSerError::Internal(e.to_string()))?; let (val, _version) = native_model::decode(buf) .map_err(|e| DeSerError::Internal(e.to_string()))?; Ok(val) diff --git a/src-tauri/drop-native-library/Cargo.toml b/src-tauri/drop-native-library/Cargo.toml index 7a94c69..4c3adf0 100644 --- a/src-tauri/drop-native-library/Cargo.toml +++ b/src-tauri/drop-native-library/Cargo.toml @@ -6,7 +6,6 @@ edition = "2024" [dependencies] bitcode = "0.6.7" drop-database = { path = "../drop-database" } -drop-downloads = { path = "../drop-downloads" } drop-errors = { path = "../drop-errors" } drop-remote = { path = "../drop-remote" } log = "0.4.28" diff --git a/src-tauri/drop-process/Cargo.toml b/src-tauri/drop-process/Cargo.toml index 365b895..f0b195e 100644 --- a/src-tauri/drop-process/Cargo.toml +++ b/src-tauri/drop-process/Cargo.toml @@ -8,10 +8,9 @@ chrono = "0.4.42" drop-database = { path = "../drop-database" } drop-errors = { path = "../drop-errors" } drop-native-library = { path = "../drop-native-library" } -dynfmt = "0.1.5" +dynfmt = { version = "0.1.5", features = ["curly"] } log = "0.4.28" page_size = "0.6.0" -serde = "1.0.220" shared_child = "1.1.1" sysinfo = "0.37.0" tauri = "2.8.5" diff --git a/src-tauri/drop-remote/Cargo.toml b/src-tauri/drop-remote/Cargo.toml index 84f01fa..a665787 100644 --- a/src-tauri/drop-remote/Cargo.toml +++ b/src-tauri/drop-remote/Cargo.toml @@ -15,7 +15,6 @@ http = "1.3.1" log = "0.4.28" md5 = "0.8.0" reqwest = "0.12.23" -reqwest-websocket = "0.5.1" serde = { version = "1.0.220", features = ["derive"] } tauri = "2.8.5" url = "2.5.7" diff --git a/src-tauri/src/lib.rs b/src-tauri/src/lib.rs index 7923ff6..753c830 100644 --- a/src-tauri/src/lib.rs +++ b/src-tauri/src/lib.rs @@ -4,7 +4,6 @@ #![feature(duration_millis_float)] #![feature(iterator_try_collect)] #![deny(clippy::all)] -#![warn(unused_extern_crates)] mod auth; mod client; @@ -16,7 +15,7 @@ mod remote; mod setup; use crate::auth::recieve_handshake; -use crate::native_library::collection_commands::fetch_collections; +use crate::native_library::collection_commands::{add_game_to_collection, create_collection, delete_collection, delete_game_in_collection, fetch_collection, fetch_collections}; use crate::native_library::commands::{ fetch_game, fetch_game_status, fetch_game_version_options, fetch_library, uninstall_game, }; @@ -152,11 +151,11 @@ pub fn run() { update_game_configuration, // Collections fetch_collections, - // fetch_collection, - // create_collection, - // add_game_to_collection, - // delete_collection, - // delete_game_in_collection, + fetch_collection, + create_collection, + add_game_to_collection, + delete_collection, + delete_game_in_collection, // Downloads download_game, resume_download, diff --git a/src-tauri/src/setup.rs b/src-tauri/src/setup.rs index 25a805a..e84d221 100644 --- a/src-tauri/src/setup.rs +++ b/src-tauri/src/setup.rs @@ -1,4 +1,4 @@ -use std::{collections::HashMap, env, path::Path, str::FromStr as _, sync::{Arc, Mutex}}; +use std::{env, path::Path, str::FromStr as _, sync::{Arc, Mutex}}; use drop_database::{borrow_db_checked, borrow_db_mut_checked, db::{DatabaseImpls as _, DATA_ROOT_DIR}, models::data::GameDownloadStatus, DB}; use drop_downloads::download_manager_builder::DownloadManagerBuilder;