rucash 0.1.4

read Gnucash sql file
Documentation
rucash-0.1.4 has been yanked.

rucash provides a simple interface to GnuCash files stored in xml and SQL (sqlite3, PostgreSQL and MySQL).

xml file should be decompressed to real xml file.

Example

let book = rucash::Book::new("sqlite://money.gnucash").unwrap();
let accounts = book.accounts();

Install

# Cargo.toml
[dependencies]
rucash = { version = "0.1", features = [ "sqlite" ] }

Cargo Feature Flags

  • sqlite: Add support for the self-contained SQLite database engine.
  • postgres: Add support for the Postgres database server.
  • mysql: Add support for the MySQL/MariaDB database server.
  • xml: Add support for xml.