refact(crate): libloading x11

Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
fufesou
2026-01-21 11:09:44 +08:00
parent 7d93d5af48
commit 1f5ec1219f
2 changed files with 5 additions and 0 deletions

View File

@@ -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"

View File

@@ -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;