diff --git a/Cargo.toml b/Cargo.toml index 5cec0c7..9f42b84 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,3 +1,10 @@ [workspace] resolver = "2" members = ["scraper", "airbnb"] + +[workspace.dependencies] +csv = "1.2.2" +serde = { version = "1.0.188", features = ["derive"] } +thirtyfour = "0.31.0" +tokio = { version = "1.32.0", features = ["full"] } +url = "2.4.1" diff --git a/airbnb/Cargo.toml b/airbnb/Cargo.toml index 0cd0422..3c18772 100644 --- a/airbnb/Cargo.toml +++ b/airbnb/Cargo.toml @@ -6,8 +6,8 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -csv = "1.2.2" -serde = { version = "1.0.188", features = ["derive"] } -thirtyfour = "0.31.0" -tokio = { version = "1.32.0", features = ["full"] } -url = "2.4.1" +csv = { workspace = true } +serde = { workspace = true } +thirtyfour = { workspace = true } +tokio = { workspace = true } +url = { workspace = true } diff --git a/scraper/Cargo.toml b/scraper/Cargo.toml index 17975b7..e1b7fd0 100644 --- a/scraper/Cargo.toml +++ b/scraper/Cargo.toml @@ -7,4 +7,4 @@ edition = "2021" [dependencies] airbnb = { path = "../airbnb" } -tokio = { version = "1.32.0", features = ["full"] } +tokio = { workspace = true }