mirror of
https://github.com/luxfi/dex.git
synced 2026-09-24 00:26:31 +00:00
Lux Partners Limited is not the entity behind this work. Every place the old name stood — copyright lines, site footers, brand config, legal and compliance text — now names the company that actually holds it. lux.fund is the exception and is not renamed to match: that site belongs to Lux Assets Management LLC, a different company, and it says so. Two kinds of line were left for a person rather than rewritten. A dated news item recording that Lux Partners Limited was established in the Isle of Man is a historical fact, and renaming it would falsify the record. And a sentence asserting that the company is domiciled in the Isle of Man is a claim about a jurisdiction, not a name — an Inc or an LLC is not an Isle of Man company, so swapping the name there would assert something untrue. Co-authored-by: Hanzo Dev <[email protected]>
82 lines
1.8 KiB
TOML
82 lines
1.8 KiB
TOML
[package]
|
|
name = "lx-trading-core"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
authors = ["Lux Industries Inc <[email protected]>"]
|
|
description = "High-frequency trading SDK with unified liquidity aggregation"
|
|
license = "MIT"
|
|
repository = "https://github.com/luxfi/dex"
|
|
keywords = ["trading", "hft", "defi", "ccxt", "hummingbot"]
|
|
|
|
[lib]
|
|
name = "lx_trading"
|
|
crate-type = ["cdylib", "rlib", "staticlib"]
|
|
|
|
[features]
|
|
default = ["ccxt", "hummingbot", "native"]
|
|
ccxt = []
|
|
hummingbot = []
|
|
native = []
|
|
|
|
[dependencies]
|
|
# Async runtime
|
|
tokio = { version = "1.35", features = ["full"] }
|
|
async-trait = "0.1"
|
|
futures = "0.3"
|
|
|
|
# Serialization
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
toml = "0.8"
|
|
|
|
# Networking
|
|
reqwest = { version = "0.11", features = ["json", "rustls-tls"] }
|
|
tokio-tungstenite = { version = "0.21", features = ["rustls-tls-native-roots"] }
|
|
url = "2.5"
|
|
|
|
# Crypto
|
|
hmac = "0.12"
|
|
sha2 = "0.10"
|
|
hex = "0.4"
|
|
base64 = "0.21"
|
|
|
|
# Data structures
|
|
rust_decimal = { version = "1.33", features = ["serde"] }
|
|
dashmap = "5.5"
|
|
crossbeam = "0.8"
|
|
parking_lot = "0.12"
|
|
|
|
# Time
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
|
|
# Logging
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
|
|
# Error handling
|
|
thiserror = "1.0"
|
|
anyhow = "1.0"
|
|
|
|
# UUID for order IDs
|
|
uuid = { version = "1.6", features = ["v4", "serde"] }
|
|
|
|
# Python bindings (optional)
|
|
# pyo3 removed with the dead `python` feature it existed for. An optional
|
|
# dependency implicitly declares a feature of the same name, so --all-features
|
|
# kept building it — and CI runs `cargo clippy --all-features` and
|
|
# `cargo test --all-features`. Nothing in this crate uses pyo3 now.
|
|
|
|
# C FFI
|
|
libc = "0.2"
|
|
|
|
[dev-dependencies]
|
|
tokio-test = "0.4"
|
|
criterion = "0.5"
|
|
mockall = "0.12"
|
|
rand = "0.8"
|
|
rust_decimal_macros = "1.33"
|
|
|
|
[[example]]
|
|
name = "arbitrage_bot"
|
|
path = "examples/arbitrage_bot.rs"
|