troy 0.1.1

Superfast primitives and data structures for high frequency trading
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"
rust-version = "1.87"
name = "troy"
version = "0.1.1"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Superfast primitives and data structures for high frequency trading"
documentation = "https://docs.rs/troy"
readme = "readme.md"
keywords = [
    "hft",
    "trading",
    "orderbook",
    "decimal",
    "low-latency",
]
categories = [
    "mathematics",
    "data-structures",
]
license = "MIT"
repository = "https://github.com/quantmind/troy"

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

[features]
default = []
rust_decimal = ["dep:rust_decimal"]
serde = ["dep:serde"]
testing = [
    "dep:rand",
    "dep:rand_distr",
]

[lib]
name = "troy"
path = "src/mod.rs"

[[test]]
name = "fuzz"
path = "tests/fuzz.rs"

[[test]]
name = "fuzz_book"
path = "tests/fuzz_book.rs"

[[test]]
name = "oracle"
path = "tests/oracle.rs"

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

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

[dependencies.rand]
version = "0.10.2"
optional = true

[dependencies.rand_distr]
version = "0.6.0"
optional = true

[dependencies.rust_decimal]
version = "1.43"
optional = true

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

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

[dev-dependencies.fastnum]
version = "0.7.5"

[dev-dependencies.proptest]
version = "1.11.0"

[dev-dependencies.rand]
version = "0.10.2"

[dev-dependencies.rand_distr]
version = "0.6.0"

[dev-dependencies.rust_decimal]
version = "1.43"

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

[lints.clippy.all]
level = "warn"
priority = -1

[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unsafe_code = "forbid"