[workspace]
members = [
  "beancount/cost", "beancount/metadata",
  "common/beancount-pretty-printer",
  "common/beancount-tree-writer",
  "common/beancount-types",
  "common/german-decimal",
  "framework",
  "generators",
  "importers/amazon",
  "importers/apple",
  "importers/bw-bank",
  "importers/dkb",
  "importers/ebase",
  "importers/ecus",
  "importers/fidor",
  "importers/paypal",
  "importers/uniondepot",
  "importers/vr-bank",
  "parsers/iso20022-parser",
]
resolver = "2"

[workspace.dependencies]
arrayvec             = "0.7.4"
beef                 = "0.5.2"
bstr                 = "1.8.0"
cargo_px_env         = "0.1.0"
clap-verbosity-flag  = "2.1.0"
color-eyre           = "0.6.2"
csv                  = "1.3.0"
delegate             = "0.10.0"
derive_builder       = "0.12.0"
either               = "1.9.0"
enum-kinds           = "0.5.1"
extend               = "1.2.0"
fixed_decimal        = "0.5.4"
forward_ref_generic  = "0.2.1"
hard-xml             = "1.27.0"
heck                 = "0.4.1"
icu_datagen          = "1.3.3"
icu_decimal          = "1.3.2"
icu_locid            = "1.3.2"
icu_locid_transform  = "1.3.2"
icu_testdata         = "1.3.3"
insta                = "1.34.0"
inventory            = "0.3.13"
isin                 = "0.1.18"
isolang              = "2.3.0"
itertools            = "0.11.0"
lazy-regex           = "3.1.0"
lei                  = "0.2.5"
linkme               = "0.3.17"
litemap              = "0.7.1"
maplit               = "1.0.2"
miette               = "5.10.0"
momo                 = "0.2.2"
once_cell            = "1.18.0"
petgraph             = "0.6.4"
pretty_assertions    = "1.4.0"
proc-macro2          = "1.0.69"
proptest             = "1.4.0"
quick-xml            = "0.31.0"
quote                = "1.0.33"
rayon                = "1.8.0"
regex                = "1.10.2"
relative-path        = "1.9.0"
ron                  = "0.8.1"
rust_decimal         = "1.33.0"
rust_decimal_macros  = "1.33.0"
serde_json           = "1.0.108"
snafu                = "0.7.5"
static_assertions    = "1.1.0"
syn                  = "2.0.39"
tap                  = "1.0.1"
test-case            = "3.2.1"
toml_edit            = "0.21.0"
tracing              = "0.1.40"
tracing-error        = "0.2.0"
tracing-log          = "0.2.0"
unicode-segmentation = "1.10.1"
watt                 = "=0.5.0"
zerovec              = "0.10.0"

[workspace.dependencies.camino]
features = ["serde1"]
version  = "1.1.6"

[workspace.dependencies.clap]
features = ["derive"]
version  = "4.4.8"

[workspace.dependencies.dashmap]
features = ["rayon"]
version  = "5.5.3"

[workspace.dependencies.hashbrown]
features = ["rayon", "serde"]
version  = "0.14.2"

[workspace.dependencies.iban_validate]
features = ["serde"]
version  = "4.0.1"

[workspace.dependencies.icu_provider]
features = ["sync"]
version  = "1.3.2"

[workspace.dependencies.iso_country]
features = ["serde"]
version  = "0.1.4"

[workspace.dependencies.iso_currency]
features = ["with-serde"]
version  = "0.4.4"

[workspace.dependencies.serde]
features = ["derive"]
version  = "1.0.192"

[workspace.dependencies.time]
features = [
  "formatting",
  "local-offset",
  "macros",
  "parsing",
  "serde-human-readable",
]
version = "0.3.30"

[workspace.dependencies.time-tz]
features = ["db", "system"]
version  = "2.0.0"

[workspace.dependencies.tracing-subscriber]
features = ["env-filter"]
version  = "0.3.18"

[workspace.dependencies.uuid]
features = ["v4"]
version  = "1.5.0"

[workspace.dependencies.xxhash-rust]
features = ["xxh3"]
version  = "0.8.7"

## Workspace crates
[workspace.dependencies.beancount-commodity]
path = "beancount/commodity"

[workspace.lints.clippy]
all      = "warn"
nursery  = "warn"
pedantic = "warn"

[workspace.package]
authors      = ["Markus Haug <korrat@protonmail.com>"]
edition      = "2021"
publish      = false
rust-version = "1.71"
version      = "0.0.0-dev.0"

[profile.release-lto]
codegen-units = 1
incremental   = false
inherits      = "release"
lto           = "thin"