Crate deentry

Source
Expand description

This is a relatively simple library that is driven by the needs of Lemurs to parse desktop entry files with a permissive license.

use deentry::DesktopEntry;

let desktop_entry = r#"
[Desktop Entry]
Name=CoolApplication
Exec=/path/to/app
"#;

let desktop_entry = DesktopEntry::try_from(desktop_entry)?;

Structs§

DesktopEntry
A Desktop Entry File
DesktopEntryGroup
DesktopEntryGroupEntry
EntryValue
LinedError

Enums§

EntryParseError
GroupHeaderParseError
GroupParseError
ValueBoolError
ValueNumericError
ValueStringError