| Crates.io | libesedb-sys |
| lib.rs | libesedb-sys |
| version | 0.2.1 |
| created_at | 2022-06-02 00:16:03.244438+00 |
| updated_at | 2025-06-15 08:39:50.922461+00 |
| description | libesedb FFI bindings for Rust |
| homepage | |
| repository | https://github.com/sunsetkookaburra/rust-libesedb |
| max_upload_size | |
| id | 598586 |
| size | 14,915,665 |
Rust -sys bindings to libyal/libesedb.
bindgen to regenerate the bindings.cargo build -vv for very verbose output to verify cc compiling.bindgen libesedb-20230824/include/libesedb.h -o src/bindings.rs -- -Ilibesedb-20230824/include -fparse-all-comments
https://github.com/libyal/libesedb/pull/69
Note: the original value of 16 * 1024 has been increased as far as possible to (INT_MAX - 1) in order for large databases to load. In my testing the value makes no meaningful difference beyond limiting the sorts/sizes of files you can open.
Via the command-line:
LIBESEDB_MAXIMUM_NUMBER_OF_LEAF_PAGES="32 * 1024" cargo build -vv
In your Cargo.toml:
[env]
LIBESEDB_MAXIMUM_NUMBER_OF_LEAF_PAGES = "32 * 1024"
If you do set a leaf-page maximum, when it is exceeded the error message actually reports back that limit so anyone downstream can provide useful debugging information.
Download/Clone head of the main branch
git clone --branch main --depth 1 https://github.com/libyal/libesedbFollow build instructions https://github.com/libyal/libesedb/wiki/Building
./synclibs.sh./autogen.sh./configuremake dist.tar.gz containing the source distribution versionautoconf, automake, binutils, gcc-core, gcc-g++, gettext-devel, libiconv, libtool, make, pkg-config)Rebuild bindings (see above)
libesedb
Copyright (C) 2009-2023, Joachim Metz <joachim.metz@gmail.com>
libesedb-sys
Copyright (C) 2022-2025, Oliver Lenehan ~sunsetkookaburra
libyal/libesedb is the hard work of Joachim Metz (~joachimmetz), provided under LGPL-3.0-or-later. A distribution version of the library is bundled here.-sys binding is also provided under LGPL-3.0-or-later.