# 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"
name = "cashier-server"
version = "1.0.0"
authors = ["Alen Šiljak"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cashier Ledger-cli server component"
documentation = "https://docs.rs/cashier-server/"
readme = "README.md"
categories = [
    "command-line-utilities",
    "web-programming::http-server",
]
license = "GPL-3.0-or-later"
repository = "https://github.com/alensiljak/cashier-server-rust"

[[bin]]
name = "cashier-server"
path = "src/main.rs"

[[test]]
name = "repl"
path = "tests/repl.rs"

[dependencies.axum]
version = "0.8.0"
features = ["http1"]

[dependencies.base64]
version = "0.22.1"

[dependencies.dotenvy]
version = "0.15.7"

[dependencies.env_logger]
version = "0.11.3"

[dependencies.http]
version = "1.1.0"

[dependencies.log]
version = "0.4.21"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.117"

[dependencies.tokio]
version = "1.43.0"
features = [
    "fs",
    "io-util",
    "macros",
    "process",
    "rt-multi-thread",
    "signal",
]

[dependencies.tower-http]
version = "0.6.1"
features = [
    "cors",
    "trace",
]

[dependencies.tracing]
version = "0.1.40"

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