{"id":13626674,"url":"https://github.com/DutchGhost/zorrow","last_synced_at":"2025-04-16T15:31:26.473Z","repository":{"id":46235279,"uuid":"270793010","full_name":"DutchGhost/zorrow","owner":"DutchGhost","description":"Borrowchecker in Zig","archived":false,"fork":false,"pushed_at":"2023-02-04T18:36:15.000Z","size":15,"stargazers_count":106,"open_issues_count":0,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-27T12:45:14.099Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/DutchGhost.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-06-08T19:08:57.000Z","updated_at":"2024-10-26T04:07:47.000Z","dependencies_parsed_at":"2023-02-18T18:35:16.159Z","dependency_job_id":null,"html_url":"https://github.com/DutchGhost/zorrow","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DutchGhost%2Fzorrow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DutchGhost%2Fzorrow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DutchGhost%2Fzorrow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DutchGhost%2Fzorrow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DutchGhost","download_url":"https://codeload.github.com/DutchGhost/zorrow/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223716676,"owners_count":17191090,"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":[],"created_at":"2024-08-01T21:02:26.182Z","updated_at":"2024-11-08T16:31:19.324Z","avatar_url":"https://github.com/DutchGhost.png","language":"Zig","funding_links":[],"categories":["Zig","Language Essentials"],"sub_categories":["Memory Allocator and Management"],"readme":"# Zorrow\nThis is a userlevel implementation of borrowchk in Zig.\n\nThis system is *not* borrowchk, as it requires to pass in unique types for operations\nlike acquiring a borrow, and reading from it. This library does not check for uniqueness\nof the types passed in, it's up to the programmer to do this correctly.\nAn example of what is ment by `unique type`:\n\n```Zig\nvar cell = RefCell(usize, opaque {}).init(10);\n\nvar borrow = cell.borrow(opaque {});\ndefer borrow.release();\n\nvar value = borrow.read(opaque {});\n```\nHere we see `opaque {}` three times. it is required to pass those in, as Zorrow\nheavily relies on unique types passed into it's API.\n\n## Minimum supported `Zig`\n`master`\n\n## Recent changes\n  * 0.2.1\n    * Change all occurrences of `var` as argument type to `anytype`.\n  * 0.2\n    * Allow the use of `.{}` where previously `struct {}` was required.\n  * 0.1\n    * Initial implementation\n\n## Contributors\n  * [suirad](https://github.com/suirad)\n  * [kprotty](https://github.com/kprotty)\n  * [Kassane](https://github.com/kassane)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDutchGhost%2Fzorrow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FDutchGhost%2Fzorrow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDutchGhost%2Fzorrow/lists"}