# 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"
rust-version = "1.85"
name = "fts-server"
version = "0.3.0"
authors = [
    "Jason Dark <jason.dark@forwardmarketdesign.com>",
    "Fabio Isler <fabio.isler@forwardmarketdesign.com>",
]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A RESTful flow trading API server"
readme = "README.md"
license = "MIT"
resolver = "2"

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

[[bin]]
name = "generate-openapi"
path = "src/bin/generate-openapi.rs"

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

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

[dependencies.axum]
version = "0.8"
features = [
    "json",
    "macros",
    "query",
]

[dependencies.axum-extra]
version = "0.10"
features = [
    "query",
    "typed-header",
]

[dependencies.dashmap]
version = "6.1"
features = ["inline"]

[dependencies.fts-core]
version = "0.2.0"

[dependencies.fts-solver]
version = "0.4.0"
features = [
    "clarabel",
    "serde",
]

[dependencies.jwt-simple]
version = "0.12"
features = ["pure-rust"]
default-features = false

[dependencies.rustc-hash]
version = "2.1"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.time]
version = "0.3"
features = [
    "formatting",
    "parsing",
    "serde",
]

[dependencies.tokio]
version = "1.44"
features = ["full"]

[dependencies.tokio-stream]
version = "0.1"
features = ["sync"]

[dependencies.tower-http]
version = "0.6"
features = ["cors"]

[dependencies.tracing]
version = "0.1"

[dependencies.utoipa]
version = "5.3"
features = [
    "axum_extras",
    "yaml",
]

[dependencies.utoipa-rapidoc]
version = "6.0"
features = ["axum"]

[dependencies.uuid]
version = "1.16"
features = ["v4"]

[dev-dependencies.axum-test]
version = "17.3"

[dev-dependencies.http-body-util]
version = "0.1"

[dev-dependencies.rstest]
version = "0.25"
default-features = false

[dev-dependencies.rstest_reuse]
version = "0.7"

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

[dev-dependencies.urlencoding]
version = "2.1"
