Rust cleanup (separate files, idiomatic rust, etc)

This commit is contained in:
2025-05-29 01:04:37 -04:00
parent a3ca94e200
commit c7413aeda3
7 changed files with 980 additions and 708 deletions

View File

@ -1,19 +1,21 @@
[package]
name = "ebay_scraper_rust"
version = "0.1.0"
edition = "2021"
edition = "2024"
[dependencies]
clap = { version = "4.4", features = ["derive"] }
reqwest = { version = "0.11", features = ["json", "stream"] } # Removed "blocking" as we use tokio
scraper = "0.18"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
regex = "1.10"
tokio = { version = "1", features = ["full"] }
url = "2.5"
clap = { version = "4.5.39", features = ["derive"] }
reqwest = { version = "0.12.18", features = ["json", "stream"] } # Removed "blocking" as we use tokio
scraper = "0.23.1"
serde = { version = "1.0.219", features = ["derive"] }
serde_json = "1.0.140"
regex = "1.11.1"
tokio = { version = "1.45.1", features = ["full"] }
url = "2.5.4"
# path-slash is not strictly needed if using std::path::PathBuf correctly
bytes = "1.5"
chrono = { version = "0.4", features = ["serde"] }
lazy_static = "1.4.0"
futures = "0.3" # For join_all on async tasks
bytes = "1.10.1"
chrono = { version = "0.4.41", features = ["serde"] }
lazy_static = "1.5.0"
futures = "0.3.31" # For join_all on async tasks
tracing = "0.1.41"
tracing-subscriber = { version = "0.3.19", features = ["fmt"] }