in progress avfoundation update

This commit is contained in:
l1npengtul
2022-09-13 08:41:03 -07:00
parent a887964139
commit c090601599
6 changed files with 874 additions and 1316 deletions
+10 -10
View File
@@ -1,6 +1,6 @@
[package]
name = "nokhwa-bindings-macos"
version = "0.1.2"
version = "0.2.0"
edition = "2018"
authors = ["l1npengtul"]
license = "Apache-2.0"
@@ -10,13 +10,13 @@ keywords = ["avfoundation", "macos", "capture", "webcam"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
thiserror = "1.0.26"
flume = "0.10.9"
flume = "0.10"
core-media-sys = "0.1"
cocoa-foundation = "0.1"
objc = { version = "0.2", features = ["exception"] }
block = "0.1"
once_cell = "1.14"
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies]
core-media-sys = "0.1.2"
cocoa-foundation = "0.1.0"
objc = { version = "0.2.7", features = ["exception"] }
block = "0.1.6"
dashmap = "5.3.4"
lazy_static = "1.4.0"
[dependencies.nokhwa-core]
version = "0.1"
path = "../nokhwa-core"
+1
View File
@@ -18,6 +18,7 @@
fn main() {
println!("cargo:rustc-link-lib=framework=CoreMedia");
println!("cargo:rustc-link-lib=framework=AVFoundation");
println!("cargo:rustc-link-lib=framework=CoreVideo");
}
#[cfg(not(any(target_os = "macos", target_os = "ios")))]
File diff suppressed because it is too large Load Diff