4 releases

0.2.0 Sep 30, 2023
0.1.2 Jul 11, 2022
0.1.1 Jun 2, 2022
0.1.0 Jun 2, 2022

#1526 in Database interfaces

Download history 155/week @ 2024-07-19 74/week @ 2024-07-26 79/week @ 2024-08-02 80/week @ 2024-08-09 211/week @ 2024-08-16 144/week @ 2024-08-23 165/week @ 2024-08-30 175/week @ 2024-09-06 171/week @ 2024-09-13 151/week @ 2024-09-20 102/week @ 2024-09-27 110/week @ 2024-10-04 148/week @ 2024-10-11 231/week @ 2024-10-18 453/week @ 2024-10-25 189/week @ 2024-11-01

1,036 downloads per month
Used in 6 crates (via libesedb)

LGPL-3.0-or-later

10MB
294K SLoC

C 243K SLoC // 0.1% comments M4 18K SLoC // 0.2% comments Visual Studio Project 15K SLoC Shell 10K SLoC // 0.2% comments Rust 5K SLoC // 0.0% comments Automake 2K SLoC // 0.0% comments Visual Studio Solution 718 SLoC Python 446 SLoC // 0.1% comments C++ 358 SLoC // 0.2% comments RPM Specfile 76 SLoC

Contains (autotools obfuscated code, 2MB) libesedb-20230824/configure, (obscure autoconf code, 9KB) libesedb-20230824/configure.ac

libesedb-sys

Repository Upstream Crate Page Documentation License

Rust -sys bindings to libyal/libesedb.

Building

  • Have a compiler installed (if you're using Rust, you have one).
  • (Optionally) LLVM for bindgen to regenerate the bindings.
  • Should use cargo build -vv for very verbose output to verify cc compiling.

Rebuilding Bindings

bindgen libesedb-20230824/include/libesedb.h -o src/bindings.rs -- -Ilibesedb-20230824/include -fparse-all-comments

Configuring Max Leaf-Pages

Note: the original value of 16 * 1024 has been increased to 32 * 1024 in order for a FileHistory Catalog*.edb of at least 330MB to load.

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"

Updating Bundled libesedb

Authors

libesedb
Copyright (C) 2009-2021, Joachim Metz <joachim.metz@gmail.com>

libesedb-sys
Copyright (C) 2022-2023, Oliver Lenehan ~sunsetkookaburra

License

Dependencies