[package]
edition = "2024"
rust-version = "1.94.1"
name = "rustrade-framework"
version = "0.4.0"
authors = ["nuniesmith"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Open-source trading bot framework — the facade crate downstream services depend on (imported as `rustrade`)"
readme = "README.md"
keywords = [
"trading",
"crypto",
"bot",
"framework",
]
categories = [
"asynchronous",
"api-bindings",
]
license = "MIT"
repository = "https://github.com/nuniesmith/rustrade"
[package.metadata.docs.rs]
all-features = true
[features]
default = []
prometheus = ["rustrade-supervisor/prometheus"]
[lib]
name = "rustrade"
path = "src/lib.rs"
[[test]]
name = "bot_lifecycle"
path = "tests/bot_lifecycle.rs"
[[test]]
name = "brackets"
path = "tests/brackets.rs"
[[test]]
name = "brain_panic"
path = "tests/brain_panic.rs"
[[test]]
name = "fill_validation"
path = "tests/fill_validation.rs"
[[test]]
name = "multi_brain_ownership"
path = "tests/multi_brain_ownership.rs"
[[test]]
name = "order_intents"
path = "tests/order_intents.rs"
[[test]]
name = "order_tracking"
path = "tests/order_tracking.rs"
[[test]]
name = "phase_2c"
path = "tests/phase_2c.rs"
[[test]]
name = "phase_2d"
path = "tests/phase_2d.rs"
[[test]]
name = "portfolio_race"
path = "tests/portfolio_race.rs"
[[test]]
name = "risk_gates"
path = "tests/risk_gates.rs"
[[test]]
name = "state_persistence"
path = "tests/state_persistence.rs"
[dependencies.anyhow]
version = "1"
[dependencies.async-trait]
version = "0.1"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.rustrade-core]
version = "0.4.0"
[dependencies.rustrade-risk]
version = "0.4.0"
[dependencies.rustrade-supervisor]
version = "0.4.0"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"time",
"sync",
"signal",
"fs",
]
[dependencies.tokio-util]
version = "0.7"
features = ["rt"]
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[dev-dependencies.chrono]
version = "0.4"
features = ["serde"]
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"time",
"sync",
"signal",
"rt-multi-thread",
"macros",
"time",
"test-util",
]