matchcore 0.3.1

A high-performance order book and price-time matching engine implemented as a single-threaded, deterministic, in-memory state machine
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 = "2024"
name = "matchcore"
version = "0.3.1"
authors = ["Minhyuk Kim <kmin1318.dev@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A high-performance order book and price-time matching engine implemented as a single-threaded, deterministic, in-memory state machine"
homepage = "https://github.com/minyukim/matchcore"
documentation = "https://docs.rs/matchcore"
readme = "README.md"
keywords = [
    "orderbook",
    "matching-engine",
    "trading",
    "exchange",
    "finance",
]
categories = [
    "finance",
    "data-structures",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/minyukim/matchcore"
resolver = "2"

[package.metadata.docs.rs]
all-features = true

[features]
default = []
serde = [
    "dep:serde",
    "slab/serde",
]

[lib]
name = "matchcore"
path = "src/lib.rs"

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

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

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

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

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

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

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

[[bench]]
name = "amend"
path = "benches/amend.rs"

[[bench]]
name = "benches"
path = "benches/mod.rs"
harness = false

[[bench]]
name = "cancel"
path = "benches/cancel.rs"

[[bench]]
name = "matching"
path = "benches/matching.rs"

[[bench]]
name = "mixed"
path = "benches/mixed.rs"

[[bench]]
name = "submit"
path = "benches/submit.rs"

[dependencies.rustc-hash]
version = "2.1"

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

[dependencies.slab]
version = "0.4"

[dev-dependencies.criterion]
version = "0.8"

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