{"id":41714622,"url":"https://github.com/init4tech/mdbx","last_synced_at":"2026-01-30T21:00:48.515Z","repository":{"id":334304692,"uuid":"1140926391","full_name":"init4tech/mdbx","owner":"init4tech","description":"modified fork of reth-libmdbx, with improved lifetime modeling","archived":false,"fork":false,"pushed_at":"2026-01-30T02:57:40.000Z","size":957,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-30T07:24:51.913Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/init4tech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-24T00:03:59.000Z","updated_at":"2026-01-30T02:57:12.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/init4tech/mdbx","commit_stats":null,"previous_names":["init4tech/mdbx"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/init4tech/mdbx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/init4tech%2Fmdbx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/init4tech%2Fmdbx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/init4tech%2Fmdbx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/init4tech%2Fmdbx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/init4tech","download_url":"https://codeload.github.com/init4tech/mdbx/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/init4tech%2Fmdbx/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28919353,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T20:25:28.696Z","status":"ssl_error","status_checked_at":"2026-01-30T20:25:13.426Z","response_time":66,"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":[],"created_at":"2026-01-24T22:07:18.903Z","updated_at":"2026-01-30T21:00:48.510Z","avatar_url":"https://github.com/init4tech.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# signet-libmdbx\n\nRust bindings for [libmdbx].\n\nForked from [reth-libmdbx], which was\nforked from an earlier Apache licenced version of the `libmdbx-rs` crate.\n\nNOTE: Most of the repo came from [lmdb-rs bindings].\n\n## Differences from reth-libmdbx\n\n- Improve documentation :)\n- Add [`TxUnsync`] type for single-threaded transactions.\n  - These may be up to 3x faster than the thread-safe versions.\n- Rename [`Transaction`] to [`TxSync`] for clarity.\n- Improve support for custom `TableObject` types.\n  - Added `TableObjectOwned` trait to represent types that can be deserialized\n    from a database table without borrowing.\n  - Added `ReadError` error type to represent errors that can occur when\n    reading from the database. This captures MDBX errors as well as codec\n    specific errors.\n- More-accurate lifetime semantics\n  - Cursors now have lifetimes tied to the transaction they were created from.\n  - Cursors CANNOT hold transactions open.\n  - All DB reads borrow from the transaction when available.\n- API consistency review\n  - `iter` and `iter_dup` now have consistent behavior (previously, `iter`\n    would start at the next key, while `iter_dup` would start at the current\n    key).\n  - Iteration methods that reposition the cursor now do so BEFORE returning the\n    iterator.\n- Module layout changes\n  - `sys` - Environment and transaction management.\n  - `tx` - module contains transactions, cursors, and iterators\n\n## Updating the libmdbx Version\n\nTo update the libmdbx version you must clone it and copy the `dist/` folder in\n`mdbx-sys/`.\nMake sure to follow the [building steps].\n\n```bash\n# clone libmdbx to a repository outside at specific tag\ngit clone https://github.com/erthink/libmdbx.git ../libmdbx --branch v0.7.0\nmake -C ../libmdbx dist\n\n# copy the `libmdbx/dist/` folder just created into `mdbx-sys/libmdbx`\nrm -rf mdbx-sys/libmdbx\ncp -R ../libmdbx/dist mdbx-sys/libmdbx\n\n# add the changes to the next commit you will make\ngit add mdbx-sys/libmdbx\n```\n\n## Linux Testing\n\nRun tests in a Linux environment (Ubuntu 24.04):\n\n```bash\n# Build the test image\ndocker build -t mdbx-linux-tests .\n\n# Run full checks (fmt, clippy, tests)\ndocker run --rm mdbx-linux-tests\n\n# Run specific commands\ndocker run --rm mdbx-linux-tests cargo test --all-features\ndocker run --rm mdbx-linux-tests cargo clippy --all-features --all-targets\n```\n\n[libmdbx]: https://github.com/erthink/libmdbx\n[reth-libmdbx]: https://github.com/paragidmxyz/reth\n[building steps]: https://github.com/erthink/libmdbx#building\n[lmdb-rs bindings]: https://github.com/mozilla/lmdb-rs\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finit4tech%2Fmdbx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finit4tech%2Fmdbx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finit4tech%2Fmdbx/lists"}