#desktop #os #desktop-rs

desktop

Detects the target platform and it’s architecture, vendor and desktop environment

1 unstable release

0.1.0 Oct 10, 2018

#9 in #desktop

Download history 3/week @ 2018-10-10

0 downloads per month

Apache-2.0

4KB
96 lines

desktop-rs

A simple and lightweight library that can detect the target platform and it's architecture and desktop environment.

Build Status

Brief example

extern crate desktop;

use desktop::Desktop;

fn main() {
    let d = Desktop::get();
    println!("We are running {} architecure {} using the {} desktop", d.os_name(), d.arch(), d.environment())
}

No runtime deps