From 0d635425347429bbad901a7fe0dfb11cff1eecb0 Mon Sep 17 00:00:00 2001 From: Brendan Allan Date: Fri, 29 Nov 2024 17:48:18 +0800 Subject: [PATCH] fix cidre features once and for all --- Cargo.lock | 1 - crates/media/Cargo.toml | 47 +++++------------------------------------ 2 files changed, 5 insertions(+), 43 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7dc8f165..ba3af11a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1055,7 +1055,6 @@ source = "git+https://github.com/yury/cidre?rev=1e008bec49a0f97aeaaea6130a0ba20f dependencies = [ "cidre-macros", "parking_lot", - "tokio", ] [[package]] diff --git a/crates/media/Cargo.toml b/crates/media/Cargo.toml index 28ee0276..8aa4311f 100644 --- a/crates/media/Cargo.toml +++ b/crates/media/Cargo.toml @@ -33,54 +33,17 @@ objc-foundation = "0.1.1" objc2-foundation = { version = "0.2.2", features = ["NSValue"] } nokhwa-bindings-macos.workspace = true cidre = { git = "https://github.com/yury/cidre", rev = "1e008bec49a0f97aeaaea6130a0ba20fe00aa03b", default-features = false, features = [ - "macos_13_0", "private", + "blocks", "async", - "app", - "am", - "at", + + "av", "ca", - "ci", - "cl", "cm", - "cmio", - "ct", - "av", - "av_kit", - "cf", - "cg", - "iio", - "ns", - "nl", - "vt", - "sc", - "mc", - "mtl", - "mtk", - "mlc", - "cv", - "objc", - "mps", - "mpsg", "dispatch", - "da", - "simd", - "cat", - "vn", - "sn", - "ui", - "ut", - "un", - "io", - "nw", - "core_motion", - "core_audio", - "wc", - "wk", - "gc", - "xpc", - "vdsp", + + "macos_13_0", ] } screencapturekit = "0.2.8"