-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
79 lines (66 loc) · 1.87 KB
/
Cargo.toml
File metadata and controls
79 lines (66 loc) · 1.87 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
[package]
name = "pm_bot_core"
default-run = "engine"
version = "0.1.0"
edition = "2024"
[dependencies]
anyhow = "1"
base64 = "0.22"
chrono = { version = "0.4", default-features = false, features = ["std", "clock"] }
alloy = { version = "1.1.3", features = ["signer-local", "dyn-abi", "eip712"] }
hmac = "0.12"
reqwest = { version = "0.12", features = ["json", "blocking"] }
serde = { version = "1", default-features = false, features = ["derive", "std"] }
serde_json = "1"
sha2 = "0.10"
dotenvy = "0.15"
tokio = { version = "1", features = ["rt-multi-thread", "sync", "time", "macros", "process"] }
tokio-tungstenite = { version = "0.21", features = ["rustls-tls-webpki-roots"] }
futures = "0.3"
polymarket-client-sdk = { version = "0.4", features = ["clob"] }
rust_decimal_macros = "1.34"
rand = "0.8"
rustc-hash = "1.1"
ryu = "1.0"
itoa = "1.0"
memchr = "2"
once_cell = "1"
teloxide = { version = "0.12", features = ["macros"] }
tokio-stream = "0.1"
[dev-dependencies]
criterion = "0.5"
smallstr = "0.3"
[profile.dev]
opt-level = 0 # No optimization (fast compile)
debug = 0 # No debug symbols (saves memory/time)
codegen-units = 256 # Max parallelism per crate
incremental = true # Reuse previous work
[profile.dev.package."*"]
opt-level = 2 # But optimize dependencies
[profile.release]
lto = 'thin' # Link-time optimization
codegen-units = 2 # Better optimization, slower compile
debug = true
[[bin]]
name = "engine"
path = "src/engine.rs"
[[bin]]
name = "test"
path = "src/bin/test.rs"
[[bin]]
name = "check"
path = "src/bin/check.rs"
[[bin]]
name = "stream"
path = "src/bin/stream.rs"
[[bin]]
name = "watch"
path = "src/bin/watch.rs"
[[bin]]
name = "auth"
path = "src/bin/auth.rs"
[[bin]]
name = "bot"
path = "src/bin/bot.rs"
[features]
profiling = []