{"id":63819,"library":"ic-types","title":"Ic Types","description":"Types related to the Internet Computer Public Specification.","status":"active","version":"0.7.0","language":"rust","source_language":null,"source_url":"https://github.com/dfinity/ic-types","tags":["internet-computer","ic","types","principal"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nic-types = \"0.7.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add ic-types","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"Principal","correct":"use ic_types::Principal;"}],"quickstart":{"code":"use ic_types::Principal;\n\nfn main() {\n    let principal = Principal::from_text(\"2vxsx-fae\").unwrap();\n    println!(\"Principal: {}\", principal);\n}","lang":"rust","description":"Create and display an Internet Computer principal."},"warnings":[],"env_vars":null,"search_vec":"'comput':8,13 'ic':1,14 'internet':7,12 'internet-comput':11 'princip':16 'public':9 'relat':4 'specif':10 'type':2,3,15","created_at":"2026-06-17T16:48:22.659610+00:00","updated_at":"2026-06-17T16:48:22.659610+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://docs.rs/ic-types","github":"https://github.com/dfinity/ic-types","docs":"https://docs.rs/ic-types/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["crypto"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}