forked from H-M-H/Weylus
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
76 lines (66 loc) · 2.69 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
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
[package]
name = "weylus"
version = "0.11.4"
authors = ["HMH <[email protected]>"]
license = "AGPL-3.0-or-later"
edition = "2021"
description = "Use your iPad or Android tablet as graphic tablet."
[dependencies]
autopilot = { git = "https://github.com/H-M-H/autopilot-rs.git", rev = "63eed09c715bfb665bb23172a3930a528e11691c" }
bitflags = "^1.3"
dirs = "^4.0"
fltk = { version = "^1", features = ["no-pango"] }
handlebars = "^4.1"
hyper = { version = "^0.14", features = ["server", "tcp", "http1", "http2"] }
image = { version = "^0.23", features = ["png"], default-features = false }
image_autopilot = { package = "image", version = "0.22.5", features = [], default-features = false }
percent-encoding = "2.1.0"
qrcode = "0.12.0"
serde = { version = "^1.0", features = ["derive"] }
serde_json = "^1.0"
structopt = { version = "^0.3", features = ["color", "suggestions"], default-features = false }
tokio = { version = "^1", features = ["macros", "rt-multi-thread", "sync"] }
toml = "^0.5"
tracing = "^0.1"
tracing-subscriber = { version = "^0.3", features = ["ansi", "json"], default-features = false }
url = "^2.2"
websocket = { version = "=0.26.5", features = ["sync"], default-features = false }
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3.8", features = ["d3d11", "d3dcommon", "dxgi", "dxgi1_2", "dxgitype"] }
wio = "0.2.2"
captrs = "^0.3.1"
[build-dependencies]
cc = "^1.0"
num_cpus = "^1.13"
[target.'cfg(target_os = "linux")'.dependencies]
dbus = "^0.9"
gstreamer = "^0.18"
gstreamer-app = { version = "^0.18", features = ["v1_10"] }
gstreamer-video = "^0.18"
[target.'cfg(not(target_os = "windows"))'.dependencies]
pnet_datalink = "^0.31"
[target.'cfg(target_os = "macos")'.dependencies]
core-foundation = "^0.9"
core-graphics = "^0.22"
[features]
bench = []
ffmpeg-system = []
va-static = []
[package.metadata.bundle]
name = "Weylus"
identifier = "io.github.h-m-h.weylus"
[package.metadata.deb]
name = "Weylus"
# Until https://github.com/mmstick/cargo-deb/issues/170 is resolved
# specify depends manually.
depends = "libc6 (>= 2.18), libdbus-1-3 (>= 1.9.14), libdrm2 (>= 2.4.60), libfontconfig1 (>= 2.11), libgcc1 (>= 1:4.2), libglib2.0-0 (>= 2.18.0), libgstreamer-plugins-base1.0-0 (>= 1.10.0), libgstreamer1.0-0 (>= 1.0.0), libx11-6 (>= 2:1.4.99.1), libxcomposite1 (>= 1:0.3-1), libxcursor1 (>> 1.1.2), libxext6, libxfixes3, libxft2 (>> 2.1.1), libxi6 (>= 2:1.2.99.4), libxinerama1, libxrandr2 (>= 2:1.5.0), libxrender1, libxtst6"
section = "graphics"
priority = "optional"
assets = [
["target/release/weylus", "usr/bin/weylus", "755"],
["weylus.desktop", "usr/share/applications/weylus.desktop", "755"],
["Readme.md", "usr/share/doc/weylus/README", "644"],
]
[profile.release]
lto = true
opt-level = 3