{"id":13344064,"url":"https://github.com/leecannon/zig-bitjuggle","last_synced_at":"2025-07-30T05:35:36.897Z","repository":{"id":118889540,"uuid":"380806444","full_name":"leecannon/zig-bitjuggle","owner":"leecannon","description":"Various \"bit juggling\" helpers and functionality","archived":false,"fork":false,"pushed_at":"2025-03-02T17:55:16.000Z","size":68,"stargazers_count":14,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-15T23:55:55.151Z","etag":null,"topics":["zig","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/leecannon.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,"zenodo":null},"funding":{"github":"leecannon"}},"created_at":"2021-06-27T18:01:20.000Z","updated_at":"2025-03-02T17:55:19.000Z","dependencies_parsed_at":"2025-03-19T09:15:16.553Z","dependency_job_id":null,"html_url":"https://github.com/leecannon/zig-bitjuggle","commit_stats":{"total_commits":35,"total_committers":1,"mean_commits":35.0,"dds":0.0,"last_synced_commit":"644210c61b7590e63c0468819ef6ffc6b9aecf38"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/leecannon/zig-bitjuggle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leecannon%2Fzig-bitjuggle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leecannon%2Fzig-bitjuggle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leecannon%2Fzig-bitjuggle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leecannon%2Fzig-bitjuggle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leecannon","download_url":"https://codeload.github.com/leecannon/zig-bitjuggle/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leecannon%2Fzig-bitjuggle/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267815204,"owners_count":24148360,"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","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["zig","zig-library","zig-package","ziglang"],"created_at":"2024-07-29T19:32:20.033Z","updated_at":"2025-07-30T05:35:36.866Z","avatar_url":"https://github.com/leecannon.png","language":"Zig","funding_links":["https://github.com/sponsors/leecannon"],"categories":[],"sub_categories":[],"readme":"# zig-bitjuggle\n\nThis package contains various \"bit juggling\" helpers and functionality:\n\n- `isBitSet` - Check if a bit is set\n- `getBit` - Get the value of a bit\n- `getBits` - Get a range of bits\n- `setBit` - Set a specific bit\n- `setBits` - Set a range of bits\n- `Bitfield` - Used along with `extern union` to represent arbitrary bit fields\n- `Bit` - Used along with `extern union` to represent bit fields\n- `Boolean` - Used along with `extern union` to represent boolean bit fields\n\n## Installation\n\nAdd the dependency to `build.zig.zon`:\n\n```sh\nzig fetch --save git+https://github.com/leecannon/zig-bitjuggle\n```\n\nThen add the following to `build.zig`:\n\n```zig\nconst bitjuggle = b.dependency(\"bitjuggle\", .{});\nexe.root_module.addImport(\"bitjuggle\", bitjuggle.module(\"bitjuggle\"));\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleecannon%2Fzig-bitjuggle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleecannon%2Fzig-bitjuggle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleecannon%2Fzig-bitjuggle/lists"}