bezant-server 0.3.0

HTTP sidecar exposing the bezant IBKR CPAPI client over REST
Documentation
# 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"
rust-version = "1.89"
name = "bezant-server"
version = "0.3.0"
authors = ["Isaac Rowntree <isaac@triptech.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HTTP sidecar exposing the bezant IBKR CPAPI client over REST"
homepage = "https://github.com/isaacrowntree/bezant"
documentation = "https://docs.rs/bezant-server"
readme = "README.md"
keywords = [
    "ibkr",
    "interactive-brokers",
    "trading",
    "http",
    "sidecar",
]
categories = [
    "command-line-utilities",
    "finance",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/isaacrowntree/bezant"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]
targets = ["x86_64-unknown-linux-gnu"]

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

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

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

[dependencies.anyhow]
version = "1"

[dependencies.axum]
version = "0.8"

[dependencies.bezant-api]
version = "0.3.0"

[dependencies.bezant-core]
version = "0.3.0"

[dependencies.clap]
version = "4"
features = [
    "derive",
    "env",
]

[dependencies.futures-util]
version = "0.3"
default-features = false

[dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "cookies",
    "rustls",
    "charset",
    "http2",
    "query",
    "form",
]
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

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

[dependencies.tower]
version = "0.5"
features = [
    "util",
    "limit",
]

[dependencies.tower-http]
version = "0.6"
features = [
    "trace",
    "cors",
    "timeout",
    "limit",
    "request-id",
    "util",
]

[dependencies.tracing]
version = "0.1"

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

[dependencies.url]
version = "2"

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

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt",
    "net",
]

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

[dev-dependencies.wiremock]
version = "0.6"

[lints.clippy]
module_name_repetitions = "allow"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"

[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1