-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathCargo.toml
43 lines (38 loc) · 1.1 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[package]
name = "kamera"
version = "0.0.2"
edition = "2021"
authors = ["Gilbert Röhrbein"]
keywords = ["camera", "webcam", "capture", "cross-platform"]
license = "MIT/Apache-2.0"
description = "Camera API with a reduced feature set for basic use cases and learning"
documentation = "https://docs.rs/kamera"
repository = "https://github.com/payload/kamera"
[target.'cfg(target_os = "macos")'.dependencies]
icrate = { version = "0.0.3", features = [
"Foundation",
"Foundation_NSArray",
"Foundation_NSNumber",
"Foundation_NSMutableDictionary",
] }
objc2 = { version = "0.4.0", features = ["malloc"] }
[target.'cfg(target_os="windows")'.dependencies]
windows = { version = "0.43", features = [
"Win32_Media_MediaFoundation",
"Win32_System_Com",
"Win32_Foundation",
"Win32_Media_DirectShow",
"Win32_Media",
"Win32",
"Win32_Media_KernelStreaming",
"Win32_System_Com_StructuredStorage",
"implement",
] }
[target.'cfg(target_os="linux")'.dependencies]
v4l = "0.14.0"
[dev-dependencies]
softbuffer = "0.3.0"
winit = "0.27.5"
[dependencies]
ffimage = "0.9.0"
ffimage_yuv = "0.9.0"