bot-engine 0.1.0

Trading bot engine: order manager, inventory, event routing
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.75"
name = "bot-engine"
version = "0.1.0"
authors = ["Supurr"]
build = false
include = [
    "Cargo.toml",
    "src/**/*.rs",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Trading bot engine: order manager, inventory, event routing"
homepage = "https://supurr.app"
readme = false
license = "MIT"
repository = "https://github.com/Supurr-App/Supurr-Bot"

[package.metadata.wasm-pack.profile.release]
wasm-opt = false

[package.metadata.wasm-pack.profile.dev]
wasm-opt = false

[features]
default = ["native"]
native = [
    "tokio",
    "reqwest",
    "strategy-grid",
    "strategy-dca",
    "strategy-market-maker",
    "strategy-arbitrage",
    "strategy-tick-trader",
    "strategy-rsi",
]
wasm = [
    "wasm-bindgen",
    "wasm-bindgen-futures",
    "gloo-timers",
    "js-sys",
    "console_error_panic_hook",
    "web-sys",
    "bot-core/wasm",
    "strategy-grid",
    "strategy-dca",
    "strategy-market-maker",
    "strategy-arbitrage",
]

[lib]
name = "bot_engine"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.async-lock]
version = "3.0"

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

[dependencies.bot-core]
version = "0.1.0"

[dependencies.bot-orchestrator]
version = "0.1.0"

[dependencies.console_error_panic_hook]
version = "0.1"
optional = true

[dependencies.futures]
version = "0.3"

[dependencies.gloo-timers]
version = "0.3"
features = ["futures"]
optional = true

[dependencies.js-sys]
version = "0.3"
optional = true

[dependencies.reqwest]
version = "0.12"
features = [
    "rustls-tls",
    "json",
]
optional = true
default-features = false

[dependencies.rust_decimal]
version = "1.36"
features = ["serde"]

[dependencies.rust_decimal_macros]
version = "1.36"

[dependencies.schemars]
version = "0.8"
features = ["rust_decimal"]

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

[dependencies.serde_json]
version = "1.0"
features = ["preserve_order"]

[dependencies.strategy-arbitrage]
version = "0.1.0"
optional = true

[dependencies.strategy-dca]
version = "0.1.0"
optional = true

[dependencies.strategy-grid]
version = "0.1.0"
optional = true

[dependencies.strategy-market-maker]
version = "0.1.0"
optional = true

[dependencies.strategy-rsi]
version = "0.1.0"
optional = true

[dependencies.strategy-tick-trader]
version = "0.1.0"
optional = true

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1.40"
features = [
    "rt-multi-thread",
    "sync",
    "time",
    "macros",
    "signal",
]
optional = true

[dependencies.tracing]
version = "0.1"

[dependencies.wasm-bindgen]
version = "0.2.108"
optional = true

[dependencies.wasm-bindgen-futures]
version = "0.4"
optional = true

[dependencies.web-sys]
version = "0.3"
features = ["console"]
optional = true

[dev-dependencies.wasm-bindgen-test]
version = "0.3"