{"id":13711125,"url":"https://github.com/jiacai2050/zig-rocksdb","last_synced_at":"2026-03-08T02:04:32.494Z","repository":{"id":236497834,"uuid":"792602642","full_name":"jiacai2050/zig-rocksdb","owner":"jiacai2050","description":"RocksDB binding for Zig","archived":false,"fork":false,"pushed_at":"2024-10-27T14:35:34.000Z","size":37,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T07:56:51.690Z","etag":null,"topics":["rocksdb","rocksdb-zig","zig","zig-lib","zig-library","zig-package"],"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/jiacai2050.png","metadata":{"files":{"readme":"README.org","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-04-27T03:26:42.000Z","updated_at":"2024-10-30T11:28:34.000Z","dependencies_parsed_at":"2024-11-13T21:35:32.191Z","dependency_job_id":"3086e319-4d62-4141-a5ae-a7573ddb0887","html_url":"https://github.com/jiacai2050/zig-rocksdb","commit_stats":null,"previous_names":["jiacai2050/zig-rocksdb"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiacai2050%2Fzig-rocksdb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiacai2050%2Fzig-rocksdb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiacai2050%2Fzig-rocksdb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiacai2050%2Fzig-rocksdb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jiacai2050","download_url":"https://codeload.github.com/jiacai2050/zig-rocksdb/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248173852,"owners_count":21059595,"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":["rocksdb","rocksdb-zig","zig","zig-lib","zig-library","zig-package"],"created_at":"2024-08-02T23:01:04.760Z","updated_at":"2026-03-08T02:04:32.485Z","avatar_url":"https://github.com/jiacai2050.png","language":"Zig","funding_links":[],"categories":["Interoperability"],"sub_categories":["FFI Bindings"],"readme":"#+TITLE: RocksDB bindings for Zig\n#+DATE: 2024-04-27T11:27:04+0800\n#+LASTMOD: 2025-09-21T19:58:16+0800\n#+AUTHOR: Jiacai Liu\n\n[[https://img.shields.io/badge/zig%20version-0.15.1-blue.svg]]\n[[https://github.com/jiacai2050/zig-rocksdb/actions/workflows/CI.yml][https://github.com/jiacai2050/zig-rocksdb/actions/workflows/CI.yml/badge.svg]]\n\n[[https://github.com/facebook/rocksdb/][RocksDB]] binding for Zig.\n\n* Usage\nSee [[file:examples/basic.zig]], [[file:examples/cf.zig]] for details.\n\n* Documentation\n#+begin_quote\nhttps://jiacai2050.github.io/zig-rocksdb\n#+end_quote\n\n* Installation\n#+begin_src bash\nzig fetch --save=rocksdb https://github.com/jiacai2050/zig-rocksdb/archive/${COMMIT}.tar.gz\n#+end_src\n\nReplace ~${COMMIT}~ with a real one, then in your =build.zig=, import the module like this:\n#+begin_src zig\nconst dep_rocksdb = b.dependency(\"rocksdb\", .{});\nexe.root_module.addImport(\"rocksdb\", dep_rocksdb.module(\"rocksdb\"));\nexe.linkLibC();\n#+end_src\n\nThis library will link to a vendored [[https://github.com/facebook/rocksdb/releases/tag/v9.0.0][librocksdb(v9.0.0)]] by default, you can disable it and link to system-wide with this\n#+begin_src zig\nconst dep_rocksdb = b.dependency(\"rocksdb\", .{ .link_vendor = false });\nexe.linkSystemLibrary(\"rocksdb\");\nexe.linkLibC();\n#+end_src\n* Acknowledge\nThanks to [[https://github.com/rust-rocksdb/rust-rocksdb][rust-rocksdb]], I benefit a lot from it when build this building library.\n\n* License\n[[file:LICENSE][MIT]]\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjiacai2050%2Fzig-rocksdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjiacai2050%2Fzig-rocksdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjiacai2050%2Fzig-rocksdb/lists"}