2021-03-29 15:59:14 +08:00
|
|
|
[package]
|
|
|
|
name = "rustdesk"
|
2021-08-24 22:18:39 +08:00
|
|
|
version = "1.1.8"
|
2021-03-29 15:59:14 +08:00
|
|
|
authors = ["rustdesk <info@rustdesk.com>"]
|
|
|
|
edition = "2018"
|
|
|
|
build= "build.rs"
|
|
|
|
description = "A remote control software."
|
|
|
|
|
|
|
|
[features]
|
|
|
|
inline = []
|
|
|
|
cli = []
|
2021-08-01 11:01:04 +08:00
|
|
|
use_samplerate = ["samplerate"]
|
|
|
|
use_rubato = ["rubato"]
|
|
|
|
use_dasp = ["dasp"]
|
|
|
|
default = ["use_dasp"]
|
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"
|
2021-03-29 15:59:14 +08:00
|
|
|
scrap = { path = "libs/scrap" }
|
|
|
|
hbb_common = { path = "libs/hbb_common" }
|
|
|
|
enigo = { path = "libs/enigo" }
|
2022-02-14 17:34:09 +08:00
|
|
|
clipboard = { path = "libs/clipboard" }
|
2022-03-11 19:51:57 +08:00
|
|
|
virtual_display = { path = "libs/virtual_display" }
|
2021-12-25 16:45:22 +08:00
|
|
|
sys-locale = "0.1"
|
2021-03-29 15:59:14 +08:00
|
|
|
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" }
|
2021-12-26 15:34:10 +08:00
|
|
|
flexi_logger = "0.22"
|
2021-03-29 15:59:14 +08:00
|
|
|
runas = "0.2"
|
2021-07-24 18:25:07 +08:00
|
|
|
magnum-opus = { git = "https://github.com/open-trade/magnum-opus" }
|
2021-08-01 11:01:04 +08:00
|
|
|
dasp = { version = "0.11", features = ["signal", "interpolate-linear", "interpolate"], optional = true }
|
2021-12-26 15:34:10 +08:00
|
|
|
rubato = { version = "0.10", 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"
|
2021-12-26 15:34:10 +08:00
|
|
|
crc32fast = "1.3"
|
2021-03-29 15:59:14 +08:00
|
|
|
uuid = { version = "0.8", features = ["v4"] }
|
2022-01-15 13:47:57 +08:00
|
|
|
clap = "3.0"
|
2021-03-29 15:59:14 +08:00
|
|
|
rpassword = "5.0"
|
2021-12-28 18:33:36 +08:00
|
|
|
base64 = "0.13"
|
2022-01-24 02:26:07 +08:00
|
|
|
sysinfo = "0.23"
|
|
|
|
num_cpus = "1.13"
|
2021-03-29 15:59:14 +08:00
|
|
|
|
|
|
|
[target.'cfg(not(any(target_os = "android")))'.dependencies]
|
2021-08-23 13:04:21 +08:00
|
|
|
cpal = { git = "https://github.com/open-trade/cpal" }
|
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" }
|
2021-08-12 01:25:32 +08:00
|
|
|
ctrlc = "3.2"
|
2021-08-20 12:39:10 +08:00
|
|
|
arboard = "2.0"
|
2021-12-26 15:34:10 +08:00
|
|
|
clipboard-master = "3.1"
|
2022-01-09 19:56:24 +08:00
|
|
|
#rdev = { path = "../rdev" }
|
|
|
|
rdev = { git = "https://github.com/open-trade/rdev" }
|
2021-03-29 15:59:14 +08:00
|
|
|
|
|
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
2021-12-28 14:18:37 +08:00
|
|
|
systray = { git = "https://github.com/liyue201/systray-rs" }
|
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"
|
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-13 15:26:57 +08:00
|
|
|
notify = "4.0.17"
|
2022-01-14 03:17:36 +08:00
|
|
|
include_dir = "0.7.2"
|
2021-03-29 15:59:14 +08:00
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
2021-12-26 15:34:10 +08:00
|
|
|
libpulse-simple-binding = "2.24"
|
|
|
|
libpulse-binding = "2.25"
|
2021-07-24 18:25:07 +08:00
|
|
|
rust-pulsectl = { git = "https://github.com/open-trade/pulsectl" }
|
2021-03-29 15:59:14 +08:00
|
|
|
|
|
|
|
[target.'cfg(target_os = "android")'.dependencies]
|
2021-12-26 15:34:10 +08:00
|
|
|
android_logger = "0.10"
|
2021-03-29 15:59:14 +08:00
|
|
|
|
|
|
|
[workspace]
|
2022-03-11 19:51:57 +08:00
|
|
|
members = ["libs/scrap", "libs/hbb_common", "libs/enigo", "libs/clipboard", "libs/virtual_display"]
|
2021-03-29 15:59:14 +08:00
|
|
|
|
|
|
|
[package.metadata.winres]
|
|
|
|
LegalCopyright = "Copyright © 2020"
|
|
|
|
# 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" }
|
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
hound = "3.4"
|
|
|
|
|
|
|
|
[package.metadata.bundle]
|
|
|
|
name = "RustDesk"
|
|
|
|
identifier = "com.carriez.rustdesk"
|
|
|
|
icon = ["32x32.png", "128x128.png", "128x128@2x.png"]
|
|
|
|
deb_depends = ["libgtk-3-0", "libxcb-randr0", "libxdo3", "libxfixes3", "libxcb-shape0", "libxcb-xfixes0", "libasound2", "libsystemd0", "pulseaudio"]
|
|
|
|
osx_minimum_system_version = "10.14"
|
|
|
|
|
|
|
|
#https://github.com/johnthagen/min-sized-rust
|
|
|
|
#!!! rembember call "strip target/release/rustdesk"
|
|
|
|
# which reduce binary size a lot
|
|
|
|
[profile.release]
|
|
|
|
#lto = true
|
|
|
|
#codegen-units = 1
|
|
|
|
#panic = 'abort'
|
|
|
|
#opt-level = 'z' # only have smaller size after strip
|