[dependencies.cached]
features = ["async"]
version = "0.54.0"
[dependencies.cel-interpreter]
package = "sqlx-ledger-cel-interpreter"
version = "0.11.11"
[dependencies.chrono]
features = ["serde"]
version = "0.4"
[dependencies.derive_builder]
version = "0.20"
[dependencies.futures]
version = "0.3"
[dependencies.opentelemetry]
optional = true
version = "0.27"
[dependencies.rust_decimal]
version = "1.30"
[dependencies.rusty-money]
features = ["iso", "crypto"]
version = "0.4"
[dependencies.serde]
version = "1.0"
[dependencies.serde_json]
version = "1.0"
[dependencies.sqlx]
features = ["runtime-tokio-rustls", "postgres", "rust_decimal", "uuid", "chrono", "json"]
version = "0.8.2"
[dependencies.thiserror]
version = "1.0"
[dependencies.tokio]
features = ["macros"]
version = "1.28"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-opentelemetry]
optional = true
version = "0.28"
[dependencies.uuid]
features = ["serde", "v4"]
version = "1.3"
[dev-dependencies.anyhow]
version = "1.0"
[dev-dependencies.rand]
version = "0.8"
[dev-dependencies.tokio-test]
version = "0.4"
[features]
fail-on-warnings = []
otel = ["opentelemetry", "tracing-opentelemetry"]
[lib]
name = "sqlx_ledger"
path = "src/lib.rs"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["finance"]
description = "An embeddable double sided accounting ledger built on PG/SQLx"
documentation = "https://docs.rs/sqlx-ledger"
edition = "2021"
license = "MIT"
name = "sqlx-ledger"
readme = "README.md"
repository = "https://github.com/GaloyMoney/sqlx-ledger"
resolver = "1"
version = "0.11.11"
[[test]]
name = "account"
path = "tests/account.rs"
[[test]]
name = "helpers"
path = "tests/helpers.rs"
[[test]]
name = "post_transactions"
path = "tests/post_transactions.rs"
[[test]]
name = "tx_template"
path = "tests/tx_template.rs"