#desktop #os #desktop-rs

desktop

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

3 releases

0.1.2 Oct 10, 2018
0.1.1 Oct 10, 2018
0.1.0 Oct 10, 2018

#45 in Operating systems

Download history 21/week @ 2018-10-11 26/week @ 2018-10-18 4/week @ 2018-10-25 8/week @ 2018-11-01 29/week @ 2018-11-08 19/week @ 2018-11-15 3/week @ 2018-11-22

17 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