11 releases

0.2.5 Jan 11, 2024
0.2.4 Sep 30, 2023
0.2.3 Aug 17, 2023
0.2.2 May 8, 2023
0.1.2 Jun 2, 2022

#224 in Database interfaces

Download history 82/week @ 2023-12-22 27/week @ 2023-12-29 33/week @ 2024-01-05 29/week @ 2024-01-12 22/week @ 2024-01-19 22/week @ 2024-01-26 22/week @ 2024-02-02 24/week @ 2024-02-09 56/week @ 2024-02-16 77/week @ 2024-02-23 101/week @ 2024-03-01 145/week @ 2024-03-08 106/week @ 2024-03-15 102/week @ 2024-03-22 99/week @ 2024-03-29 238/week @ 2024-04-05

563 downloads per month
Used in 4 crates (2 directly)

LGPL-3.0-or-later

10MB
296K 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 6K SLoC // 0.0% comments Automake 2K SLoC // 0.0% comments Visual Studio Solution 717 SLoC Python 445 SLoC // 0.1% comments C++ 357 SLoC // 0.2% comments RPM Specfile 75 SLoC

rust-libesedb

Repository Crate Page Documentation License

Safe Rust bindings to libyal/libesedb (via libesedb-sys).

use libesedb::EseDb;

fn main() {
    let filename = std::env::args()
        .nth(1)
        .unwrap_or("Catalog1.edb".to_string());
    let db = EseDb::open(filename).unwrap();
    println!("Db load finished!");
    let string = db.table_by_name("string").unwrap();
    for rec in string.iter_records().unwrap() {
        let rec = rec.unwrap();
        let vals = rec.iter_values().unwrap().map(|v| v.unwrap_or_default().to_string()).collect::<Vec<_>>();
        println!("{}", vals.join("\t"));
    }
}

Test Data

Future Changes

  • v0.3.0
    • Remove close() methods in favour of drop!()
    • Lazy-load Values (store some sort of record reference, similar to current LongValue and MultiValue internally)
    • Values come in either FlatValue, LongValue, MultiValue variants, with a defined ValueType

License and Acknowledgement

This project is made available under the LGPL-3.0-or-later.

The time crate (used in FILETIME/OLETIME conversions) is available under the MIT License.

The core functionality that this library binds to is the hard work of Joachim Metz (~joachimmetz).

Dependencies