# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.77.0" name = "rucash" version = "0.5.0" authors = ["zWindr "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "read Gnucash file" readme = "README.md" keywords = ["gnucash"] categories = ["database"] license = "MIT OR Apache-2.0" repository = "https://github.com/z-Wind/rucash" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "rucash" crate-type = [ "cdylib", "rlib", ] path = "src/lib.rs" [[test]] name = "all" path = "tests/all.rs" required-features = [ "sqlite", "postgresql", "mysql", "xml", ] [[test]] name = "mysql" path = "tests/mysql.rs" required-features = ["mysql"] [[test]] name = "postgresql" path = "tests/postgresql.rs" required-features = ["postgresql"] [[test]] name = "sqlite" path = "tests/sqlite.rs" required-features = ["sqlite"] [[test]] name = "xml" path = "tests/xml.rs" required-features = ["xml"] [[bench]] name = "benchmark" path = "benches/benchmark.rs" harness = false required-features = [ "sqlite", "xml", ] [dependencies.chrono] version = "0.4" [dependencies.flate2] version = "1.0" [dependencies.itertools] version = "0.13" [dependencies.num-traits] version = "0.2" [dependencies.rusqlite] version = "0.32" features = [ "bundled", "chrono", ] optional = true [dependencies.rust_decimal] version = "1.36" optional = true [dependencies.sqlx] version = "0.8" optional = true [dependencies.thiserror] version = "1.0" [dependencies.tokio] version = "1.39" features = ["sync"] [dependencies.xmltree] version = "0.11" optional = true [dev-dependencies.criterion] version = "0.5" features = ["async_tokio"] [dev-dependencies.float-cmp] version = "0.9" [dev-dependencies.pretty_assertions] version = "1.4" [dev-dependencies.tokio] version = "1.39" features = [ "rt-multi-thread", "macros", ] [features] decimal = ["rust_decimal"] default = [] mysql = [ "sqlx_common", "sqlx/mysql", ] postgresql = [ "sqlx_common", "sqlx/postgres", ] schema = [ "sqlx_common", "sqlx/sqlite", ] sqlite = ["rusqlite"] sqlx_common = [ "sqlx/any", "sqlx/runtime-tokio-rustls", "sqlx/macros", "sqlx/chrono", ] xml = ["xmltree"]