Registry / utility / sp-timestamp

sp-timestamp

JSON →
library42.0.0rscratesunverified

Substrate core types and inherents for timestamps.

# Cargo.toml [dependencies] sp-timestamp = "42.0.0"
INSTALL
IMPORT
SIG · SP-TIMESTAMP
S
sp-timestamp
utilityrustv42.0.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.

Timestamp
use sp_timestamp::Timestamp;

Create a Substrate timestamp inherent.

use sp_timestamp::Timestamp; fn main() { let timestamp = Timestamp::new(1234567890); println!("Timestamp: {:?}", timestamp); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
42.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
sp-timestamp — cargo add sp-timestamp · libregistry