attheme-rs
A Rust crate for parsing and serialization of .attheme files.
Installing
Add this in your Cargo.toml
:
[]
= "0.1.0"
Examples
Working with variables
extern crate attheme;
use fs;
use Attheme;
let contents = read;
let mut theme = from_bytes;
theme.variables.insert;
if let Some = theme.variables.get
Extracting a theme's wallpaper
extern crate attheme;
use fs;
use Attheme;
let contents = read;
let theme = from_bytes;
if let Some = theme.wallpaper
Documentation
See the documentation on docs.rs.