desktop 0.1.0

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

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())
}