mirror of
https://github.com/rustdesk/hbb_common.git
synced 2026-02-16 02:20:43 +00:00
refact(crate): libloading x11
Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
@@ -66,6 +66,7 @@ rustls-native-certs = "0.8"
|
|||||||
webpki-roots = "1.0.4"
|
webpki-roots = "1.0.4"
|
||||||
async-recursion = "1.1"
|
async-recursion = "1.1"
|
||||||
webrtc = { version = "0.14.0", optional = true }
|
webrtc = { version = "0.14.0", optional = true }
|
||||||
|
libloading = "0.8"
|
||||||
|
|
||||||
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
|
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
|
||||||
mac_address = "1.1"
|
mac_address = "1.1"
|
||||||
@@ -96,3 +97,4 @@ sctk = { package = "smithay-client-toolkit", version = "0.20.0", default-feature
|
|||||||
"calloop",
|
"calloop",
|
||||||
] }
|
] }
|
||||||
users = { version = "0.11" }
|
users = { version = "0.11" }
|
||||||
|
x11 = "2.21"
|
||||||
|
|||||||
@@ -70,6 +70,9 @@ pub mod verifier;
|
|||||||
pub use async_recursion;
|
pub use async_recursion;
|
||||||
#[cfg(target_os = "linux")]
|
#[cfg(target_os = "linux")]
|
||||||
pub use users;
|
pub use users;
|
||||||
|
pub use libloading;
|
||||||
|
#[cfg(target_os = "linux")]
|
||||||
|
pub use x11;
|
||||||
|
|
||||||
pub type SessionID = uuid::Uuid;
|
pub type SessionID = uuid::Uuid;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user