2021-03-29 15:59:14 +08:00
|
|
|
[package]
|
|
|
|
name = "scrap"
|
|
|
|
description = "Screen capture made easy."
|
|
|
|
version = "0.5.0"
|
|
|
|
repository = "https://github.com/quadrupleslap/scrap"
|
|
|
|
documentation = "https://docs.rs/scrap"
|
|
|
|
keywords = ["screen", "capture", "record"]
|
|
|
|
license = "MIT"
|
|
|
|
authors = ["Ram <quadrupleslap@gmail.com>"]
|
|
|
|
edition = "2018"
|
|
|
|
|
2021-07-23 17:52:38 +08:00
|
|
|
[features]
|
|
|
|
wayland = ["gstreamer", "gstreamer-app", "gstreamer-video", "dbus", "tracing"]
|
|
|
|
|
2021-03-29 15:59:14 +08:00
|
|
|
[dependencies]
|
|
|
|
block = "0.1"
|
|
|
|
cfg-if = "1.0"
|
|
|
|
libc = "0.2"
|
|
|
|
num_cpus = "1.13"
|
|
|
|
|
|
|
|
[dependencies.winapi]
|
|
|
|
version = "0.3"
|
|
|
|
default-features = true
|
2021-07-23 17:52:38 +08:00
|
|
|
features = ["dxgi", "dxgi1_2", "dxgi1_5", "d3d11", "winuser"]
|
2021-03-29 15:59:14 +08:00
|
|
|
|
2022-05-12 17:35:25 +08:00
|
|
|
[target.'cfg(target_os = "android")'.dependencies]
|
|
|
|
android_logger = "0.10"
|
|
|
|
jni = "0.19"
|
|
|
|
lazy_static = "1.4"
|
|
|
|
log = "0.4"
|
|
|
|
|
|
|
|
[target.'cfg(not(target_os = "android"))'.dev-dependencies]
|
2021-03-29 15:59:14 +08:00
|
|
|
repng = "0.2"
|
|
|
|
docopt = "1.1"
|
|
|
|
webm = "1.0"
|
|
|
|
serde = {version="1.0", features=["derive"]}
|
|
|
|
quest = "0.3"
|
|
|
|
|
|
|
|
[build-dependencies]
|
|
|
|
target_build_utils = "0.3"
|
2021-07-29 13:30:12 +08:00
|
|
|
bindgen = "0.59"
|
2021-07-23 17:52:38 +08:00
|
|
|
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
|
|
dbus = { version = "0.9", optional = true }
|
|
|
|
tracing = { version = "0.1", optional = true }
|
|
|
|
gstreamer = { version = "0.16", optional = true }
|
|
|
|
gstreamer-app = { version = "0.16", features = ["v1_10"], optional = true }
|
|
|
|
gstreamer-video = { version = "0.16", optional = true }
|