Registry / crypto / ic-types

ic-types

JSON →
library0.7.0rscratesunverified

Types related to the Internet Computer Public Specification.

# Cargo.toml [dependencies] ic-types = "0.7.0"
INSTALL
IMPORT
SIG · IC-TYPES
I
ic-types
cryptorustv0.7.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Principal
use ic_types::Principal;

Create and display an Internet Computer principal.

use ic_types::Principal; fn main() { let principal = Principal::from_text("2vxsx-fae").unwrap(); println!("Principal: {}", principal); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.7.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Amazon
1
Resources
ic-types — cargo add ic-types · libregistry