Expand description
Library for inspecting Wine environments
On Unix-like systems, this crate can scan Wine-hosted processes and inspect their setup.
On Windows, it can query Wine runtime information and host OS details.
§Examples
Scan hosted processes on Unix-like systems:
use winer::host::Scanner;
let mut scanner = Scanner::new();
let scan = scanner.scan();
for universe in scan.universes() {
println!("Server: {:?}", universe.server());
println!("Processes: {:?}", universe.processes());
}Probe Wine runtime on Windows:
if let Some(runtime) = winer::runtime() {
println!("Wine version: {}", runtime.version_str().unwrap_or("N/A"));
}Modules§
- host
Non-Windows