Files
komp_ac/Cargo.toml
2026-08-25 13:01:32 +02:00

85 lines
2.3 KiB
TOML

[workspace]
members = ["client", "client-gui", "server", "common", "search", "tui-canvas", "tui-canvas/tui-canvas-validation-core", "tui-pages" ]
resolver = "3"
[workspace.package]
# TODO: idk how to do the name, fix later
# name = "komp_ac"
version = "0.8.48"
edition = "2024"
license = "GPL-3.0-or-later"
authors = ["Filip Priečinský <filippriec@gmail.com>"]
description = "Poriadny uctovnicky software."
readme = "README.md"
repository = "https://gitlab.com/filipriec/komp_ac"
categories = ["command-line-interface"]
# [workspace.metadata]
# TODO:
# documentation = "https://docs.rs/accounting-client"
[workspace.dependencies]
# Async and gRPC
tokio = { version = "1.52.3", features = ["full"] }
tonic = "0.14.6"
prost = "0.14.4"
async-trait = "0.1.89"
prost-types = "0.14.4"
# Data Handling & Serialization
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.150"
time = "0.3.47"
# Utilities & Error Handling
anyhow = "1.0.102"
dotenvy = "0.15.7"
lazy_static = "1.5.0"
tracing = "0.1.44"
# Search crate
tantivy = "0.26.1"
# Steel_decimal crate
rust_decimal = { version = "1.42.0", features = ["maths", "serde"] }
rust_decimal_macros = "1.40.0"
# One version across the workspace: `&'static iso::Currency` only crosses crate
# boundaries if every crate resolves rusty-money to the same instance.
rusty-money = "0.5.0"
thiserror = "2.0.18"
regex = "1.12.4"
# Canvas crate
ratatui = { version = "0.30.1", features = ["crossterm"] }
crossterm = "0.29.0"
toml = "1.1.2"
toml_edit = "0.25.12"
unicode-width = "0.2.2"
unicode-normalization = "0.1.25"
unicode-properties = { version = "0.1.4", features = ["emoji", "general-category"] }
icu_casemap = "2.2.0"
# Fuzzy matching (picker)
nucleo = "0.5.0"
common = { path = "./common" }
# Build against the in-tree tui-pages / tui-canvas (the source for the published
# crates) so local fixes take effect without a crates.io release. The published
# versions remain the declared dependency; this only redirects the source.
[patch.crates-io]
tui-pages = { path = "tui-pages" }
tui-canvas = { path = "tui-canvas" }
# Fast dev loop: keep both workspace crates and dependencies cheap to compile.
# Backtraces still contain symbol names, but omit source line information.
[profile.dev]
opt-level = 0
debug = 0
incremental = true
overflow-checks = true
[profile.dev.package."*"]
opt-level = 0
debug = false