Rust implementation of the ISCC specification
Add this to your Cargo.toml
:
toml
[dependencies]
iscc-rs = "0.2"
This example shows how to create an ISCC Code. ```rust use std::error::Error;
use iscc::{contentidtext, dataid, instanceid, meta_id};
fn main() -> Result<(), Box
// Join ISCC Components to fully qualified ISCC Code
let iscc_code = [mid, cid, did, iid].join("-");
println!("ISCC: {}", iscc_code);
Ok(())
} ```