bezant-core 0.3.0

Ergonomic facade over bezant-api: session keepalive, pagination, symbol resolution, typed errors for the IBKR CPAPI
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-core"
version = "0.3.0"
authors = ["Isaac Rowntree <isaac@triptech.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Ergonomic facade over bezant-api: session keepalive, pagination, symbol resolution, typed errors for the IBKR CPAPI"
homepage = "https://github.com/isaacrowntree/bezant"
documentation = "https://docs.rs/bezant-core"
readme = "README.md"
keywords = [
    "ibkr",
    "interactive-brokers",
    "trading",
    "finance",
    "api",
]
categories = [
    "api-bindings",
    "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"
path = "src/lib.rs"

[[example]]
name = "health"
path = "examples/health.rs"

[[example]]
name = "list_positions"
path = "examples/list_positions.rs"

[[example]]
name = "stream_quotes"
path = "examples/stream_quotes.rs"

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

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

[dependencies.anyhow]
version = "1"

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

[dependencies.futures-util]
version = "0.3"
features = ["sink"]
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.tokio-tungstenite]
version = "0.29"
features = [
    "connect",
    "rustls-tls-native-roots",
]
default-features = false

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2"

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

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

[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