{"id":66869,"library":"ckb-systemtime","title":"CKB SystemTime","description":"Provides real system timestamps and faketime support when the `enable_faketime` feature is enabled.","status":"active","version":"1.1.0","language":"rust","source_language":null,"source_url":"https://github.com/nervosnetwork/ckb","tags":["time","faketime","ckb","blockchain"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nckb-systemtime = \"1.1.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add ckb-systemtime","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"unix_time","correct":"use ckb_systemtime::unix_time;"}],"quickstart":{"code":"use ckb_systemtime::unix_time;\n\nfn main() {\n    let now = unix_time();\n    println!(\"Current unix time: {}\", now);\n}","lang":"rust","description":"Gets the current unix timestamp."},"warnings":[{"fix":"Add `enable_faketime` to your Cargo.toml features for `ckb-systemtime`.","message":"Faketime requires the `enable_faketime` feature flag to be enabled.","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"search_vec":"'blockchain':20 'ckb':1,19 'enabl':12,16 'faketim':8,13,18 'featur':14 'provid':3 'real':4 'support':9 'system':5 'systemtim':2 'time':17 'timestamp':6","created_at":"2026-06-17T17:30:02.868922+00:00","updated_at":"2026-06-17T17:30:02.868922+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/nervosnetwork/ckb","github":"https://github.com/nervosnetwork/ckb","docs":"https://docs.rs/ckb-systemtime/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}