2021-03-29 10:59:14 +03:00
[ package ]
name = "rustdesk"
2022-09-07 17:00:42 +03:00
version = "1.2.0"
2021-03-29 10:59:14 +03:00
authors = [ "rustdesk <info@rustdesk.com>" ]
2022-04-20 15:44:48 +03:00
edition = "2021"
2021-03-29 10:59:14 +03:00
build = "build.rs"
description = "A remote control software."
2022-05-12 12:35:25 +03:00
default-run = "rustdesk"
[ lib ]
name = "librustdesk"
2023-02-23 13:03:40 +03:00
crate-type = [ "cdylib" , "staticlib" , "rlib" ]
2022-05-12 12:35:25 +03:00
[ [ bin ] ]
2022-05-13 15:30:22 +03:00
name = "naming"
path = "src/naming.rs"
2021-03-29 10:59:14 +03:00
[ features ]
inline = [ ]
cli = [ ]
2023-02-22 04:43:57 +03:00
flutter_texture_render = [ ]
2022-06-09 12:30:26 +03:00
appimage = [ ]
2022-09-10 01:44:35 +03:00
flatpak = [ ]
2021-08-01 06:01:04 +03:00
use_samplerate = [ "samplerate" ]
use_rubato = [ "rubato" ]
use_dasp = [ "dasp" ]
2022-05-25 15:23:02 +03:00
flutter = [ "flutter_rust_bridge" ]
2022-09-12 07:31:02 +03:00
default = [ "use_dasp" ]
2022-06-09 14:46:41 +03:00
hwcodec = [ "scrap/hwcodec" ]
2022-09-15 15:40:29 +03:00
mediacodec = [ "scrap/mediacodec" ]
2023-06-10 19:50:28 +03:00
linux_headless = [ "pam" ]
2023-04-13 18:00:24 +03:00
virtual_display_driver = [ "virtual_display" ]
2023-04-18 18:02:37 +03:00
plugin_framework = [ ]
2023-05-20 08:20:24 +03:00
linux-pkg-config = [ "magnum-opus/linux-pkg-config" , "scrap/linux-pkg-config" ]
2021-03-29 10:59:14 +03:00
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[ dependencies ]
2023-05-11 07:04:38 +03:00
whoami = "1.4"
2022-07-06 20:27:21 +03:00
scrap = { path = "libs/scrap" , features = [ "wayland" ] }
2021-03-29 10:59:14 +03:00
hbb_common = { path = "libs/hbb_common" }
serde_derive = "1.0"
serde = "1.0"
serde_json = "1.0"
2023-05-30 10:32:19 +03:00
serde_repr = "0.1"
2021-03-29 10:59:14 +03:00
cfg-if = "1.0"
lazy_static = "1.4"
2021-12-26 10:34:10 +03:00
sha2 = "0.10"
2021-03-29 10:59:14 +03:00
repng = "0.2"
2021-07-24 13:25:07 +03:00
parity-tokio-ipc = { git = "https://github.com/open-trade/parity-tokio-ipc" }
2023-03-09 12:22:14 +03:00
runas = "1.0"
2022-12-12 04:41:46 +03:00
magnum-opus = { git = "https://github.com/rustdesk/magnum-opus" }
2021-08-01 06:01:04 +03:00
dasp = { version = "0.11" , features = [ "signal" , "interpolate-linear" , "interpolate" ] , optional = true }
2022-04-06 05:51:24 +03:00
rubato = { version = "0.12" , optional = true }
2021-08-01 06:01:04 +03:00
samplerate = { version = "0.2" , optional = true }
2021-03-29 10:59:14 +03:00
async-trait = "0.1"
2023-05-11 07:04:38 +03:00
uuid = { version = "1.3" , features = [ "v4" ] }
clap = "4.2"
rpassword = "7.2"
2023-03-09 12:22:14 +03:00
base64 = "0.21"
2023-05-11 07:04:38 +03:00
num_cpus = "1.15"
bytes = { version = "1.4" , features = [ "serde" ] }
2023-03-30 13:24:54 +03:00
default-net = "0.14"
2023-03-09 12:22:14 +03:00
wol-rs = "1.0"
2023-06-06 02:39:44 +03:00
flutter_rust_bridge = { version = "1.75" , features = [ "uuid" ] , optional = true }
2023-03-09 12:22:14 +03:00
errno = "0.3"
2022-12-28 10:20:42 +03:00
rdev = { git = "https://github.com/fufesou/rdev" }
2023-05-11 07:04:38 +03:00
url = { version = "2.3" , features = [ "serde" ] }
2023-03-29 16:59:25 +03:00
crossbeam-queue = "0.3"
2023-03-30 13:24:54 +03:00
hex = "0.4"
2023-06-17 16:26:27 +03:00
reqwest = { git = "https://github.com/rustdesk-org/reqwest" , features = [ "blocking" , "json" , "rustls-tls" ] , default-features = false }
2023-03-30 13:24:54 +03:00
chrono = "0.4"
cidr-utils = "0.5"
2023-05-11 07:04:38 +03:00
libloading = "0.8"
2023-04-20 12:26:17 +03:00
fon = "0.6"
2023-06-05 17:25:03 +03:00
zip = "0.6"
2022-05-12 12:35:25 +03:00
2022-04-22 21:17:33 +03:00
[ target . 'cfg(not(any(target_os = "android", target_os = "linux")))' . dependencies ]
2023-04-15 04:41:56 +03:00
cpal = "0.15"
2023-03-29 11:59:50 +03:00
ringbuf = "0.3"
2021-03-29 10:59:14 +03:00
[ target . 'cfg(not(any(target_os = "android", target_os = "ios")))' . dependencies ]
2023-05-11 07:04:38 +03:00
machine-uid = "0.3"
2021-03-29 10:59:14 +03:00
mac_address = "1.1"
2021-07-27 19:00:11 +03:00
sciter-rs = { git = "https://github.com/open-trade/rust-sciter" , branch = "dyn" }
2023-05-11 07:04:38 +03:00
sys-locale = "0.3"
2022-07-06 20:27:21 +03:00
enigo = { path = "libs/enigo" , features = [ "with_serde" ] }
2022-05-12 12:35:25 +03:00
clipboard = { path = "libs/clipboard" }
2021-08-11 20:25:32 +03:00
ctrlc = "3.2"
2023-03-09 12:22:14 +03:00
arboard = "3.2"
system_shutdown = "4.0"
2021-03-29 10:59:14 +03:00
[ target . 'cfg(target_os = "windows")' . dependencies ]
2023-06-05 15:27:48 +03:00
winapi = { version = "0.3" , features = [ "winuser" , "wincrypt" , "shellscalingapi" ] }
2023-06-05 17:25:03 +03:00
winreg = "0.11"
2023-05-11 07:04:38 +03:00
windows-service = "0.6"
2023-04-13 18:00:24 +03:00
virtual_display = { path = "libs/virtual_display" , optional = true }
2022-09-26 11:23:09 +03:00
impersonate_system = { git = "https://github.com/21pages/impersonate-system" }
2023-03-30 13:24:54 +03:00
shared_memory = "0.12"
shutdown_hooks = "0.1"
2021-03-29 10:59:14 +03:00
[ target . 'cfg(target_os = "macos")' . dependencies ]
objc = "0.2"
cocoa = "0.24"
dispatch = "0.2"
core-foundation = "0.9"
core-graphics = "0.22"
2023-03-30 13:24:54 +03:00
include_dir = "0.7"
2023-02-09 16:28:42 +03:00
dark-light = "1.0"
2023-03-30 13:24:54 +03:00
fruitbasket = "0.10"
objc_id = "0.1"
2022-04-28 16:32:44 +03:00
2023-06-05 15:27:48 +03:00
[ target . 'cfg(any(target_os = "macos", target_os = "linux", target_os = "windows"))' . dependencies ]
2023-06-05 18:09:01 +03:00
tray-icon = { git = "https://github.com/rustdesk-org/tray-icon" }
2023-06-05 17:06:51 +03:00
tao = { git = "https://github.com/rustdesk-org/tao" , branch = "muda" }
2023-02-09 16:28:42 +03:00
image = "0.24"
2023-06-05 15:24:16 +03:00
keepawake = { git = "https://github.com/segevfiner/keepawake-rs" }
2023-02-09 16:28:42 +03:00
2021-03-29 10:59:14 +03:00
[ target . 'cfg(target_os = "linux")' . dependencies ]
2023-05-11 07:04:38 +03:00
psimple = { package = "libpulse-simple-binding" , version = "2.27" }
pulse = { package = "libpulse-binding" , version = "2.27" }
2021-07-24 13:25:07 +03:00
rust-pulsectl = { git = "https://github.com/open-trade/pulsectl" }
2023-05-11 07:04:38 +03:00
async-process = "1.7"
2022-07-06 20:27:21 +03:00
mouce = { git = "https://github.com/fufesou/mouce.git" }
evdev = { git = "https://github.com/fufesou/evdev" }
2022-10-11 14:52:03 +03:00
dbus = "0.9"
dbus-crossroads = "0.5"
2023-03-31 19:28:56 +03:00
pam = { git = "https://github.com/fufesou/pam" , optional = true }
2023-05-11 07:04:38 +03:00
users = { version = "0.11" }
2023-06-10 19:50:28 +03:00
dark-light = "1.0"
2022-08-02 13:47:29 +03:00
2021-03-29 10:59:14 +03:00
[ target . 'cfg(target_os = "android")' . dependencies ]
2023-05-11 07:04:38 +03:00
android_logger = "0.13"
2023-05-12 07:40:52 +03:00
jni = "0.21"
2021-03-29 10:59:14 +03:00
[ workspace ]
2023-04-17 09:18:00 +03:00
members = [ "libs/scrap" , "libs/hbb_common" , "libs/enigo" , "libs/clipboard" , "libs/virtual_display" , "libs/virtual_display/dylib" , "libs/portable" ]
2023-04-12 21:06:42 +03:00
exclude = [ "vdi/host" , "examples/custom_plugin" ]
2021-03-29 10:59:14 +03:00
[ package . metadata . winres ]
2023-06-05 17:06:51 +03:00
LegalCopyright = "Copyright © 2023 Purslane, Inc."
2021-03-29 10:59:14 +03: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" }
2023-05-11 07:04:38 +03:00
flutter_rust_bridge_codegen = "1.75"
2023-03-09 12:22:14 +03:00
os-version = "0.2"
2021-03-29 10:59:14 +03:00
[ dev-dependencies ]
2022-09-17 14:26:30 +03:00
hound = "3.5"
2021-03-29 10:59:14 +03:00
[ package . metadata . bundle ]
name = "RustDesk"
identifier = "com.carriez.rustdesk"
2022-09-18 06:22:30 +03:00
icon = [ "res/32x32.png" , "res/128x128.png" , "res/128x128@2x.png" ]
2021-03-29 10:59:14 +03:00
osx_minimum_system_version = "10.14"
#https://github.com/johnthagen/min-sized-rust
[ profile . release ]
2022-05-12 12:35:25 +03:00
lto = true
codegen-units = 1
panic = 'abort'
2022-05-24 20:37:01 +03:00
strip = true
2021-03-29 10:59:14 +03:00
#opt-level = 'z' # only have smaller size after strip
2022-12-08 14:59:37 +03:00
rpath = true