Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
60 lines (52 loc) · 1.63 KB
/
Copy pathCargo.toml
File metadata and controls
60 lines (52 loc) · 1.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[package]
name = "mantis-bench"
description = "Benchmark harness and perf-counter utilities for the Mantis SDK"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true
[features]
default = []
asm = ["mantis-platform/asm"]
perf-counters = ["mantis-platform/perf-counters"]
bench-fixed-contenders = ["dep:rust_decimal", "dep:fixed", "dep:fast-float2", "dep:lexical-core"]
bench-seqlock-contenders = ["dep:seqlock"]
bench-seqlock-contenders-cpp = ["dep:cc"]
[dependencies]
mantis-core = { workspace = true }
mantis-types = { workspace = true }
mantis-queue = { workspace = true, features = ["alloc"] }
mantis-platform = { workspace = true, features = ["std"] }
mantis-fixed = { workspace = true }
mantis-seqlock = { workspace = true }
mantis-events = { workspace = true }
mantis-market-state = { workspace = true }
mantis-binance = { workspace = true }
mantis-polymarket = { workspace = true }
mantis-registry = { workspace = true }
criterion = { workspace = true }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
sonic-rs = { workspace = true, optional = true }
rust_decimal = { version = "1", optional = true }
fixed = { version = "1", optional = true }
seqlock = { version = "0.2", optional = true }
fast-float2 = { workspace = true, optional = true }
lexical-core = { workspace = true, optional = true }
[build-dependencies]
cc = { version = "1", optional = true }
[lints]
workspace = true
[[bench]]
name = "fixed"
harness = false
[[bench]]
name = "seqlock"
harness = false
[[bench]]
name = "market_state"
harness = false
[[bench]]
name = "decode"
harness = false