{"id":17956946,"url":"https://github.com/zhangyuang/timelog","last_synced_at":"2026-02-09T12:33:53.016Z","repository":{"id":258272996,"uuid":"874271119","full_name":"zhangyuang/timelog","owner":"zhangyuang","description":"implement console.time api interface in Rust","archived":false,"fork":false,"pushed_at":"2025-01-19T13:49:36.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-15T14:35:10.548Z","etag":null,"topics":["rust","rust-log","timelog"],"latest_commit_sha":null,"homepage":"https://docs.rs/timelog","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zhangyuang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-17T14:34:10.000Z","updated_at":"2025-01-19T13:49:38.000Z","dependencies_parsed_at":"2024-10-28T09:52:14.303Z","dependency_job_id":"3a0dfdb0-7e45-43ef-883e-37418792b9c1","html_url":"https://github.com/zhangyuang/timelog","commit_stats":null,"previous_names":["zhangyuang/timelog"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zhangyuang/timelog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhangyuang%2Ftimelog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhangyuang%2Ftimelog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhangyuang%2Ftimelog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhangyuang%2Ftimelog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zhangyuang","download_url":"https://codeload.github.com/zhangyuang/timelog/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhangyuang%2Ftimelog/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29265355,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-09T04:11:57.159Z","status":"ssl_error","status_checked_at":"2026-02-09T04:11:56.117Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["rust","rust-log","timelog"],"created_at":"2024-10-29T10:47:52.640Z","updated_at":"2026-02-09T12:33:52.975Z","avatar_url":"https://github.com/zhangyuang.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# timelog\n\nA simple timer library for logging time durations, similar to console.time in JavaScript.\n\n## Features\n\n- Create multiple named timers\n- Start, log, and end timers\n- Print timing results in milliseconds\n- Support for optional additional messages\n\n## Installation\n\nAdd the following line to your `Cargo.toml` file:\n\n```toml\n[dependencies]\ntimelog = \"1.0.0\"\n```\n\n## Usage\n\n```rust\nuse timelog::Timer;\n\nfn main() {\n    let mut timer = Timer::new();\n\n    timer.time(\"fetch_data\");\n\n    let duration: f64 = timer.time_log(\"fetch_data\", true);\n    println!(\"fetch_data took {:.2}ms\", duration);\n}\n```\n\n## Documentation\n\n[timelog](https://docs.rs/timelog)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhangyuang%2Ftimelog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzhangyuang%2Ftimelog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhangyuang%2Ftimelog/lists"}