# 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 = "2024"
name = "hotfix-web"
version = "0.1.3"
authors = ["David Steiner <david_j_steiner@yahoo.co.nz>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Web API and optional dashboard for the HotFIX engine"
homepage = "https://github.com/Validus-Risk-Management/hotfix"
readme = "README.md"
keywords = [
    "fix",
    "fix-protocol",
    "finance",
    "trading",
    "fx",
]
categories = [
    "finance",
    "encoding",
    "parsing",
]
license = "MIT"
repository = "https://github.com/Validus-Risk-Management/hotfix"
resolver = "2"

[features]
ui = ["dep:hotfix-web-ui"]

[lib]
name = "hotfix_web"
path = "src/lib.rs"

[dependencies.anyhow]
version = "^1.0.75"

[dependencies.async-trait]
version = "0.1.89"

[dependencies.axum]
version = "^0.8"

[dependencies.displaydoc]
version = "0.2"

[dependencies.hotfix]
version = "0.4.1"

[dependencies.hotfix-web-ui]
version = "0.1.4"
optional = true

[dependencies.serde]
version = "^1.0.177"
features = ["derive"]

[dependencies.thiserror]
version = "2"

[dev-dependencies.serde_json]
version = "1.0.143"

[dev-dependencies.tokio]
version = "1"
features = ["full"]

[dev-dependencies.tower]
version = "0.5"

[lints.rust.unexpected_cfgs]
level = "allow"
priority = 0
check-cfg = ["cfg(doc_cfg)"]
