xmpkit 0.1.2

Pure Rust implementation of Adobe XMP Toolkit
Documentation
1
2
3
4
5
6
7
8
9
10
11
fn main() {
    #[cfg(feature = "ohos")]
    {
        // Only setup napi-ohos if we're building for an ohos target
        let target = std::env::var("TARGET").unwrap_or_default();
        if target.contains("ohos") {
            println!("cargo:rustc-cfg=target_ohos");
            napi_build_ohos::setup();
        }
    }
}