Registry / utility / sptr
library0.3.2rscratesunverified

Polyfill for the Strict Provenance API, enabling pointer provenance operations on stable Rust.

# Cargo.toml [dependencies] sptr = "0.3.2"
INSTALL
IMPORT
SIG · SPTR
S
sptr
utilityrustv0.3.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.

Strict
use sptr::Strict;

Using the Strict trait to get the address of a pointer.

use sptr::Strict; fn main() { let ptr: *const u8 = &42u8; let _addr = ptr.addr(); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
4
Amazon
1
Resources
sptr — cargo add sptr · libregistry