forked from gyroflow/gyroflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
135 lines (110 loc) · 3.97 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
[package]
name = "gyroflow"
version = "1.6.0"
authors = ["Adrian <adrian.eddy@gmail.com>", "Elvin Chen"]
edition = "2021"
build = "build.rs"
[features]
default = ["opencv"]
opencl = ["gyroflow-core/use-opencl"]
opencv = ["gyroflow-core/use-opencv"]
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
gyroflow-core = { path = "src/core/", features = ["use-opencv", "use-opencl"] }
system_shutdown = { git = "https://github.com/risoflora/system_shutdown.git", rev = "48ac516" }
breakpad-sys = "0.2.0"
trash = "5.2"
# For nle_plugins
zip = { version = "2.2", default-features = false, features = ["deflate-flate2"] }
zip-extensions = { version = "0.8", default-features = false, features = ["deflate-flate2"] }
runas = "1.2"
tempfile = "3"
fs_extra = "1.3"
[target.'cfg(any(target_os = "android", target_os = "ios"))'.dependencies]
gyroflow-core = { path = "src/core/", features = ["use-opencv"] }
[dependencies]
cstr = "0.2.12"
cpp = "0.5.9"
serde = "1.0"
serde_json = "1.0"
bytemuck = "1.19.0"
nalgebra = "0.32"
semver = "1.0.23"
fastrand = "2.1.0"
itertools = "0.13.0"
regex = "1.10.6"
rayon = "1.10"
pollster = "0.4.0"
futures-intrusive = "0.5.0"
flate2 = "1.0.34"
walkdir = "2.5.0"
mp4-merge = "0.1.10"
human-sort = "0.2.2"
argh = "0.1.12"
indicatif = "0.17"
rustfft = "6.2.0"
crc32fast = "1.4.2"
rodio = { default-features = false, features = ["vorbis"], version = "0.19.0" }
filetime_creation = "0.2"
qmetaobject = { version = "0.2.10", default-features = false, features = ["log"] }
qttypes = { version = "0.2.12", default-features = false, features = ["required", "qtquick", "qtquickcontrols2"]}
qml-video-rs = { git = "https://github.com/AdrianEddy/qml-video-rs.git", rev = "2a3bd8b" }
#qml-video-rs = { path = "../qml-video-rs" }
ffmpeg-next = { version = "7.1.0", default-features = false, features = ["codec", "filter", "format", "software-resampling", "software-scaling"] }
lazy_static = "1.5.0"
parking_lot = "0.12.3"
simplelog = "0.12.2"
log = "0.4"
ureq = "2.10"
url = "2.5.2"
whoami = "1.5.2"
tar = "0.4.41"
lru = "0.12"
chrono = "0.4"
log-panics = { version = "2.1", features = ["with-backtrace"] }
keep-awake = { git = "https://github.com/AdrianEddy/keep-awake-rs.git", rev = "04ce779" }
[patch.crates-io]
qmetaobject = { git = "https://github.com/AdrianEddy/qmetaobject-rs.git", rev = "ff1e23d" }
qttypes = { git = "https://github.com/AdrianEddy/qmetaobject-rs.git", rev = "ff1e23d" }
[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.58.0"
features = [ "Win32_System_Com", "Win32_System_Console", "Win32_System_SystemServices", "Win32_UI_Shell", "Win32_Foundation", "Wdk_Foundation", "Win32_System_LibraryLoader",
"Win32_Graphics_Dwm", "Win32_Graphics_Direct3D", "Win32_Graphics_Direct3D11", "Win32_Graphics_Dxgi_Common", "Win32_Graphics_Dxgi",
"Win32_Security", "Win32_Security_Authorization", "Win32_System_WindowsProgramming", "Win32_System_Threading", "Win32_System_Registry",
"Win32_Storage_Packaging_Appx", "Win32_Storage_FileSystem" ]
[target.'cfg(target_os = "macos")'.dependencies]
oslog = "0.2"
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies]
metal = { version = "0.29.0" }
core-foundation-sys = "0.8.7"
[build-dependencies]
cpp_build = "0.5.9"
winres = "0.1.12"
walkdir = "2.5.0"
cc = "1.1.31"
[[bin]]
name = "gyroflow"
path = "src/gyroflow.rs"
[profile.profile]
inherits = "release"
debug = true
[profile.deploy]
inherits = "release"
lto = true
codegen-units = 1
[dev-dependencies]
test-case = "3.3.1"
# -------------------------- Android stuff --------------------------
# [lib]
# crate-type = ["cdylib"]
# name = "gyroflow"
# path = "src/gyroflow.rs"
[package.metadata.android]
build_targets = [ "aarch64-linux-android" ]
[package.metadata.android.sdk]
min_sdk_version = 26
target_sdk_version = 34
[target.'cfg(target_os = "android")'.dependencies]
jni = "0.21"
ndk = { version = "0.9", features = ["media", "api-level-26"] }
ndk-sys = { version = "0.6.0" }
ndk-context = "0.1.1"