Registry / utility / shared-ids

shared-ids

JSON →
library0.11.0rscratesunverified

Provides newtype wrappers for different ID types to improve type safety.

# Cargo.toml [dependencies] shared-ids = "0.11.0"
INSTALL
IMPORT
SIG · SHARED-IDS
S
shared-ids
utilityrustv0.11.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.

SharedId
use shared_ids::SharedId;

Creates and uses a newtype ID.

use shared_ids::SharedId; fn main() { let id = SharedId::new("abc123"); println!("{}", id.as_ref()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.11.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
shared-ids — cargo add shared-ids · libregistry