forked from libark/video-capture
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
79 lines (71 loc) · 1.91 KB
/
Cargo.toml
File metadata and controls
79 lines (71 loc) · 1.91 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
[package]
name = "video-capture"
description = "Capture multimedia content from camera"
homepage = "https://github.com/libark/video-capture"
repository = "https://github.com/libark/video-capture"
documentation = "https://docs.rs/video-capture"
version = "0.1.1"
authors = ["Zhou Wei <zhouwei@ehom.net>"]
license = "MIT OR Apache-2.0"
categories = ["multimedia", "multimedia::video"]
keywords = ["camera", "capture"]
edition = "2021"
[dependencies]
cfg-if = "1.0"
os-ver = "0.2"
thiserror = "1.0"
x-base = "0.1"
x-media = "0.1"
x-variant = "0.1"
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies]
av-foundation = "0.5"
dispatch2 = "0.1"
core-foundation = "0.10"
core-media = "0.5"
core-video = "0.4"
objc2 = "0.5"
objc2-foundation = { version = "0.2", features = ["NSArray", "NSDictionary", "NSObject"] }
[target.'cfg(target_os = "windows")'.dependencies]
windows-core = "0.58"
[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.58"
features = [
"implement",
"Win32",
"Win32_Foundation",
"Win32_Media",
"Win32_Media_DirectShow",
"Win32_Media_MediaFoundation",
"Win32_System_Com"
]
[target.'cfg(target_family = "wasm")'.dependencies]
wasm-bindgen = "0.2"
web-time = "1.1"
js-sys = "0.3"
[target.'cfg(target_family = "wasm")'.dependencies.web-sys]
version = "0.3"
features = [
"ImageData",
"MediaDeviceInfo",
"MediaDeviceKind",
"MediaDevices",
"MediaStream",
"MediaStreamConstraints",
"MediaStreamTrack",
"MediaStreamTrackState",
"MediaTrackConstraints",
"MediaTrackSettings",
"MediaTrackSupportedConstraints",
"Navigator",
]
[target.'cfg(target_family = "wasm")'.dev-dependencies]
console_error_panic_hook = "0.1"
[package.metadata.docs.rs]
default-target = "x86_64-pc-windows-msvc"
targets = [
"x86_64-pc-windows-msvc",
"x86_64-apple-darwin",
"x86_64-apple-ios",
"aarch64-apple-darwin",
"aarch64-apple-ios",
]