[package]
name = "beancount-types"

edition.workspace      = true
publish.workspace      = true
rust-version.workspace = true
version.workspace      = true

[dependencies]
# Inherited dependencies
arrayvec.workspace     = true
delegate.workspace     = true
enum-kinds.workspace   = true
lazy-regex.workspace   = true
miette.workspace       = true
momo.workspace         = true
once_cell.workspace    = true
regex.workspace        = true
rust_decimal.workspace = true
serde.workspace        = true
snafu.workspace        = true
tap.workspace          = true
time.workspace         = true
time-tz.workspace      = true

# Workspace dependencies
beancount-account.path    = "../../beancount/account"
beancount-amount.path     = "../../beancount/amount"
beancount-commodity.path  = "../../beancount/commodity"
beancount-cost.path       = "../../beancount/cost"
beancount-metadata.path   = "../../beancount/metadata"
beancount-price-spec.path = "../../beancount/price-spec"

[dev-dependencies]
# Inherited dependencies
insta.workspace             = true
static_assertions.workspace = true
test-case.workspace         = true

[lints]
workspace = true