{"id":18446143,"url":"https://github.com/tensorush/zig-backoff","last_synced_at":"2025-04-15T02:37:38.487Z","repository":{"id":251157617,"uuid":"750523375","full_name":"tensorush/zig-backoff","owner":"tensorush","description":"Zig implementation of exponential backoff algorithm.","archived":false,"fork":false,"pushed_at":"2024-08-01T06:04:04.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-25T02:12:23.729Z","etag":null,"topics":["back-off","backoff","backoff-algorithm","backoff-algorithms","backoff-strategy","collision-avoidance","exponential-backoff","rate-limiting","retry","retry-strategies","retrying","zig","zig-lib","zig-library","zig-package","ziglang"],"latest_commit_sha":null,"homepage":"","language":"Zig","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tensorush.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-01-30T19:54:49.000Z","updated_at":"2024-08-01T06:04:08.000Z","dependencies_parsed_at":"2024-08-01T07:46:58.897Z","dependency_job_id":"76a8e434-a2b4-499e-94da-dbf8b0233ebc","html_url":"https://github.com/tensorush/zig-backoff","commit_stats":null,"previous_names":["tensorush/zig-backoff"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tensorush%2Fzig-backoff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tensorush%2Fzig-backoff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tensorush%2Fzig-backoff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tensorush%2Fzig-backoff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tensorush","download_url":"https://codeload.github.com/tensorush/zig-backoff/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239132557,"owners_count":19587106,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["back-off","backoff","backoff-algorithm","backoff-algorithms","backoff-strategy","collision-avoidance","exponential-backoff","rate-limiting","retry","retry-strategies","retrying","zig","zig-lib","zig-library","zig-package","ziglang"],"created_at":"2024-11-06T07:08:30.847Z","updated_at":"2025-02-16T12:41:24.852Z","avatar_url":"https://github.com/tensorush.png","language":"Zig","readme":"# zig-backoff\n\n[![CI][ci-shd]][ci-url]\n[![LC][lc-shd]][lc-url]\n\n### Zig implementation of [exponential backoff algorithm](https://en.wikipedia.org/wiki/Exponential_backoff).\n\n### :rocket: Usage\n\n- Add `backoff` dependency to `build.zig.zon`.\n\n```sh\nzig fetch --save https://github.com/tensorush/zig-backoff/archive/\u003cgit_tag_or_commit_hash\u003e.tar.gz\n```\n\n- Use `backoff` dependency in `build.zig`.\n\n```zig\nconst backoff_dep = b.dependency(\"backoff\", .{\n    .target = target,\n    .optimize = optimize,\n});\nconst backoff_mod = backoff_dep.module(\"Backoff\");\n\u003ccompile\u003e.root_module.addImport(\"Backoff\", backoff_mod);\n```\n\n\u003c!-- MARKDOWN LINKS --\u003e\n\n[ci-shd]: https://img.shields.io/github/actions/workflow/status/tensorush/zig-backoff/ci.yaml?branch=main\u0026style=for-the-badge\u0026logo=github\u0026label=CI\u0026labelColor=black\n[ci-url]: https://github.com/tensorush/zig-backoff/blob/main/.github/workflows/ci.yaml\n[lc-shd]: https://img.shields.io/github/license/tensorush/zig-backoff.svg?style=for-the-badge\u0026labelColor=black\n[lc-url]: https://github.com/tensorush/zig-backoff/blob/main/LICENSE\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftensorush%2Fzig-backoff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftensorush%2Fzig-backoff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftensorush%2Fzig-backoff/lists"}