xfconf-0.2.0+dev has been yanked.
xfconf
This crate is a safe API wrapper around libxfconf, a library that can talk to Xfce's configuration system.
How to use
Add to your project's Cargo.toml:
[]
= "0.1"
The default feature-set of the crate will enable APIs available through
4.20.x. If you'd like to use APIs only available in newer versions of
libxfconf, see the [features] section of Cargo.toml for
version-based features you can enable. For example, to enable new APIs
present through version 4.21.2, you would instead specify:
[]
= { = "0.1", = ["v4_21_2"] }
Example code:
use ChannelExtManual;
init.expect;
let channel = get;
let value = channel.
.unwrap_or_else;
println!;
unsafe ;