2021-03-29 15:59:14 +08:00
[ package ]
name = "rustdesk"
2022-09-07 22:00:42 +08:00
version = "1.2.0"
2021-03-29 15:59:14 +08:00
authors = [ "rustdesk <info@rustdesk.com>" ]
2022-04-20 20:44:48 +08:00
edition = "2021"
2021-03-29 15:59:14 +08:00
build = "build.rs"
description = "A remote control software."
2022-05-12 17:35:25 +08:00
default-run = "rustdesk"
[ lib ]
name = "librustdesk"
2022-04-27 10:45:20 +08:00
crate-type = [ "cdylib" , "staticlib" , "rlib" ]
2022-05-12 17:35:25 +08:00
[ [ bin ] ]
2022-05-13 20:30:22 +08:00
name = "naming"
path = "src/naming.rs"
2021-03-29 15:59:14 +08:00
[ features ]
inline = [ ]
2022-05-12 17:35:25 +08:00
hbbs = [ ]
2021-03-29 15:59:14 +08:00
cli = [ ]
2022-04-24 23:39:15 +08:00
with_rc = [ "simple_rc" ]
2022-06-09 17:30:26 +08:00
appimage = [ ]
2022-09-10 00:44:35 +02:00
flatpak = [ ]
2021-08-01 11:01:04 +08:00
use_samplerate = [ "samplerate" ]
use_rubato = [ "rubato" ]
use_dasp = [ "dasp" ]
2022-05-25 20:23:02 +08:00
flutter = [ "flutter_rust_bridge" ]
2022-09-12 12:31:02 +08:00
default = [ "use_dasp" ]
2022-06-09 19:46:41 +08:00
hwcodec = [ "scrap/hwcodec" ]
2022-09-15 20:40:29 +08:00
mediacodec = [ "scrap/mediacodec" ]
2021-03-29 15:59:14 +08:00
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[ dependencies ]
2021-12-26 15:34:10 +08:00
whoami = "1.2"
2022-07-07 01:27:21 +08:00
scrap = { path = "libs/scrap" , features = [ "wayland" ] }
2021-03-29 15:59:14 +08:00
hbb_common = { path = "libs/hbb_common" }
serde_derive = "1.0"
serde = "1.0"
serde_json = "1.0"
cfg-if = "1.0"
lazy_static = "1.4"
2021-12-26 15:34:10 +08:00
sha2 = "0.10"
2021-03-29 15:59:14 +08:00
repng = "0.2"
libc = "0.2"
2021-07-24 18:25:07 +08:00
parity-tokio-ipc = { git = "https://github.com/open-trade/parity-tokio-ipc" }
2022-04-21 22:16:15 +08:00
flexi_logger = { version = "0.22" , features = [ "async" , "use_chrono_for_offset" ] }
2021-03-29 15:59:14 +08:00
runas = "0.2"
2022-12-12 09:41:46 +08:00
magnum-opus = { git = "https://github.com/rustdesk/magnum-opus" }
2021-08-01 11:01:04 +08:00
dasp = { version = "0.11" , features = [ "signal" , "interpolate-linear" , "interpolate" ] , optional = true }
2022-04-06 10:51:24 +08:00
rubato = { version = "0.12" , optional = true }
2021-08-01 11:01:04 +08:00
samplerate = { version = "0.2" , optional = true }
2021-03-29 15:59:14 +08:00
async-trait = "0.1"
2022-05-12 17:35:25 +08:00
uuid = { version = "1.0" , features = [ "v4" ] }
2022-01-15 13:47:57 +08:00
clap = "3.0"
2022-07-18 12:15:10 +08:00
rpassword = "7.0"
2021-12-28 18:33:36 +08:00
base64 = "0.13"
2022-07-18 12:15:10 +08:00
sysinfo = "0.24"
2022-01-24 02:26:07 +08:00
num_cpus = "1.13"
2022-07-21 16:07:19 +08:00
bytes = { version = "1.2" , features = [ "serde" ] }
2022-12-30 22:57:22 -08:00
default-net = { git = "https://github.com/Kingtous/default-net" }
2022-07-14 10:34:56 +08:00
wol-rs = "0.9.1"
2022-06-02 16:13:34 +08:00
flutter_rust_bridge = { git = "https://github.com/SoLongAndThanksForAllThePizza/flutter_rust_bridge" , optional = true }
2022-07-31 19:06:49 +08:00
errno = "0.2.8"
2022-12-28 15:20:42 +08:00
rdev = { git = "https://github.com/fufesou/rdev" }
2022-10-19 22:48:51 +08:00
url = { version = "2.1" , features = [ "serde" ] }
2021-03-29 15:59:14 +08:00
2022-10-22 22:19:14 +08:00
reqwest = { version = "0.11" , features = [ "blocking" , "json" , "rustls-tls" ] , default-features = false }
2022-11-17 16:36:07 +08:00
chrono = "0.4.23"
2022-11-23 02:42:36 +11:00
cidr-utils = "0.5.9"
2022-05-12 17:35:25 +08:00
2022-04-23 02:17:33 +08:00
[ target . 'cfg(not(any(target_os = "android", target_os = "linux")))' . dependencies ]
cpal = "0.13.5"
2021-03-29 15:59:14 +08:00
[ target . 'cfg(not(any(target_os = "android", target_os = "ios")))' . dependencies ]
machine-uid = "0.2"
mac_address = "1.1"
2021-07-28 00:00:11 +08:00
sciter-rs = { git = "https://github.com/open-trade/rust-sciter" , branch = "dyn" }
2022-05-12 17:35:25 +08:00
sys-locale = "0.2"
2022-07-07 01:27:21 +08:00
enigo = { path = "libs/enigo" , features = [ "with_serde" ] }
2022-05-12 17:35:25 +08:00
clipboard = { path = "libs/clipboard" }
2021-08-12 01:25:32 +08:00
ctrlc = "3.2"
2021-08-20 12:39:10 +08:00
arboard = "2.0"
2022-05-12 17:35:25 +08:00
#minreq = { version = "2.4", features = ["punycode", "https-native"] }
2022-07-25 19:35:15 +08:00
system_shutdown = "3.0.0"
2021-03-29 15:59:14 +08:00
[ target . 'cfg(target_os = "windows")' . dependencies ]
2022-05-12 17:35:25 +08:00
#systray = { git = "https://github.com/open-trade/systray-rs" }
2022-07-18 12:15:10 +08:00
trayicon = { git = "https://github.com/open-trade/trayicon-rs" , features = [ "winit" ] }
winit = "0.26"
2021-03-29 15:59:14 +08:00
winapi = { version = "0.3" , features = [ "winuser" ] }
2021-12-26 15:34:10 +08:00
winreg = "0.10"
windows-service = "0.4"
2022-05-31 00:51:13 +08:00
virtual_display = { path = "libs/virtual_display" }
2022-09-26 16:23:09 +08:00
impersonate_system = { git = "https://github.com/21pages/impersonate-system" }
2022-11-10 10:27:13 +08:00
shared_memory = "0.12.4"
shutdown_hooks = "0.1.0"
2021-03-29 15:59:14 +08:00
[ target . 'cfg(target_os = "macos")' . dependencies ]
objc = "0.2"
cocoa = "0.24"
dispatch = "0.2"
core-foundation = "0.9"
core-graphics = "0.22"
2022-01-14 03:17:36 +08:00
include_dir = "0.7.2"
2022-04-28 21:32:44 +08:00
tray-item = "0.7" # looks better than trayicon
2022-08-10 11:33:50 +08:00
dark-light = "0.2"
2022-04-28 21:32:44 +08:00
2021-03-29 15:59:14 +08:00
[ target . 'cfg(target_os = "linux")' . dependencies ]
2022-04-23 02:17:33 +08:00
psimple = { package = "libpulse-simple-binding" , version = "2.25" }
pulse = { package = "libpulse-binding" , version = "2.26" }
2021-07-24 18:25:07 +08:00
rust-pulsectl = { git = "https://github.com/open-trade/pulsectl" }
2022-05-12 17:35:25 +08:00
async-process = "1.3"
2022-07-07 01:27:21 +08:00
mouce = { git = "https://github.com/fufesou/mouce.git" }
evdev = { git = "https://github.com/fufesou/evdev" }
2022-10-11 19:52:03 +08:00
dbus = "0.9"
dbus-crossroads = "0.5"
2022-11-04 19:20:51 +08:00
gtk = "0.15"
libappindicator = "0.7"
2022-12-10 12:37:18 +08:00
glib = "0.16.5"
2023-01-05 14:27:28 +08:00
backtrace = "0.3"
2022-08-02 03:47:29 -07:00
2021-03-29 15:59:14 +08:00
[ target . 'cfg(target_os = "android")' . dependencies ]
2022-04-06 10:51:24 +08:00
android_logger = "0.11"
2022-07-14 23:26:03 +08:00
jni = "0.19"
2021-03-29 15:59:14 +08:00
2022-05-17 19:59:37 +08:00
[ target . 'cfg(any(target_os = "android", target_os = "ios"))' . dependencies ]
2022-06-02 16:13:34 +08:00
flutter_rust_bridge = { git = "https://github.com/SoLongAndThanksForAllThePizza/flutter_rust_bridge" }
2022-05-17 19:59:37 +08:00
2021-03-29 15:59:14 +08:00
[ workspace ]
2022-11-18 14:52:01 +08:00
members = [ "libs/scrap" , "libs/hbb_common" , "libs/enigo" , "libs/clipboard" , "libs/virtual_display" , "libs/virtual_display/dylib" , "libs/simple_rc" , "libs/portable" ]
2021-03-29 15:59:14 +08:00
[ package . metadata . winres ]
2022-05-12 17:35:25 +08:00
LegalCopyright = "Copyright © 2022 Purslane, Inc."
2021-03-29 15:59:14 +08:00
# this FileDescription overrides package.description
FileDescription = "RustDesk"
[ target . 'cfg(target_os="windows")' . build-dependencies ]
winres = "0.1"
winapi = { version = "0.3" , features = [ "winnt" ] }
[ build-dependencies ]
cc = "1.0"
hbb_common = { path = "libs/hbb_common" }
2022-04-24 23:39:15 +08:00
simple_rc = { path = "libs/simple_rc" , optional = true }
2022-05-31 16:57:42 +08:00
flutter_rust_bridge_codegen = { git = "https://github.com/SoLongAndThanksForAllThePizza/flutter_rust_bridge" }
2021-03-29 15:59:14 +08:00
[ dev-dependencies ]
2022-09-17 11:26:30 +00:00
hound = "3.5"
2021-03-29 15:59:14 +08:00
[ package . metadata . bundle ]
name = "RustDesk"
identifier = "com.carriez.rustdesk"
2022-09-18 11:22:30 +08:00
icon = [ "res/32x32.png" , "res/128x128.png" , "res/128x128@2x.png" ]
2022-12-01 21:48:19 +08:00
deb_depends = [ "libgtk-3-0" , "libxcb-randr0" , "libxdo3" , "libxfixes3" , "libxcb-shape0" , "libxcb-xfixes0" , "libasound2" , "libsystemd0" , "curl" , "libvdpau1" , "libva2" ]
2021-03-29 15:59:14 +08:00
osx_minimum_system_version = "10.14"
2022-09-18 11:22:30 +08:00
resources = [ "res/mac-tray-light.png" , "res/mac-tray-dark.png" ]
2021-03-29 15:59:14 +08:00
#https://github.com/johnthagen/min-sized-rust
[ profile . release ]
2022-05-12 17:35:25 +08:00
lto = true
codegen-units = 1
panic = 'abort'
2022-05-24 19:37:01 +02:00
strip = true
2021-03-29 15:59:14 +08:00
#opt-level = 'z' # only have smaller size after strip
2022-12-08 19:59:37 +08:00
rpath = true