A simple and lightweight library that can detect the target platform and it's architecture and desktop environment.
Brief example
externcrate desktop;usedesktop::Desktop;fnmain(){let d =Desktop::get();println!("We are running {} architecure {} using the {} desktop", d.os_name(), d.arch(), d.environment())}