Skip to content

jenslar/cmdi_lat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cmdi-lat

Experimental (i.e. in flux, and lacking in many places) Rust crate for reading/writing CMDI metadata. Cover two CMDI v1.1 profiles used in MPI Nijmegen's FLAT archiving software:

Usage (not yet on crates.io):

Cargo.toml:

[dependencies]
cmdi-lat = {git = "https://github.com/jenslar/cmdi_lat.git"}

src/main.rs:

use std::path::Path;
use cmdi_lat::Cmd;

fn main() -> std::io::Result<()> {
    let path = Path::new("MYCMDI.cmdi");
    let cmd = Cmd::deserialize(&path)?;
    println!("{cmd:#?}");
    Ok(())
}

Releases

No releases published

Packages

No packages published

Languages