diff --git a/.github/workflows/desktop_cd.yaml b/.github/workflows/desktop_cd.yaml index 977dc810db..9ec4c86012 100644 --- a/.github/workflows/desktop_cd.yaml +++ b/.github/workflows/desktop_cd.yaml @@ -17,19 +17,15 @@ jobs: runs-on: ${{ matrix.platform }} steps: - uses: actions/checkout@v4 - - uses: actions/cache@v3 - with: - path: | - ~/.cargo/registry - ~/.cargo/git - key: rust-${{ matrix.platform }}-${{ hashFiles('**/Cargo.lock') }} - restore-keys: | - rust-${{ matrix.platform }}- + - uses: Swatinem/rust-cache@v2 - uses: pnpm/action-setup@v4 with: version: 9.15.0 - run: pnpm install - - uses: actions-rust-lang/setup-rust-toolchain@v1 + - uses: arduino/setup-protoc@v3 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + - run: rustup toolchain install stable --profile minimal --no-self-update - uses: tauri-apps/tauri-action@v0 with: args: ${{ matrix.args }} diff --git a/.github/workflows/desktop_ci.yaml b/.github/workflows/desktop_ci.yaml index 6af71420e8..678703f8b6 100644 --- a/.github/workflows/desktop_ci.yaml +++ b/.github/workflows/desktop_ci.yaml @@ -27,16 +27,11 @@ jobs: runs-on: ${{ matrix.platform }} steps: - uses: actions/checkout@v4 - - uses: actions/cache@v3 + - uses: Swatinem/rust-cache@v2 + - run: rustup toolchain install stable --profile minimal --no-self-update + - uses: arduino/setup-protoc@v3 with: - path: | - ~/.cargo/registry - ~/.cargo/git - key: rust-${{ matrix.platform }}-${{ hashFiles('**/Cargo.lock') }} - restore-keys: | - rust-${{ matrix.platform }}- - - uses: actions-rust-lang/setup-rust-toolchain@v1 - - uses: AnimMouse/setup-ffmpeg@v1 + repo-token: ${{ secrets.GITHUB_TOKEN }} - run: cargo build - uses: pnpm/action-setup@v4 with: diff --git a/.github/workflows/server_ci.yaml b/.github/workflows/server_ci.yaml index 5f5524458d..976c309b19 100644 --- a/.github/workflows/server_ci.yaml +++ b/.github/workflows/server_ci.yaml @@ -27,4 +27,6 @@ jobs: - run: rustup toolchain install stable --profile minimal --no-self-update - run: sudo apt-get update && sudo apt-get install -y libasound2-dev pkg-config - uses: arduino/setup-protoc@v3 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} - run: cargo build -p server diff --git a/Cargo.lock b/Cargo.lock index 666abd419c..c4ef31adf3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -42,7 +42,7 @@ version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "cipher", "cpufeatures", ] @@ -64,7 +64,7 @@ version = "0.8.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "once_cell", "version_check", "zerocopy", @@ -108,7 +108,7 @@ checksum = "ed7572b7ba83a31e20d1b48970ee402d2e3e0537dcfe0a3ff4d6eb7508617d43" dependencies = [ "alsa-sys", "bitflags 2.6.0", - "cfg-if 1.0.0", + "cfg-if", "libc", ] @@ -165,25 +165,6 @@ dependencies = [ "libc", ] -[[package]] -name = "annotate-snippets" -version = "0.9.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ccaf7e9dfbb6ab22c82e473cd1a8a7bd313c19a5b7e40970f3d89ef5a5c9e81e" -dependencies = [ - "unicode-width 0.1.14", - "yansi-term", -] - -[[package]] -name = "ansi_term" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2" -dependencies = [ - "winapi", -] - [[package]] name = "anyhow" version = "1.0.95" @@ -223,15 +204,6 @@ version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50" -[[package]] -name = "ash" -version = "0.38.0+1.3.281" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bb44936d800fea8f016d7f2311c6a4f97aebd5dc86f09906139ec848cf3a46f" -dependencies = [ - "libloading 0.8.6", -] - [[package]] name = "ashpd" version = "0.9.2" @@ -328,7 +300,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43a2b323ccce0a1d90b449fd71f2a06ca7faa7c54c2751f06c9bd851fc061059" dependencies = [ "async-lock", - "cfg-if 1.0.0", + "cfg-if", "concurrent-queue", "futures-io", "futures-lite 2.5.0", @@ -402,7 +374,7 @@ dependencies = [ "async-signal", "async-task", "blocking", - "cfg-if 1.0.0", + "cfg-if", "event-listener 5.3.1", "futures-lite 2.5.0", "rustix", @@ -429,7 +401,7 @@ dependencies = [ "async-io", "async-lock", "atomic-waker", - "cfg-if 1.0.0", + "cfg-if", "futures-core", "futures-io", "rustix", @@ -540,23 +512,12 @@ version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" -[[package]] -name = "atty" -version = "0.2.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" -dependencies = [ - "hermit-abi 0.1.19", - "libc", - "winapi", -] - [[package]] name = "audio" version = "0.1.0" dependencies = [ "anyhow", - "cidre 0.5.0", + "cidre", "cpal", "dasp", "futures", @@ -1127,7 +1088,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8d82cb332cdfaed17ae235a638438ac4d4839913cc2af585c3c6746e8f8bee1a" dependencies = [ "addr2line", - "cfg-if 1.0.0", + "cfg-if", "libc", "miniz_oxide", "object", @@ -1184,29 +1145,6 @@ dependencies = [ "serde", ] -[[package]] -name = "bindgen" -version = "0.56.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2da379dbebc0b76ef63ca68d8fc6e71c0f13e59432e0987e508c1820e6ab5239" -dependencies = [ - "bitflags 1.3.2", - "cexpr 0.4.0", - "clang-sys", - "clap", - "env_logger", - "lazy_static", - "lazycell", - "log", - "peeking_take_while", - "proc-macro2", - "quote", - "regex", - "rustc-hash 1.1.0", - "shlex 0.1.1", - "which 3.1.1", -] - [[package]] name = "bindgen" version = "0.66.1" @@ -1214,7 +1152,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f2b84e06fc203107bfbad243f4aba2af864eb7db3b1cf46ea0a023b0b433d2a7" dependencies = [ "bitflags 2.6.0", - "cexpr 0.6.0", + "cexpr", "clang-sys", "lazy_static", "lazycell", @@ -1225,30 +1163,9 @@ dependencies = [ "quote", "regex", "rustc-hash 1.1.0", - "shlex 1.3.0", - "syn 2.0.92", - "which 4.4.2", -] - -[[package]] -name = "bindgen" -version = "0.69.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "271383c67ccabffb7381723dea0672a673f292304fcb45c01cc648c7a8d58088" -dependencies = [ - "annotate-snippets", - "bitflags 2.6.0", - "cexpr 0.6.0", - "clang-sys", - "itertools 0.12.1", - "lazy_static", - "lazycell", - "proc-macro2", - "quote", - "regex", - "rustc-hash 1.1.0", - "shlex 1.3.0", + "shlex", "syn 2.0.92", + "which", ] [[package]] @@ -1258,14 +1175,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f49d8fed880d473ea71efb9bf597651e77201bdd4893efe54c9e5d65ae04ce6f" dependencies = [ "bitflags 2.6.0", - "cexpr 0.6.0", + "cexpr", "clang-sys", "itertools 0.13.0", "proc-macro2", "quote", "regex", "rustc-hash 1.1.0", - "shlex 1.3.0", + "shlex", "syn 2.0.92", ] @@ -1275,16 +1192,7 @@ version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0700ddab506f33b20a03b13996eccd309a48e5ff77d0d95926aa0210fb4e95f1" dependencies = [ - "bit-vec 0.6.3", -] - -[[package]] -name = "bit-set" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0481a0e032742109b1133a095184ee93d88f3dc9e0d28a5d033dc77a073f44f" -dependencies = [ - "bit-vec 0.7.0", + "bit-vec", ] [[package]] @@ -1293,12 +1201,6 @@ version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb" -[[package]] -name = "bit-vec" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2c54ff287cfc0a34f38a6b832ea1bd8e448a330b3e40a50859e6488bee07f22" - [[package]] name = "bit_field" version = "0.10.2" @@ -1806,69 +1708,6 @@ dependencies = [ "tracing", ] -[[package]] -name = "cap-flags" -version = "0.1.0" -source = "git+https://github.com/CapSoftware/Cap?tag=cap-v0.3.4#8bf9e55d29816d112e77bd1949d5b928fb3a7342" -dependencies = [ - "serde", - "specta", -] - -[[package]] -name = "cap-gpu-converters" -version = "0.1.0" -source = "git+https://github.com/CapSoftware/Cap?tag=cap-v0.3.4#8bf9e55d29816d112e77bd1949d5b928fb3a7342" -dependencies = [ - "wgpu", -] - -[[package]] -name = "cap-media" -version = "0.1.0" -source = "git+https://github.com/CapSoftware/Cap?tag=cap-v0.3.4#8bf9e55d29816d112e77bd1949d5b928fb3a7342" -dependencies = [ - "cap-flags", - "cap-gpu-converters", - "cap-project", - "cidre 0.4.0", - "cocoa 0.26.0", - "core-foundation 0.10.0", - "core-graphics 0.24.0", - "cpal", - "ffmpeg-next", - "flume 0.11.1", - "futures", - "indexmap 2.7.0", - "nokhwa", - "nokhwa-bindings-macos", - "num-traits", - "objc", - "objc-foundation", - "objc2-foundation", - "ringbuf", - "scap", - "screencapturekit", - "serde", - "specta", - "tempfile", - "thiserror 1.0.69", - "tracing", - "windows 0.58.0", - "windows-capture", -] - -[[package]] -name = "cap-project" -version = "0.1.0" -source = "git+https://github.com/CapSoftware/Cap?tag=cap-v0.3.4#8bf9e55d29816d112e77bd1949d5b928fb3a7342" -dependencies = [ - "either", - "serde", - "serde_json", - "specta", -] - [[package]] name = "cargo-platform" version = "0.1.9" @@ -1919,7 +1758,7 @@ checksum = "8d6dbb628b8f8555f86d0323c2eb39e3ec81901f4b83e091db8a6a76d316a333" dependencies = [ "jobserver", "libc", - "shlex 1.3.0", + "shlex", ] [[package]] @@ -1928,22 +1767,13 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6d43a04d8753f35258c91f8ec639f792891f748a1edbd759cf1dcea3382ad83c" -[[package]] -name = "cexpr" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4aedb84272dbe89af497cf81375129abda4fc0a9e7c5d317498c15cc30c0d27" -dependencies = [ - "nom 5.1.3", -] - [[package]] name = "cexpr" version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766" dependencies = [ - "nom 7.1.3", + "nom", ] [[package]] @@ -1967,12 +1797,6 @@ dependencies = [ "target-lexicon", ] -[[package]] -name = "cfg-if" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" - [[package]] name = "cfg-if" version = "1.0.0" @@ -2006,30 +1830,16 @@ dependencies = [ "windows-targets 0.52.6", ] -[[package]] -name = "cidre" -version = "0.4.0" -source = "git+https://github.com/yury/cidre?rev=1e008bec49a0f97aeaaea6130a0ba20fe00aa03b#1e008bec49a0f97aeaaea6130a0ba20fe00aa03b" -dependencies = [ - "cidre-macros 0.1.0 (git+https://github.com/yury/cidre?rev=1e008bec49a0f97aeaaea6130a0ba20fe00aa03b)", - "parking_lot 0.12.3", -] - [[package]] name = "cidre" version = "0.5.0" source = "git+https://github.com/yury/cidre?rev=7bc6c3addbd3fe2c586fbe15319a17f6d16c9049#7bc6c3addbd3fe2c586fbe15319a17f6d16c9049" dependencies = [ - "cidre-macros 0.1.0 (git+https://github.com/yury/cidre?rev=7bc6c3addbd3fe2c586fbe15319a17f6d16c9049)", + "cidre-macros", "parking_lot 0.12.3", "tokio", ] -[[package]] -name = "cidre-macros" -version = "0.1.0" -source = "git+https://github.com/yury/cidre?rev=1e008bec49a0f97aeaaea6130a0ba20fe00aa03b#1e008bec49a0f97aeaaea6130a0ba20fe00aa03b" - [[package]] name = "cidre-macros" version = "0.1.0" @@ -2056,21 +1866,6 @@ dependencies = [ "libloading 0.8.6", ] -[[package]] -name = "clap" -version = "2.34.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0610544180c38b88101fecf2dd634b174a62eef6946f84dfc6a7127512b381c" -dependencies = [ - "ansi_term", - "atty", - "bitflags 1.3.2", - "strsim 0.8.0", - "textwrap", - "unicode-width 0.1.14", - "vec_map", -] - [[package]] name = "claxon" version = "0.4.3" @@ -2120,37 +1915,6 @@ version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "67ba02a97a2bd10f4b59b25c7973101c79642302776489e030cd13cdab09ed15" -[[package]] -name = "cocoa" -version = "0.20.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c49e86fc36d5704151f5996b7b3795385f50ce09e3be0f47a0cfde869681cf8" -dependencies = [ - "bitflags 1.3.2", - "block", - "core-foundation 0.7.0", - "core-graphics 0.19.2", - "foreign-types 0.3.2", - "libc", - "objc", -] - -[[package]] -name = "cocoa" -version = "0.25.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6140449f97a6e97f9511815c5632d84c8aacf8ac271ad77c559218161a1373c" -dependencies = [ - "bitflags 1.3.2", - "block", - "cocoa-foundation 0.1.2", - "core-foundation 0.9.4", - "core-graphics 0.23.2", - "foreign-types 0.5.0", - "libc", - "objc", -] - [[package]] name = "cocoa" version = "0.26.0" @@ -2159,28 +1923,14 @@ checksum = "f79398230a6e2c08f5c9760610eb6924b52aa9e7950a619602baba59dcbbdbb2" dependencies = [ "bitflags 2.6.0", "block", - "cocoa-foundation 0.2.0", + "cocoa-foundation", "core-foundation 0.10.0", - "core-graphics 0.24.0", + "core-graphics", "foreign-types 0.5.0", "libc", "objc", ] -[[package]] -name = "cocoa-foundation" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c6234cbb2e4c785b456c0644748b1ac416dd045799740356f8363dfe00c93f7" -dependencies = [ - "bitflags 1.3.2", - "block", - "core-foundation 0.9.4", - "core-graphics-types 0.1.3", - "libc", - "objc", -] - [[package]] name = "cocoa-foundation" version = "0.2.0" @@ -2195,53 +1945,12 @@ dependencies = [ "objc", ] -[[package]] -name = "codespan-reporting" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3538270d33cc669650c4b093848450d380def10c331d38c768e34cac80576e6e" -dependencies = [ - "termcolor", - "unicode-width 0.1.14", -] - [[package]] name = "color_quant" version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b" -[[package]] -name = "com" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e17887fd17353b65b1b2ef1c526c83e26cd72e74f598a8dc1bee13a48f3d9f6" -dependencies = [ - "com_macros", -] - -[[package]] -name = "com_macros" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d375883580a668c7481ea6631fc1a8863e33cc335bf56bfad8d7e6d4b04b13a5" -dependencies = [ - "com_macros_support", - "proc-macro2", - "syn 1.0.109", -] - -[[package]] -name = "com_macros_support" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad899a1087a9296d5644792d7cb72b8e34c1bec8e7d4fbc002230169a6e8710c" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "combine" version = "4.6.7" @@ -2318,15 +2027,6 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e" -[[package]] -name = "convert_case" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec182b0ca2f35d8fc196cf3404988fd8b8c739a4d270ff118a398feb0cbec1ca" -dependencies = [ - "unicode-segmentation", -] - [[package]] name = "cookie" version = "0.18.1" @@ -2338,32 +2038,13 @@ dependencies = [ "version_check", ] -[[package]] -name = "cookie-factory" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9885fa71e26b8ab7855e2ec7cae6e9b380edff76cd052e07c683a0319d51b3a2" -dependencies = [ - "futures", -] - -[[package]] -name = "core-foundation" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57d24c7a13c43e870e37c1556b74555437870a04514f7685f5b354e090567171" -dependencies = [ - "core-foundation-sys 0.7.0", - "libc", -] - [[package]] name = "core-foundation" version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f" dependencies = [ - "core-foundation-sys 0.8.7", + "core-foundation-sys", "libc", ] @@ -2373,47 +2054,16 @@ version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b55271e5c8c478ad3f38ad24ef34923091e0548492a266d19b3c0b4d82574c63" dependencies = [ - "core-foundation-sys 0.8.7", + "core-foundation-sys", "libc", ] -[[package]] -name = "core-foundation-sys" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3a71ab494c0b5b860bdc8407ae08978052417070c2ced38573a9157ad75b8ac" - [[package]] name = "core-foundation-sys" version = "0.8.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" -[[package]] -name = "core-graphics" -version = "0.19.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3889374e6ea6ab25dba90bb5d96202f61108058361f6dc72e8b03e6f8bbe923" -dependencies = [ - "bitflags 1.3.2", - "core-foundation 0.7.0", - "foreign-types 0.3.2", - "libc", -] - -[[package]] -name = "core-graphics" -version = "0.23.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c07782be35f9e1140080c6b96f0d44b739e2278479f64e02fdab4e32dfd8b081" -dependencies = [ - "bitflags 1.3.2", - "core-foundation 0.9.4", - "core-graphics-types 0.1.3", - "foreign-types 0.5.0", - "libc", -] - [[package]] name = "core-graphics" version = "0.24.0" @@ -2427,19 +2077,6 @@ dependencies = [ "libc", ] -[[package]] -name = "core-graphics-helmer-fork" -version = "0.24.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32eb7c354ae9f6d437a6039099ce7ecd049337a8109b23d73e48e8ffba8e9cd5" -dependencies = [ - "bitflags 2.6.0", - "core-foundation 0.9.4", - "core-graphics-types 0.1.3", - "foreign-types 0.5.0", - "libc", -] - [[package]] name = "core-graphics-types" version = "0.1.3" @@ -2462,31 +2099,6 @@ dependencies = [ "libc", ] -[[package]] -name = "core-media-sys" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "273bf3fc5bf51fd06a7766a84788c1540b6527130a0bce39e00567d6ab9f31f1" -dependencies = [ - "cfg-if 0.1.10", - "core-foundation-sys 0.7.0", - "libc", -] - -[[package]] -name = "core-video-sys" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34ecad23610ad9757664d644e369246edde1803fcb43ed72876565098a5d3828" -dependencies = [ - "cfg-if 0.1.10", - "core-foundation-sys 0.7.0", - "core-graphics 0.19.2", - "libc", - "metal 0.18.0", - "objc", -] - [[package]] name = "coreaudio-rs" version = "0.11.3" @@ -2494,7 +2106,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "321077172d79c662f64f5071a03120748d5bb652f5231570141be24cfcd2bace" dependencies = [ "bitflags 1.3.2", - "core-foundation-sys 0.8.7", + "core-foundation-sys", "coreaudio-sys", ] @@ -2513,7 +2125,7 @@ version = "0.15.3" source = "git+https://github.com/RustAudio/cpal?rev=f43d36e55494993bbbde3299af0c53e5cdf4d4cf#f43d36e55494993bbbde3299af0c53e5cdf4d4cf" dependencies = [ "alsa", - "core-foundation-sys 0.8.7", + "core-foundation-sys", "coreaudio-rs", "dasp_sample", "jni", @@ -2553,7 +2165,7 @@ version = "1.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", ] [[package]] @@ -2733,17 +2345,6 @@ dependencies = [ "syn 2.0.92", ] -[[package]] -name = "d3d12" -version = "22.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bdbd1f579714e3c809ebd822c81ef148b1ceaeb3d535352afc73fd0c4c6a0017" -dependencies = [ - "bitflags 2.6.0", - "libloading 0.8.6", - "winapi", -] - [[package]] name = "darling" version = "0.20.10" @@ -2764,7 +2365,7 @@ dependencies = [ "ident_case", "proc-macro2", "quote", - "strsim 0.11.1", + "strsim", "syn 2.0.92", ] @@ -2921,17 +2522,6 @@ dependencies = [ "tokio", ] -[[package]] -name = "dbus" -version = "0.9.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bb21987b9fb1613058ba3843121dd18b163b254d8a6e797e144cbac14d96d1b" -dependencies = [ - "libc", - "libdbus-sys", - "winapi", -] - [[package]] name = "debugid" version = "0.8.0" @@ -3051,7 +2641,7 @@ version = "0.99.18" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5f33878137e4dafd7fa914ad4e259e18a4e8e532b9617a2d0150262bf53abfce" dependencies = [ - "convert_case 0.4.0", + "convert_case", "proc-macro2", "quote", "rustc_version", @@ -3066,14 +2656,11 @@ dependencies = [ "audio 0.1.0", "bridge", "calendar", - "cap-media", "db", "dotenvy_macro", - "flume 0.11.1", "futures", "host", "log", - "objc", "reqwest 0.12.11", "serde", "serde_json", @@ -3147,7 +2734,7 @@ version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b98cf8ebf19c3d1b223e151f99a4f9f0690dca41414773390fc824184ac833e1" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "dirs-sys-next", ] @@ -3243,15 +2830,6 @@ dependencies = [ "const-random", ] -[[package]] -name = "document-features" -version = "0.2.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb6969eaabd2421f8a2775cfd2471a2b634372b4a25d41e3bd647b79912850a0" -dependencies = [ - "litrs", -] - [[package]] name = "dotenvy" version = "0.15.7" @@ -3404,7 +2982,7 @@ version = "0.8.35" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "75030f3c4f45dafd7586dd6780965a8c7e8e285a5ecb86713e63a79c5b2766f3" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", ] [[package]] @@ -3456,19 +3034,6 @@ dependencies = [ "regex", ] -[[package]] -name = "env_logger" -version = "0.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a19187fea3ac7e84da7dacf48de0c45d63c6a76f9490dae389aead16c243fce3" -dependencies = [ - "atty", - "humantime", - "log", - "regex", - "termcolor", -] - [[package]] name = "equivalent" version = "1.0.1" @@ -3538,7 +3103,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "74fef4569247a5f429d9156b9d0a2599914385dd189c539334c625d8099d90ab" dependencies = [ "futures-core", - "nom 7.1.3", + "nom", "pin-project-lite", ] @@ -3581,7 +3146,7 @@ version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "531e46835a22af56d1e3b66f04844bed63158bc094a628bec1d321d9b4c44bf2" dependencies = [ - "bit-set 0.5.3", + "bit-set", "regex-automata 0.4.9", "regex-syntax 0.8.5", ] @@ -3623,34 +3188,10 @@ dependencies = [ name = "ff" version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d013fc25338cc558c5c2cfbad646908fb23591e2404481826742b651c9af7160" -dependencies = [ - "rand_core 0.6.4", - "subtle", -] - -[[package]] -name = "ffmpeg-next" -version = "7.1.0" -source = "git+https://github.com/CapSoftware/rust-ffmpeg?rev=91b29d09a8c7cb4f5659c38f1f0924b980a30cba#91b29d09a8c7cb4f5659c38f1f0924b980a30cba" -dependencies = [ - "bitflags 2.6.0", - "ffmpeg-sys-next", - "libc", -] - -[[package]] -name = "ffmpeg-sys-next" -version = "7.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2bc3234d0a4b2f7d083699d0860c6c9dd83713908771b60f94a96f8704adfe45" +checksum = "d013fc25338cc558c5c2cfbad646908fb23591e2404481826742b651c9af7160" dependencies = [ - "bindgen 0.70.1", - "cc", - "libc", - "num_cpus", - "pkg-config", - "vcpkg", + "rand_core 0.6.4", + "subtle", ] [[package]] @@ -3669,7 +3210,7 @@ version = "0.2.25" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "35c0522e981e68cbfa8c3f978441a5f34b30b96e146b33cd3359176b50fe8586" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "libc", "libredox", "windows-sys 0.59.0", @@ -3703,31 +3244,6 @@ dependencies = [ "miniz_oxide", ] -[[package]] -name = "flume" -version = "0.10.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1657b4441c3403d9f7b3409e47575237dac27b1b5726df654a6ecbf92f0f7577" -dependencies = [ - "futures-core", - "futures-sink", - "nanorand", - "pin-project", - "spin 0.9.8", -] - -[[package]] -name = "flume" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da0e4dd2a88388a1f4ccc7c9ce104604dab68d9f408dc34cd45823d5a9069095" -dependencies = [ - "futures-core", - "futures-sink", - "nanorand", - "spin 0.9.8", -] - [[package]] name = "fnv" version = "1.0.7" @@ -4172,7 +3688,7 @@ version = "0.1.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "libc", "wasi 0.9.0+wasi-snapshot-preview1", ] @@ -4183,7 +3699,7 @@ version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "js-sys", "libc", "wasi 0.11.0+wasi-snapshot-preview1", @@ -4238,17 +3754,6 @@ dependencies = [ "winapi", ] -[[package]] -name = "gl_generator" -version = "0.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a95dfc23a2b4a9a2f5ab41d194f8bfda3cabec42af4e39f08c339eb2a0c124d" -dependencies = [ - "khronos_api", - "log", - "xml-rs", -] - [[package]] name = "glib" version = "0.18.5" @@ -4319,27 +3824,6 @@ dependencies = [ "x11-dl", ] -[[package]] -name = "glow" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd348e04c43b32574f2de31c8bb397d96c9fcfa1371bd4ca6d8bdc464ab121b1" -dependencies = [ - "js-sys", - "slotmap", - "wasm-bindgen", - "web-sys", -] - -[[package]] -name = "glutin_wgl_sys" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a4e1951bbd9434a81aa496fe59ccc2235af3820d27b85f9314e279609211e2c" -dependencies = [ - "gl_generator", -] - [[package]] name = "gobject-sys" version = "0.18.0" @@ -4386,58 +3870,6 @@ dependencies = [ "yup-oauth2", ] -[[package]] -name = "gpu-alloc" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbcd2dba93594b227a1f57ee09b8b9da8892c34d55aa332e034a228d0fe6a171" -dependencies = [ - "bitflags 2.6.0", - "gpu-alloc-types", -] - -[[package]] -name = "gpu-alloc-types" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98ff03b468aa837d70984d55f5d3f846f6ec31fe34bbb97c4f85219caeee1ca4" -dependencies = [ - "bitflags 2.6.0", -] - -[[package]] -name = "gpu-allocator" -version = "0.26.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdd4240fc91d3433d5e5b0fc5b67672d771850dc19bbee03c1381e19322803d7" -dependencies = [ - "log", - "presser", - "thiserror 1.0.69", - "winapi", - "windows 0.52.0", -] - -[[package]] -name = "gpu-descriptor" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcf29e94d6d243368b7a56caa16bc213e4f9f8ed38c4d9557069527b5d5281ca" -dependencies = [ - "bitflags 2.6.0", - "gpu-descriptor-types", - "hashbrown 0.15.2", -] - -[[package]] -name = "gpu-descriptor-types" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdf242682df893b86f33a73828fb09ca4b2d3bb6cc95249707fc684d27484b91" -dependencies = [ - "bitflags 2.6.0", -] - [[package]] name = "group" version = "0.12.1" @@ -4546,7 +3978,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6dd08c532ae367adf81c312a4580bc67f1d0fe8bc9c460520283f4c0ff277888" dependencies = [ "bytemuck", - "cfg-if 1.0.0", + "cfg-if", "crunchy", "num-traits", "rand 0.8.5", @@ -4601,21 +4033,6 @@ dependencies = [ "hashbrown 0.14.5", ] -[[package]] -name = "hassle-rs" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af2a7e73e1f34c48da31fb668a907f250794837e08faa144fd24f0b8b741e890" -dependencies = [ - "bitflags 2.6.0", - "com", - "libc", - "libloading 0.8.6", - "thiserror 1.0.69", - "widestring", - "winapi", -] - [[package]] name = "headers" version = "0.3.9" @@ -4666,15 +4083,6 @@ version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" -[[package]] -name = "hermit-abi" -version = "0.1.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" -dependencies = [ - "libc", -] - [[package]] name = "hermit-abi" version = "0.3.9" @@ -4693,12 +4101,6 @@ version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" -[[package]] -name = "hexf-parse" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfa686283ad6dd069f105e5ab091b04c62850d3e4cf5d67debad1933f55023df" - [[package]] name = "hf-hub" version = "0.3.2" @@ -4739,7 +4141,7 @@ name = "host" version = "0.1.0" dependencies = [ "mac_address", - "sysinfo 0.33.1", + "sysinfo", ] [[package]] @@ -4748,7 +4150,7 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f9c7c7c8ac16c798734b8a24560c1362120597c40d5e1459f09498f8f6c8f2ba" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "libc", "windows 0.52.0", ] @@ -4874,12 +4276,6 @@ version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" -[[package]] -name = "humantime" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" - [[package]] name = "hyper" version = "0.14.32" @@ -5057,7 +4453,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "235e081f3925a06703c2d0117ea8b91f042756fd6e7a6e5d901e8ca1a996b220" dependencies = [ "android_system_properties", - "core-foundation-sys 0.8.7", + "core-foundation-sys", "iana-time-zone-haiku", "js-sys", "wasm-bindgen", @@ -5197,7 +4593,7 @@ version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e0242819d153cba4b4b05a5a8f2a7e9bbf97b6055b2a002b395c96b5ff3c0222" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "js-sys", "wasm-bindgen", "web-sys", @@ -5306,7 +4702,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1a87aa2bb7d2af34197c04845522473242e1aa17c12f4935d5856491a7fb8c97" dependencies = [ "cesu8", - "cfg-if 1.0.0", + "cfg-if", "combine", "jni-sys", "log", @@ -5521,23 +4917,6 @@ dependencies = [ "unicode-segmentation", ] -[[package]] -name = "khronos-egl" -version = "6.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6aae1df220ece3c0ada96b8153459b67eebe9ae9212258bb0134ae60416fdf76" -dependencies = [ - "libc", - "libloading 0.8.6", - "pkg-config", -] - -[[package]] -name = "khronos_api" -version = "3.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2db585e1d738fc771bf08a151420d3ed193d9d895a36df7f6f8a9456b911ddc" - [[package]] name = "kuchikiki" version = "0.8.2" @@ -5610,22 +4989,13 @@ version = "0.2.169" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a" -[[package]] -name = "libdbus-sys" -version = "0.2.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06085512b750d640299b79be4bad3d2fa90a9c00b1fd9e1b46364f66f0485c72" -dependencies = [ - "pkg-config", -] - [[package]] name = "libloading" version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "winapi", ] @@ -5635,7 +5005,7 @@ version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fc2f4eb4bc735547cfed7c0a4922cbd04a4655978c09b54f1f7b228750664c34" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "windows-targets 0.52.6", ] @@ -5656,34 +5026,6 @@ dependencies = [ "redox_syscall 0.5.8", ] -[[package]] -name = "libspa" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65f3a4b81b2a2d8c7f300643676202debd1b7c929dbf5c9bb89402ea11d19810" -dependencies = [ - "bitflags 2.6.0", - "cc", - "convert_case 0.6.0", - "cookie-factory", - "libc", - "libspa-sys", - "nix 0.27.1", - "nom 7.1.3", - "system-deps", -] - -[[package]] -name = "libspa-sys" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf0d9716420364790e85cbb9d3ac2c950bde16a7dd36f3209b7dfdfc4a24d01f" -dependencies = [ - "bindgen 0.69.5", - "cc", - "system-deps", -] - [[package]] name = "libsql" version = "0.6.0" @@ -5822,12 +5164,6 @@ version = "0.4.14" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89" -[[package]] -name = "litrs" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4ce301924b7887e9d637144fdade93f9dfff9b60981d4ac161db09720d39aa5" - [[package]] name = "llm" version = "0.1.0" @@ -5995,7 +5331,7 @@ version = "0.10.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d89e7ee0cfbedfc4da3340218492196241d89eefb6dab27de5df917a6d2e78cf" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "digest", ] @@ -6024,21 +5360,6 @@ dependencies = [ "autocfg", ] -[[package]] -name = "metal" -version = "0.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e198a0ee42bdbe9ef2c09d0b9426f3b2b47d90d93a4a9b0395c4cea605e92dc0" -dependencies = [ - "bitflags 1.3.2", - "block", - "cocoa 0.20.2", - "core-graphics 0.19.2", - "foreign-types 0.3.2", - "log", - "objc", -] - [[package]] name = "metal" version = "0.27.0" @@ -6151,31 +5472,6 @@ dependencies = [ "syn 2.0.92", ] -[[package]] -name = "mozjpeg" -version = "0.10.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1d4203b31d5e3069059a88657add5d88da8fac3288a6442dc7e2a7131f2cce3" -dependencies = [ - "arrayvec", - "bytemuck", - "libc", - "mozjpeg-sys", - "rgb", -] - -[[package]] -name = "mozjpeg-sys" -version = "2.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "27e31c0171e0b1158c0dfb7386dbdf999f4a9afaa83fd68de39c7929f4d5c16f" -dependencies = [ - "cc", - "dunce", - "libc", - "nasm-rs", -] - [[package]] name = "muda" version = "0.15.3" @@ -6219,45 +5515,6 @@ version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "defc4c55412d89136f966bbb339008b474350e5e6e78d2714439c386b3137a03" -[[package]] -name = "naga" -version = "22.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8bd5a652b6faf21496f2cfd88fc49989c8db0825d1f6746b1a71a6ede24a63ad" -dependencies = [ - "arrayvec", - "bit-set 0.6.0", - "bitflags 2.6.0", - "cfg_aliases 0.1.1", - "codespan-reporting", - "hexf-parse", - "indexmap 2.7.0", - "log", - "rustc-hash 1.1.0", - "spirv", - "termcolor", - "thiserror 1.0.69", - "unicode-xid", -] - -[[package]] -name = "nanorand" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a51313c5820b0b02bd422f4b44776fbf47961755c74ce64afc73bfad10226c3" -dependencies = [ - "getrandom 0.2.15", -] - -[[package]] -name = "nasm-rs" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12fcfa1bd49e0342ec1d07ed2be83b59963e7acbeb9310e1bb2c07b69dadd959" -dependencies = [ - "jobserver", -] - [[package]] name = "native-tls" version = "0.2.12" @@ -6370,7 +5627,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2eb04e9c688eff1c89d72b407f168cf79bb9e867a9d3323ed6c01519eb9cc053" dependencies = [ "bitflags 2.6.0", - "cfg-if 1.0.0", + "cfg-if", "libc", "memoffset", ] @@ -6382,7 +5639,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ab2156c4fce2f8df6c499cc1c763e4394b7482525bf2a9701c9d79d215f519e4" dependencies = [ "bitflags 2.6.0", - "cfg-if 1.0.0", + "cfg-if", "cfg_aliases 0.1.1", "libc", "memoffset", @@ -6394,79 +5651,6 @@ version = "0.1.14" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "72ef4a56884ca558e5ddb05a1d1e7e1bfd9a68d9ed024c21704cc98872dae1bb" -[[package]] -name = "nokhwa" -version = "0.10.3" -source = "git+https://github.com/CapSoftware/nokhwa?rev=0d3d1f30a78b#0d3d1f30a78bb4616b4a4d0939a29ad0c1a8e14f" -dependencies = [ - "flume 0.10.14", - "image 0.24.9", - "nokhwa-bindings-linux", - "nokhwa-bindings-macos", - "nokhwa-bindings-windows", - "nokhwa-core", - "paste", - "serde", - "thiserror 1.0.69", -] - -[[package]] -name = "nokhwa-bindings-linux" -version = "0.1.0" -source = "git+https://github.com/CapSoftware/nokhwa?rev=0d3d1f30a78b#0d3d1f30a78bb4616b4a4d0939a29ad0c1a8e14f" -dependencies = [ - "nokhwa-core", - "v4l", - "v4l2-sys-mit", -] - -[[package]] -name = "nokhwa-bindings-macos" -version = "0.2.0" -source = "git+https://github.com/CapSoftware/nokhwa?rev=0d3d1f30a78b#0d3d1f30a78bb4616b4a4d0939a29ad0c1a8e14f" -dependencies = [ - "block", - "cocoa-foundation 0.1.2", - "core-media-sys", - "core-video-sys", - "flume 0.10.14", - "nokhwa-core", - "objc", - "once_cell", -] - -[[package]] -name = "nokhwa-bindings-windows" -version = "0.4.0" -source = "git+https://github.com/CapSoftware/nokhwa?rev=0d3d1f30a78b#0d3d1f30a78bb4616b4a4d0939a29ad0c1a8e14f" -dependencies = [ - "nokhwa-core", - "once_cell", - "windows 0.43.0", -] - -[[package]] -name = "nokhwa-core" -version = "0.1.0" -source = "git+https://github.com/CapSoftware/nokhwa?rev=0d3d1f30a78b#0d3d1f30a78bb4616b4a4d0939a29ad0c1a8e14f" -dependencies = [ - "bytes", - "image 0.24.9", - "mozjpeg", - "serde", - "thiserror 1.0.69", -] - -[[package]] -name = "nom" -version = "5.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08959a387a676302eebf4ddbcbc611da04285579f76f88ee0506c63b1a61dd4b" -dependencies = [ - "memchr", - "version_check", -] - [[package]] name = "nom" version = "7.1.3" @@ -7029,7 +6213,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6174bc48f102d208783c2c84bf931bb75927a617866870de8a4ea85597f871f5" dependencies = [ "bitflags 2.6.0", - "cfg-if 1.0.0", + "cfg-if", "foreign-types 0.3.2", "libc", "once_cell", @@ -7286,7 +6470,7 @@ version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "60a2cfe6f0ad2bfc16aefa463b497d5c7a5ecd44a23efa72aa342d90177356dc" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "instant", "libc", "redox_syscall 0.2.16", @@ -7300,7 +6484,7 @@ version = "0.9.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "libc", "redox_syscall 0.5.8", "smallvec", @@ -7568,34 +6752,6 @@ dependencies = [ "futures-io", ] -[[package]] -name = "pipewire" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08e645ba5c45109106d56610b3ee60eb13a6f2beb8b74f8dc8186cf261788dda" -dependencies = [ - "anyhow", - "bitflags 2.6.0", - "libc", - "libspa", - "libspa-sys", - "nix 0.27.1", - "once_cell", - "pipewire-sys", - "thiserror 1.0.69", -] - -[[package]] -name = "pipewire-sys" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "849e188f90b1dda88fe2bfe1ad31fe5f158af2c98f80fb5d13726c44f3f01112" -dependencies = [ - "bindgen 0.69.5", - "libspa-sys", - "system-deps", -] - [[package]] name = "pkcs8" version = "0.9.0" @@ -7644,7 +6800,7 @@ version = "3.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a604568c3202727d1507653cb121dbd627a58684eb09a820fd746bee38b4442f" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "concurrent-queue", "hermit-abi 0.4.0", "pin-project-lite", @@ -7713,12 +6869,6 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c" -[[package]] -name = "presser" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8cf8e6a8aa66ce33f63993ffc4ea4271eb5b0530a9002db8455ea6050c77bfa" - [[package]] name = "prettyplease" version = "0.2.25" @@ -7797,12 +6947,6 @@ dependencies = [ "unicode-ident", ] -[[package]] -name = "profiling" -version = "1.0.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "afbdc74edc00b6f6a218ca6a5364d6226a259d4b8ea1af4a0ea063f27e179f4d" - [[package]] name = "prost" version = "0.12.6" @@ -8113,12 +7257,6 @@ dependencies = [ "rand_core 0.5.1", ] -[[package]] -name = "range-alloc" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c8a99fddc9f0ba0a85884b8d14e3592853e787d581ca1816c91349b10e4eeab" - [[package]] name = "raw-cpuid" version = "10.7.0" @@ -8294,12 +7432,6 @@ dependencies = [ "bytecheck", ] -[[package]] -name = "renderdoc-sys" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19b30a45b0cd0bcca8037f3d0dc3421eaf95327a17cad11964fb8179b4fc4832" - [[package]] name = "reqwest" version = "0.11.27" @@ -8422,7 +7554,7 @@ dependencies = [ "futures-core", "futures-timer", "mime", - "nom 7.1.3", + "nom", "pin-project-lite", "reqwest 0.12.11", "thiserror 1.0.69", @@ -8527,15 +7659,6 @@ dependencies = [ "windows-sys 0.48.0", ] -[[package]] -name = "rgb" -version = "0.8.50" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57397d16646700483b67d2dd6511d79318f9d057fdbd21a4066aeac8b41d310a" -dependencies = [ - "bytemuck", -] - [[package]] name = "ring" version = "0.16.20" @@ -8558,7 +7681,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d" dependencies = [ "cc", - "cfg-if 1.0.0", + "cfg-if", "getrandom 0.2.15", "libc", "spin 0.9.8", @@ -8566,16 +7689,6 @@ dependencies = [ "windows-sys 0.52.0", ] -[[package]] -name = "ringbuf" -version = "0.4.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "726bb493fe9cac765e8f96a144c3a8396bdf766dedad22e504b70b908dcbceb4" -dependencies = [ - "crossbeam-utils", - "portable-atomic", -] - [[package]] name = "rkyv" version = "0.7.45" @@ -8659,7 +7772,7 @@ version = "0.21.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4e310ef0e1b6eeb79169a1171daf9abcb87a2e17c03bee2c4bb100b55c75409f" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "ordered-multimap", "trim-in-place", ] @@ -8939,25 +8052,6 @@ dependencies = [ "winapi-util", ] -[[package]] -name = "scap" -version = "0.0.7" -source = "git+https://github.com/CapSoftware/scap?rev=58d4410bf52f#58d4410bf52fb8033be99dcc62a27369a4cbaf32" -dependencies = [ - "cocoa 0.25.0", - "core-graphics-helmer-fork", - "dbus", - "objc", - "pipewire", - "rand 0.8.5", - "screencapturekit", - "screencapturekit-sys", - "sysinfo 0.30.13", - "tao-core-video-sys", - "windows 0.58.0", - "windows-capture", -] - [[package]] name = "scc" version = "2.3.0" @@ -9042,29 +8136,6 @@ version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" -[[package]] -name = "screencapturekit" -version = "0.2.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a5eeeb57ac94960cfe5ff4c402be6585ae4c8d29a2cf41b276048c2e849d64e" -dependencies = [ - "screencapturekit-sys", -] - -[[package]] -name = "screencapturekit-sys" -version = "0.2.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22411b57f7d49e7fe08025198813ee6fd65e1ee5eff4ebc7880c12c82bde4c60" -dependencies = [ - "block", - "dispatch", - "objc", - "objc-foundation", - "objc_id", - "once_cell", -] - [[package]] name = "sct" version = "0.7.1" @@ -9119,7 +8190,7 @@ checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02" dependencies = [ "bitflags 2.6.0", "core-foundation 0.9.4", - "core-foundation-sys 0.8.7", + "core-foundation-sys", "libc", "security-framework-sys", ] @@ -9132,7 +8203,7 @@ checksum = "81d3f8c9bfcc3cbb6b0179eb57042d75b1582bdc65c3cb95f3fa999509c03cbc" dependencies = [ "bitflags 2.6.0", "core-foundation 0.10.0", - "core-foundation-sys 0.8.7", + "core-foundation-sys", "libc", "security-framework-sys", ] @@ -9143,7 +8214,7 @@ version = "2.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1863fd3768cd83c56a7f60faa4dc0d403f1b6df0a38c3c25f44b7894e45370d5" dependencies = [ - "core-foundation-sys 0.8.7", + "core-foundation-sys", "libc", ] @@ -9579,7 +8650,7 @@ version = "0.10.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "cpufeatures", "digest", ] @@ -9590,7 +8661,7 @@ version = "0.10.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "cpufeatures", "digest", ] @@ -9627,12 +8698,6 @@ dependencies = [ "windows-sys 0.59.0", ] -[[package]] -name = "shlex" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fdf1b9db47230893d76faad238fd6097fd6d6a9245cd7a4d90dbd639536bbd2" - [[package]] name = "shlex" version = "1.3.0" @@ -9846,15 +8911,6 @@ dependencies = [ "autocfg", ] -[[package]] -name = "slotmap" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbff4acf519f630b3a3ddcfaea6c06b42174d9a44bc70c620e9ed1649d58b82a" -dependencies = [ - "version_check", -] - [[package]] name = "smallvec" version = "1.13.2" @@ -9910,7 +8966,7 @@ checksum = "18051cdd562e792cad055119e0cdb2cfc137e44e3987532e0f9659a77931bb08" dependencies = [ "bytemuck", "cfg_aliases 0.2.1", - "core-graphics 0.24.0", + "core-graphics", "foreign-types 0.5.0", "js-sys", "log", @@ -10021,15 +9077,6 @@ dependencies = [ "lock_api", ] -[[package]] -name = "spirv" -version = "0.3.0+sdk-1.3.268.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eda41003dc44290527a59b13432d4a0379379fa074b70174882adfbdfd917844" -dependencies = [ - "bitflags 2.6.0", -] - [[package]] name = "spki" version = "0.6.0" @@ -10047,7 +9094,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5851699c4033c63636f7ea4cf7b7c1f1bf06d0cc03cfb42e711de5a5c46cf326" dependencies = [ "base64 0.13.1", - "nom 7.1.3", + "nom", "serde", "unicode-segmentation", ] @@ -10102,12 +9149,6 @@ dependencies = [ "quote", ] -[[package]] -name = "strsim" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a" - [[package]] name = "strsim" version = "0.11.1" @@ -10311,28 +9352,13 @@ dependencies = [ "walkdir", ] -[[package]] -name = "sysinfo" -version = "0.30.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a5b4ddaee55fb2bea2bf0e5000747e5f5c0de765e5a5ff87f4cd106439f4bb3" -dependencies = [ - "cfg-if 1.0.0", - "core-foundation-sys 0.8.7", - "libc", - "ntapi", - "once_cell", - "rayon", - "windows 0.52.0", -] - [[package]] name = "sysinfo" version = "0.33.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4fc858248ea01b66f19d8e8a6d55f41deaf91e9d495246fd01368d99935c6c01" dependencies = [ - "core-foundation-sys 0.8.7", + "core-foundation-sys", "libc", "memchr", "ntapi", @@ -10368,7 +9394,7 @@ version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a75fb188eb626b924683e3b95e3a48e63551fcfb51949de2f06a9d91dbee93c9" dependencies = [ - "core-foundation-sys 0.8.7", + "core-foundation-sys", "libc", ] @@ -10378,7 +9404,7 @@ version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8e1d1b10ced5ca923a1fcb8d03e96b8d3268065d724548c0211415ff6ac6bac4" dependencies = [ - "core-foundation-sys 0.8.7", + "core-foundation-sys", "libc", ] @@ -10402,9 +9428,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6682a07cf5bab0b8a2bd20d0a542917ab928b5edb75ebd4eda6b05cbaab872da" dependencies = [ "bitflags 2.6.0", - "cocoa 0.26.0", + "cocoa", "core-foundation 0.10.0", - "core-graphics 0.24.0", + "core-graphics", "crossbeam-channel", "dispatch", "dlopen2", @@ -10434,18 +9460,6 @@ dependencies = [ "x11-dl", ] -[[package]] -name = "tao-core-video-sys" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "271450eb289cb4d8d0720c6ce70c72c8c858c93dd61fc625881616752e6b98f6" -dependencies = [ - "cfg-if 1.0.0", - "core-foundation-sys 0.8.7", - "libc", - "objc", -] - [[package]] name = "tao-macros" version = "0.1.3" @@ -10719,7 +9733,7 @@ checksum = "eddd784c138c08a43954bc3e735402e6b2b2ee8d8c254a7391f4e77c01273dd5" dependencies = [ "android_logger", "byte-unit", - "cocoa 0.26.0", + "cocoa", "fern", "log", "objc", @@ -10987,7 +10001,7 @@ version = "3.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "28cce251fcbc87fac86a866eeb0d6c2d536fc16d06f184bb61aeae11aa4cee0c" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "fastrand 2.3.0", "once_cell", "rustix", @@ -11005,24 +10019,6 @@ dependencies = [ "utf-8", ] -[[package]] -name = "termcolor" -version = "1.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755" -dependencies = [ - "winapi-util", -] - -[[package]] -name = "textwrap" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060" -dependencies = [ - "unicode-width 0.1.14", -] - [[package]] name = "thin-slice" version = "0.1.1" @@ -11075,7 +10071,7 @@ version = "1.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "once_cell", ] @@ -11130,7 +10126,7 @@ version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "733bc522e97980eb421cbf381160ff225bd14262a48a739110f6653c6258d625" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "parse-zoneinfo", "phf 0.11.2", "phf_codegen 0.11.2", @@ -11724,7 +10720,7 @@ version = "0.19.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d48a05076dd272615d03033bf04f480199f7d1b66a8ac64d75c625fc4a70c06b" dependencies = [ - "core-graphics 0.24.0", + "core-graphics", "crossbeam-channel", "dirs 5.0.1", "libappindicator", @@ -12004,12 +11000,6 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1fc81956842c57dac11422a97c3b8195a1ff727f06e85c84ed2e8aa277c9a0fd" -[[package]] -name = "unicode-xid" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" - [[package]] name = "unicode_categories" version = "0.1.1" @@ -12109,26 +11099,6 @@ dependencies = [ "serde", ] -[[package]] -name = "v4l" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd9946a2fda19c7a729dc72e28b9fd9c653e9b7de954ffe3aecaf51977f88762" -dependencies = [ - "bitflags 1.3.2", - "libc", - "v4l2-sys-mit", -] - -[[package]] -name = "v4l2-sys-mit" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0c932c06df4af1dfb229f604214f2a87993784596ff33ffdadcba1b5519254e" -dependencies = [ - "bindgen 0.56.0", -] - [[package]] name = "valuable" version = "0.1.0" @@ -12147,12 +11117,6 @@ version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" -[[package]] -name = "vec_map" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191" - [[package]] name = "version-compare" version = "0.2.0" @@ -12234,7 +11198,7 @@ version = "0.2.99" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a474f6281d1d70c17ae7aa6a613c87fce69a127e2624002df63dcb39d6cf6396" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "once_cell", "wasm-bindgen-macro", ] @@ -12259,7 +11223,7 @@ version = "0.4.49" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "38176d9b44ea84e9184eff0bc34cc167ed044f816accfe5922e54d84cf48eca2" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "js-sys", "once_cell", "wasm-bindgen", @@ -12514,121 +11478,6 @@ version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "53a85b86a771b1c87058196170769dd264f66c0782acf1ae6cc51bfd64b39082" -[[package]] -name = "wgpu" -version = "22.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1d1c4ba43f80542cf63a0a6ed3134629ae73e8ab51e4b765a67f3aa062eb433" -dependencies = [ - "arrayvec", - "cfg_aliases 0.1.1", - "document-features", - "js-sys", - "log", - "naga", - "parking_lot 0.12.3", - "profiling", - "raw-window-handle", - "smallvec", - "static_assertions", - "wasm-bindgen", - "wasm-bindgen-futures", - "web-sys", - "wgpu-core", - "wgpu-hal", - "wgpu-types", -] - -[[package]] -name = "wgpu-core" -version = "22.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0348c840d1051b8e86c3bcd31206080c5e71e5933dabd79be1ce732b0b2f089a" -dependencies = [ - "arrayvec", - "bit-vec 0.7.0", - "bitflags 2.6.0", - "cfg_aliases 0.1.1", - "document-features", - "indexmap 2.7.0", - "log", - "naga", - "once_cell", - "parking_lot 0.12.3", - "profiling", - "raw-window-handle", - "rustc-hash 1.1.0", - "smallvec", - "thiserror 1.0.69", - "wgpu-hal", - "wgpu-types", -] - -[[package]] -name = "wgpu-hal" -version = "22.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6bbf4b4de8b2a83c0401d9e5ae0080a2792055f25859a02bf9be97952bbed4f" -dependencies = [ - "android_system_properties", - "arrayvec", - "ash", - "bit-set 0.6.0", - "bitflags 2.6.0", - "block", - "cfg_aliases 0.1.1", - "core-graphics-types 0.1.3", - "d3d12", - "glow", - "glutin_wgl_sys", - "gpu-alloc", - "gpu-allocator", - "gpu-descriptor", - "hassle-rs", - "js-sys", - "khronos-egl", - "libc", - "libloading 0.8.6", - "log", - "metal 0.29.0", - "naga", - "ndk-sys 0.5.0+25.2.9519653", - "objc", - "once_cell", - "parking_lot 0.12.3", - "profiling", - "range-alloc", - "raw-window-handle", - "renderdoc-sys", - "rustc-hash 1.1.0", - "smallvec", - "thiserror 1.0.69", - "wasm-bindgen", - "web-sys", - "wgpu-types", - "winapi", -] - -[[package]] -name = "wgpu-types" -version = "22.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc9d91f0e2c4b51434dfa6db77846f2793149d8e73f800fa2e41f52b8eac3c5d" -dependencies = [ - "bitflags 2.6.0", - "js-sys", - "web-sys", -] - -[[package]] -name = "which" -version = "3.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d011071ae14a2f6671d0b74080ae0cd8ebf3a6f8c9589a2cd45f23126fe29724" -dependencies = [ - "libc", -] - [[package]] name = "which" version = "4.4.2" @@ -12641,12 +11490,6 @@ dependencies = [ "rustix", ] -[[package]] -name = "widestring" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7219d36b6eac893fa81e84ebe06485e7dcbb616177469b142df14f1f4deb1311" - [[package]] name = "winapi" version = "0.3.9" @@ -12692,21 +11535,6 @@ dependencies = [ "windows-version", ] -[[package]] -name = "windows" -version = "0.43.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04662ed0e3e5630dfa9b26e4cb823b817f1a9addda855d973a9458c236556244" -dependencies = [ - "windows_aarch64_gnullvm 0.42.2", - "windows_aarch64_msvc 0.42.2", - "windows_i686_gnu 0.42.2", - "windows_i686_msvc 0.42.2", - "windows_x86_64_gnu 0.42.2", - "windows_x86_64_gnullvm 0.42.2", - "windows_x86_64_msvc 0.42.2", -] - [[package]] name = "windows" version = "0.52.0" @@ -12747,18 +11575,6 @@ dependencies = [ "windows-targets 0.52.6", ] -[[package]] -name = "windows-capture" -version = "1.3.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5cc0a71a6b97b2fb0643c0655e19b8fa4a78c768bf5b2acfdaf453873e53ad4e" -dependencies = [ - "parking_lot 0.12.3", - "rayon", - "thiserror 1.0.69", - "windows 0.58.0", -] - [[package]] name = "windows-core" version = "0.52.0" @@ -13153,7 +11969,7 @@ version = "0.50.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "524e57b2c537c0f9b1e69f1965311ec12182b4122e45035b1508cd24d2adadb1" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "windows-sys 0.48.0", ] @@ -13163,7 +11979,7 @@ version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a277a57398d4bfa075df44f501a17cfdf8542d224f0d36095a2adc7aee4ef0a5" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "windows-sys 0.48.0", ] @@ -13273,15 +12089,6 @@ version = "0.13.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "66fee0b777b0f5ac1c69bb06d361268faafa61cd4682ae064a171c16c433e9e4" -[[package]] -name = "yansi-term" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe5c30ade05e61656247b2e334a031dfd0cc466fadef865bdcdea8d537951bf1" -dependencies = [ - "winapi", -] - [[package]] name = "yoke" version = "0.7.5" diff --git a/Cargo.toml b/Cargo.toml index c8abbb83ce..cbe7ff6073 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -37,7 +37,6 @@ tauri-specta = "2.0.0-rc.20" specta-typescript = "0.0.7" specta-util = "0.0.7" -cap-media = { git = "https://github.com/CapSoftware/Cap", tag = "cap-v0.3.4" } cpal = "0.15.3" rodio = "0.20.1" hound = "3.5.1" diff --git a/README.md b/README.md index c4e25424ed..ab9b43ad14 100644 --- a/README.md +++ b/README.md @@ -1,3 +1 @@ # Hypr - -A note taking app built with Tauri and React. diff --git a/apps/desktop/lingui.config.js b/apps/desktop/lingui.config.js new file mode 100644 index 0000000000..7cf4255ece --- /dev/null +++ b/apps/desktop/lingui.config.js @@ -0,0 +1,12 @@ +import { defineConfig } from "@lingui/cli"; + +export default defineConfig({ + sourceLocale: "en", + locales: ["ko", "en"], + catalogs: [ + { + path: "/src/locales/{locale}/messages", + include: ["src"], + }, + ], +}); diff --git a/apps/desktop/package.json b/apps/desktop/package.json index 597bb90cf0..7802940a40 100644 --- a/apps/desktop/package.json +++ b/apps/desktop/package.json @@ -11,61 +11,59 @@ "format": "prettier --write ." }, "dependencies": { - "@radix-ui/react-dialog": "^1.1.3", - "@radix-ui/react-dropdown-menu": "^2.1.3", + "@lingui/core": "^5.1.2", + "@lingui/react": "^5.1.2", + "@radix-ui/react-dialog": "^1.1.4", "@radix-ui/react-form": "^0.1.1", - "@radix-ui/react-label": "^2.1.1", - "@radix-ui/react-menubar": "^1.1.3", "@radix-ui/react-radio-group": "^1.2.2", - "@radix-ui/react-scroll-area": "^1.2.2", - "@radix-ui/react-select": "^2.1.3", + "@radix-ui/react-select": "^2.1.4", "@radix-ui/react-switch": "^1.1.2", "@radix-ui/react-tabs": "^1.1.2", - "@remixicon/react": "^4.5.0", - "@tauri-apps/api": "^2", + "@remixicon/react": "^4.6.0", + "@tanstack/react-query": "^5.62.11", + "@tanstack/react-router": "^1.92.11", + "@tauri-apps/api": "^2.1.1", "@tauri-apps/plugin-dialog": "^2.2.0", - "@tauri-apps/plugin-fs": "^2.0.3", + "@tauri-apps/plugin-fs": "^2.2.0", "@tauri-apps/plugin-log": "^2.2.0", "@tauri-apps/plugin-shell": "^2.2.0", - "@tauri-apps/plugin-updater": "^2.0.0", - "@tiptap/extension-highlight": "^2.10.3", - "@tiptap/extension-placeholder": "^2.10.3", - "@tiptap/extension-typography": "^2.10.3", - "@tiptap/pm": "^2.10.3", - "@tiptap/react": "^2.10.3", - "@tiptap/starter-kit": "^2.10.3", - "class-variance-authority": "^0.7.1", + "@tauri-apps/plugin-updater": "^2.3.0", + "@tiptap/extension-highlight": "^2.10.4", + "@tiptap/extension-placeholder": "^2.10.4", + "@tiptap/extension-typography": "^2.10.4", + "@tiptap/pm": "^2.10.4", + "@tiptap/react": "^2.10.4", + "@tiptap/starter-kit": "^2.10.4", "clsx": "^2.1.1", "cmdk": "^1.0.4", - "date-fns": "^4.1.0", "embla-carousel": "^8.5.1", "embla-carousel-react": "^8.5.1", "framer-motion": "^11.15.0", - "i18next": "^24.1.2", - "lucide-react": "^0.468.0", - "react": "^18.2.0", - "react-dom": "^18.2.0", - "react-i18next": "^15.2.0", + "i18next": "^24.2.0", + "react": "^18.3.1", + "react-dom": "^18.3.1", + "react-i18next": "^15.3.0", "react-resizable-panels": "^2.1.7", - "react-router": "^7.0.2", - "tailwind-merge": "^2.5.5", + "tailwind-merge": "^2.6.0", "tailwindcss-animate": "^1.0.7", "zustand": "^5.0.2" }, "devDependencies": { - "@tailwindcss/typography": "^0.5.15", - "@tauri-apps/cli": "^2", + "@lingui/babel-plugin-lingui-macro": "^5.1.2", + "@lingui/vite-plugin": "^5.1.2", + "@tanstack/router-devtools": "^1.92.11", + "@tanstack/router-plugin": "^1.92.11", + "@tauri-apps/cli": "^2.1.0", "@types/node": "^22.10.2", - "@types/react": "^18.2.15", - "@types/react-dom": "^18.2.7", - "@types/react-slick": "^0.23.13", - "@vitejs/plugin-react": "^4.2.1", + "@types/react": "^18.3.18", + "@types/react-dom": "^18.3.5", + "@vitejs/plugin-react": "^4.3.4", "autoprefixer": "^10.4.20", "postcss": "^8.4.49", "prettier": "^3.4.2", "prettier-plugin-tailwindcss": "^0.6.9", - "tailwindcss": "^3.4.16", - "typescript": "^5.2.2", - "vite": "^5.3.1" + "tailwindcss": "^3.4.17", + "typescript": "^5.7.2", + "vite": "^5.4.11" } } diff --git a/apps/desktop/src-tauri/Cargo.toml b/apps/desktop/src-tauri/Cargo.toml index c4eb6dae92..8d06afccd6 100644 --- a/apps/desktop/src-tauri/Cargo.toml +++ b/apps/desktop/src-tauri/Cargo.toml @@ -53,7 +53,3 @@ log = "0.4.22" reqwest = { workspace = true, features = ["json", "stream"] } tokio = { workspace = true, features = ["rt", "macros"] } futures = { workspace = true } - -flume = "0.11.1" -objc = "0.2.7" -cap-media = { workspace = true } diff --git a/apps/desktop/src-tauri/src/lib.rs b/apps/desktop/src-tauri/src/lib.rs index 09f7e48aac..5422600342 100644 --- a/apps/desktop/src-tauri/src/lib.rs +++ b/apps/desktop/src-tauri/src/lib.rs @@ -1,4 +1,3 @@ -use cap_media::feeds::{AudioInputFeed, AudioInputSamplesSender}; use tokio::sync::RwLock; use tauri::{AppHandle, Manager}; @@ -16,8 +15,6 @@ mod tray; pub struct App { handle: AppHandle, - audio_input_feed: Option, - audio_input_tx: AudioInputSamplesSender, cloud_config: hypr_bridge::ClientConfig, } @@ -115,8 +112,6 @@ pub fn run() { }); } - let (audio_input_tx, _audio_input_rx) = AudioInputFeed::create_channel(); - builder // TODO: https://v2.tauri.app/plugin/updater/#building // .plugin(tauri_plugin_updater::Builder::new().build()) @@ -149,8 +144,6 @@ pub fn run() { { app.manage(RwLock::new(App { handle: app.clone(), - audio_input_tx, - audio_input_feed: None, cloud_config, })); } diff --git a/apps/desktop/src-tauri/src/permissions.rs b/apps/desktop/src-tauri/src/permissions.rs index bfdd1e1d0a..874f49d1c9 100644 --- a/apps/desktop/src-tauri/src/permissions.rs +++ b/apps/desktop/src-tauri/src/permissions.rs @@ -74,39 +74,3 @@ impl OSPermissionStatus { pub struct OSPermissionsCheck { pub microphone: OSPermissionStatus, } - -#[tauri::command(async)] -#[specta::specta] -pub fn do_permissions_check(initial_check: bool) -> OSPermissionsCheck { - #[cfg(target_os = "macos")] - { - use cap_media::platform::AVMediaType; - - fn check_av_permission(media_type: AVMediaType) -> OSPermissionStatus { - use cap_media::platform::AVAuthorizationStatus; - use objc::*; - - let cls = objc::class!(AVCaptureDevice); - let status: AVAuthorizationStatus = - unsafe { msg_send![cls, authorizationStatusForMediaType:media_type.into_ns_str()] }; - match status { - AVAuthorizationStatus::NotDetermined => OSPermissionStatus::Empty, - AVAuthorizationStatus::Authorized => OSPermissionStatus::Granted, - _ => OSPermissionStatus::Denied, - } - } - - OSPermissionsCheck { - microphone: check_av_permission(AVMediaType::Audio), - } - } - - #[cfg(not(target_os = "macos"))] - { - OSPermissionsCheck { - microphone: OSPermissionStatus::NotNeeded, - camera: OSPermissionStatus::NotNeeded, - accessibility: OSPermissionStatus::NotNeeded, - } - } -} diff --git a/apps/desktop/src/App.tsx b/apps/desktop/src/App.tsx deleted file mode 100644 index 35c5c61788..0000000000 --- a/apps/desktop/src/App.tsx +++ /dev/null @@ -1,75 +0,0 @@ -import { useEffect } from "react"; -import { BrowserRouter, Routes, Route } from "react-router"; -import { UIProvider } from "./contexts/UIContext"; -import { LanguageProvider } from "./contexts/LanguageContext"; -import "./i18n/config"; -import NavBar from "./components/layout/NavBar"; -import Home from "./pages/Home"; -import Note from "./pages/Note"; -import Login from "./pages/Login"; - -// interface ProtectedRouteProps { -// children: React.ReactNode; -// } - -// const ProtectedRoute = ({ children }: ProtectedRouteProps) => { -// // Replace this with your actual authentication check -// const isAuthenticated = localStorage.getItem("isAuthenticated") === "true"; -// return isAuthenticated ? <>{children} : ; -// }; - -function App() { - useEffect(() => { - const handleKeyDown = (e: KeyboardEvent) => { - const target = e.target as HTMLElement; - if ( - e.key === "Backspace" && - !["INPUT", "TEXTAREA"].includes(target.tagName) && - !(target.getAttribute("contenteditable") === "true") - ) { - e.preventDefault(); - } - }; - - window.addEventListener("keydown", handleKeyDown); - return () => window.removeEventListener("keydown", handleKeyDown); - }, []); - - return ( - - - -
- - } /> - - -
- -
- - } - /> - - -
- -
- - } - /> -
-
-
-
-
- ); -} - -export default App; diff --git a/apps/desktop/src/api/noteApi.ts b/apps/desktop/src/api/noteApi.ts deleted file mode 100644 index 7ca87289e8..0000000000 --- a/apps/desktop/src/api/noteApi.ts +++ /dev/null @@ -1,78 +0,0 @@ -import type { Note } from "../types"; - -export const fetchNote = async (id: string): Promise => { - // Simulate API delay - await new Promise((resolve) => setTimeout(resolve, 500)); - - return { - id, - title: "주간 회의 - 제품 로드맵 논의", - rawMemo: "기존 노트 내용입니다...", - rawTranscript: "회의 전사 내용입니다...", - calendarEvent: { - kind: "calendar#event", - id: "meeting-123", - status: "confirmed", - htmlLink: "https://calendar.google.com/...", - created: new Date().toISOString(), - updated: new Date().toISOString(), - summary: "주간 회의 - 제품 로드맵 논의", - creator: { - email: "user@example.com", - self: true, - }, - organizer: { - email: "user@example.com", - self: true, - }, - start: { - dateTime: new Date(Date.now() - 1000 * 60 * 15).toISOString(), - timeZone: "Asia/Seoul", - }, - end: { - dateTime: new Date(Date.now() + 1000 * 60 * 45).toISOString(), - timeZone: "Asia/Seoul", - }, - hangoutLink: "https://meet.google.com/mock-meeting", - }, - createdAt: new Date().toISOString(), - updatedAt: new Date().toISOString(), - }; -}; - -export const enhanceNoteWithAI = async ( - title: string, - rawMemo: string, - _processedTranscript: Array, -): Promise<{ content: string; suggestedTitle: string | null }> => { - await new Promise((resolve) => setTimeout(resolve, 1000)); - - return { - content: - rawMemo + - "\n\n### AI 보강 내용 ###\n" + - "1. 주요 논의 사항:\n" + - " - 신규 기능 개발 계획\n" + - " - 일정 관리 방안\n" + - " - 다음 주 계획\n\n" + - "2. 결정된 사항:\n" + - " - 개발 우선순위 조정\n" + - " - 주간 회의 시간 변경\n", - suggestedTitle: title - ? null - : "제품 개발 전략 회의 - 우선순위 및 일정 조정", - }; -}; - -export const sendChatMessage = async ( - message: string, - transcript: string, -): Promise<{ text: string }> => { - // Simulate API delay - await new Promise((resolve) => setTimeout(resolve, 1000)); - - // TODO: Replace with actual API call - return { - text: `AI 응답: "${message}"에 대한 답변입니다. 트랜스크립트 길이: ${transcript.length}자`, - }; -}; diff --git a/apps/desktop/src/auth.tsx b/apps/desktop/src/auth.tsx new file mode 100644 index 0000000000..d65ef02f73 --- /dev/null +++ b/apps/desktop/src/auth.tsx @@ -0,0 +1,65 @@ +import * as React from "react"; + +async function sleep(ms: number) { + return new Promise((resolve) => setTimeout(resolve, ms)); +} + +export interface AuthContext { + isAuthenticated: boolean; + login: (username: string) => Promise; + logout: () => Promise; + user: string | null; +} + +const AuthContext = React.createContext(null); + +const key = "tanstack.auth.user"; + +function getStoredUser() { + return localStorage.getItem(key); +} + +function setStoredUser(user: string | null) { + if (user) { + localStorage.setItem(key, user); + } else { + localStorage.removeItem(key); + } +} + +export function AuthProvider({ children }: { children: React.ReactNode }) { + const [user, setUser] = React.useState(getStoredUser()); + const isAuthenticated = !!user; + + const logout = React.useCallback(async () => { + await sleep(250); + + setStoredUser(null); + setUser(null); + }, []); + + const login = React.useCallback(async (username: string) => { + await sleep(500); + + setStoredUser(username); + setUser(username); + }, []); + + React.useEffect(() => { + setUser(getStoredUser()); + }, []); + + return ( + + {children} + + ); +} + +export function useAuth() { + const context = React.useContext(AuthContext); + if (!context) { + throw new Error("useAuth must be used within an AuthProvider"); + } + return context; +} diff --git a/apps/desktop/src/components/layout/NavBar.tsx b/apps/desktop/src/components/layout/NavBar.tsx index ee663f4889..6aaef1c02f 100644 --- a/apps/desktop/src/components/layout/NavBar.tsx +++ b/apps/desktop/src/components/layout/NavBar.tsx @@ -1,5 +1,5 @@ import { useCallback } from "react"; -import { useNavigate, useLocation } from "react-router"; +import { useNavigate, useLocation, useRouter } from "@tanstack/react-router"; import { RiMenuLine, RiSidebarUnfoldLine, @@ -20,12 +20,16 @@ export default function NavBar() { const { isPanelOpen, setIsPanelOpen } = useUI(); const navigate = useNavigate(); const location = useLocation(); + const { history } = useRouter(); const isNotePage = location.pathname.startsWith("/note/"); const handleNewNote = useCallback(() => { - const noteId = crypto.randomUUID(); - navigate(`/note/${noteId}`); + const id = crypto.randomUUID(); + navigate({ + to: "/note/$id", + params: { id }, + }); }, [navigate]); const handleSettingsClick = useCallback(() => { @@ -49,8 +53,8 @@ export default function NavBar() {
{isNotePage ? ( navigate("/")} - onBackClick={() => navigate(-1)} + onHomeClick={() => navigate({ to: "/" })} + onBackClick={() => history.back()} /> ) : (