[package]
edition = "2021"
name = "off-grid-primitives"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core data structures and logic for the Off-Grid exchange: spot market (L1/L2/L3), order books, matching engine, and account balances"
readme = "README.md"
keywords = [
"exchange",
"trading",
"orderbook",
"matching-engine",
"spot",
]
categories = [
"data-structures",
"finance",
]
license = "MIT"
repository = "https://github.com/digital-native-standard/off-grid-primitives"
[lib]
name = "off_grid_primitives"
path = "src/lib.rs"
[[test]]
name = "account"
path = "tests/account.rs"
[[test]]
name = "orders"
path = "tests/orders.rs"
[[test]]
name = "spot_tests"
path = "tests/spot_tests.rs"
[dependencies.blake3]
version = "1.5"
[dependencies.once_cell]
version = "1.21.3"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_bytes]
version = "0.11"
[dependencies.thiserror]
version = "1.0"
[dependencies.ulid]
version = "1.1"
features = ["serde"]
[dev-dependencies.postcard]
version = "1.0"
features = ["alloc"]
[dev-dependencies.rust-rocksdb]
version = "0.26"
[dev-dependencies.tempfile]
version = "3.12"