xcassets 0.2.0

Parse Xcode .xcassets catalogs into a typed Rust tree with diagnostics.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
mod diagnostics;
mod error;
mod model;
mod parser;
mod references;

pub use diagnostics::{Diagnostic, DiagnosticCode, Severity};
pub use error::ParseError;
pub use model::{
    AppIconSetContents, AppIconSetNode, Appearance, AssetCatalog, AssetReference,
    AssetReferenceIndex, AssetReferenceKind, ColorEntry, ColorSetContents, ColorSetNode,
    ColorValue, ContentsInfo, FolderContents, FolderNode, FolderProperties, GroupNode, ImageEntry,
    ImageSetContents, ImageSetNode, JsonMap, Node, OpaqueNode, ParseReport, RawContents,
};
pub use parser::parse_catalog;
#[cfg(feature = "parallel")]
pub use parser::parse_catalog_parallel;
pub use references::index_asset_references;