Archived
Replaces the template's demo main.rs with a spike that connects to Polymarket's public market channel, subscribes to one market, and logs every frame with its receive time. Adds scripts/ci.sh (fmt, clippy, tests), the project CLAUDE.md, ADR 0001 (OS threads, shared-nothing), and the market channel's message shapes in docs/notes.md: no sequence number, a book hash on every change, mirrored Yes/No books.
22 lines
685 B
TOML
22 lines
685 B
TOML
[package]
|
|
name = "engineering-challenge"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
build = "src/util/build.rs"
|
|
|
|
[dependencies]
|
|
anyhow = "1"
|
|
chrono = "0.4"
|
|
crossbeam = "0.8.4"
|
|
# Not used directly: tungstenite leaves rustls's crypto provider to the app, and
|
|
# rustls panics at runtime unless exactly one (here ring) is enabled.
|
|
rustls = { version = "0.23", default-features = false, features = ["ring"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
tungstenite = { version = "0.30", features = ["rustls-tls-webpki-roots"] }
|
|
|
|
[build-dependencies]
|
|
ergo-sbe = "=0.1.16"
|
|
indexmap = { version = "2", features = ["serde"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_yaml_ng = "0.9"
|