Registry / utility / type-uuid

type-uuid

JSON →
library0.1.2rscratesunverified

Generate stable, safe UUIDs for Rust types for identification and serialization.

# Cargo.toml [dependencies] type-uuid = "0.1.2"
INSTALL
IMPORT
SIG · TYPE-UUID
T
type-uuid
utilityrustv0.1.2
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.

TypeUuid
use type_uuid::TypeUuid;

Define a type with a stable UUID

use type_uuid::TypeUuid; #[derive(TypeUuid)] #[uuid = "12345678-1234-1234-1234-123456789abc"] struct MyType; fn main() { println!("UUID: {}", MyType::UUID); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
type-uuid — cargo add type-uuid · libregistry