top_drives/Cargo.toml
Jan-Peter von Hunnius 89fa69e3c8 refactor: extract lib.rs, remove club module, add bounded concurrency
- Extract shared types (Car, BestCarRecord, AnalysisContext) into src/lib.rs
- Replace global static BEST_CARS with injected AnalysisContext for testability
- Add semaphore-bounded concurrency (limit 20) in parse_all_times()
- Replace hardcoded track name match with track_names.json loaded via include_str!
- Replace magic number 115 with const MAX_RQ: u8 = 113
- Improve floating-point tie comparison with TIME_TOLERANCE (5ms) constant
- Remove src/club.rs binary (topdrives.club no longer maintained)
- Remove scraper dependency from Cargo.toml
- Remove tracks.txt (replaced by track_names.json)
- Remove empty/placeholder test bodies
- Improve error handling in get_file() for response body read
- Add load_my_cars_data() combining owned + wishlist extraction in one I/O
- Update CHANGELOG, README, and all docs to reflect changes
2026-05-06 20:20:15 +02:00

21 lines
332 B
TOML

[package]
name = "top_drives"
version = "0.2.0"
edition = "2021"
[lib]
name = "top_drives"
path = "src/lib.rs"
[[bin]]
name = "records"
path = "src/records.rs"
[dependencies]
reqwest = "0.12.15"
tokio = { version = "1.44.1", features = ["full"] }
serde_json = "1.0.140"
futures = "0.3.31"
[dev-dependencies]
tempfile = "3.10.1"