freedesktop
Rust implementations of the freedesktop.org specifications for Linux desktop integration.
This crate provides a unified interface to freedesktop standards through optional features.
Features
core(default) - XDG base directories and desktop environment detectionapps(default) - Desktop Entry parsing and application executioncli- Command-line utilities (enablesapps)
Quick Start
XDG Base Directories
#
#
Desktop Applications
#
#
Feature Usage
# Default - includes core and apps
= "0.1.0"
# Only XDG base directories
= { = "0.1.0", = false, = ["core"] }
# Only desktop applications (automatically includes core)
= { = "0.1.0", = false, = ["apps"] }