cik 0.1.5

Support for creating and validating CIKs
Documentation
1
2
3
4
5
6
7
8
9
10
fn main() {
    let cik_value = 320193;
    match cik::build(cik_value) {
        Ok(cik) => {
            println!("Parsed CIK: {}", cik); // "320193"
            println!("  Integer value: {}", cik.value()); // 320193
        }
        Err(err) => panic!("Unable to build CIK from {}: {}", cik_value, err),
    }
}