From 34de7f054dbe9aa54d3599451e2bc0cbe8677e81 Mon Sep 17 00:00:00 2001 From: Dustin Carlino Date: Tue, 9 Jan 2024 16:08:09 +0000 Subject: [PATCH] Depend on serde derive feature explicitly --- abstio/Cargo.toml | 2 +- abstutil/Cargo.toml | 2 +- apps/game/Cargo.toml | 2 +- apps/ltn/Cargo.toml | 2 +- apps/map_editor/Cargo.toml | 2 +- apps/santa/Cargo.toml | 2 +- blockfinding/Cargo.toml | 2 +- cli/Cargo.toml | 2 +- collisions/Cargo.toml | 2 +- convert_osm/Cargo.toml | 2 +- headless/Cargo.toml | 2 +- importer/Cargo.toml | 2 +- kml/Cargo.toml | 2 +- map_gui/Cargo.toml | 2 +- map_model/Cargo.toml | 2 +- popdat/Cargo.toml | 2 +- popgetter/Cargo.toml | 2 +- raw_map/Cargo.toml | 2 +- sim/Cargo.toml | 2 +- synthpop/Cargo.toml | 2 +- widgetry/Cargo.toml | 2 +- 21 files changed, 21 insertions(+), 21 deletions(-) diff --git a/abstio/Cargo.toml b/abstio/Cargo.toml index f17143303b..1c2874c44c 100644 --- a/abstio/Cargo.toml +++ b/abstio/Cargo.toml @@ -13,7 +13,7 @@ fs-err = { workspace = true } instant = { workspace = true } log = { workspace = true } reqwest = { version = "0.11.22", default-features=false, features=["rustls-tls"] } -serde = { workspace = true } +serde = { workspace = true, features=["derive"] } serde_json = { workspace = true } [target.'cfg(not(target_arch = "wasm32"))'.dependencies] diff --git a/abstutil/Cargo.toml b/abstutil/Cargo.toml index 33f6ee1519..83ccc1eb7e 100644 --- a/abstutil/Cargo.toml +++ b/abstutil/Cargo.toml @@ -14,7 +14,7 @@ itertools = "0.12.0" log = { workspace = true } num_cpus = "1.16.0" scoped_threadpool = "0.1.9" -serde = { workspace = true } +serde = { workspace = true, features=["derive"] } serde_json = { workspace = true } [target.'cfg(unix)'.dependencies] diff --git a/apps/game/Cargo.toml b/apps/game/Cargo.toml index 779980d510..125aa4bd67 100644 --- a/apps/game/Cargo.toml +++ b/apps/game/Cargo.toml @@ -43,7 +43,7 @@ petname = "1.1.3" popdat = { path = "../../popdat" } rand = { workspace = true } rand_xorshift = { workspace = true } -serde = { workspace = true } +serde = { workspace = true, features=["derive"] } serde_json = { workspace = true } svg_face = "0.1.3" sim = { path = "../../sim" } diff --git a/apps/ltn/Cargo.toml b/apps/ltn/Cargo.toml index 52b17e7bef..990edb4623 100644 --- a/apps/ltn/Cargo.toml +++ b/apps/ltn/Cargo.toml @@ -34,7 +34,7 @@ md5 = "0.7.0" rand = { workspace = true } rand_xorshift = { workspace = true } regex = "1.8.1" -serde = { workspace = true } +serde = { workspace = true, features=["derive"] } serde_json = { workspace = true } osm2streets = { git = "https://github.com/a-b-street/osm2streets" } synthpop = { path = "../../synthpop" } diff --git a/apps/map_editor/Cargo.toml b/apps/map_editor/Cargo.toml index 26423cc74e..1399d0a157 100644 --- a/apps/map_editor/Cargo.toml +++ b/apps/map_editor/Cargo.toml @@ -19,7 +19,7 @@ geom = { workspace = true } getrandom = { workspace = true, optional = true } log = { workspace = true } raw_map = { path = "../../raw_map" } -serde = { workspace = true } +serde = { workspace = true, features=["derive"] } osm2streets = { git = "https://github.com/a-b-street/osm2streets" } structopt = { workspace = true } wasm-bindgen = { workspace = true, optional = true } diff --git a/apps/santa/Cargo.toml b/apps/santa/Cargo.toml index 206a333b3e..1f970f9b9e 100644 --- a/apps/santa/Cargo.toml +++ b/apps/santa/Cargo.toml @@ -24,6 +24,6 @@ map_model = { path = "../../map_model" } rand = { workspace = true } rand_xorshift = { workspace = true } rodio = { version = "0.17.3", default-features = false, features = ["vorbis"] } -serde = { workspace = true } +serde = { workspace = true, features=["derive"] } wasm-bindgen = { workspace = true, optional = true } widgetry = { path = "../../widgetry" } diff --git a/blockfinding/Cargo.toml b/blockfinding/Cargo.toml index 7834a39bd4..082364ef1b 100644 --- a/blockfinding/Cargo.toml +++ b/blockfinding/Cargo.toml @@ -9,4 +9,4 @@ anyhow = { workspace = true } geom = { workspace = true } log = { workspace = true } map_model = { path = "../map_model" } -serde = { workspace = true } +serde = { workspace = true, features=["derive"] } diff --git a/cli/Cargo.toml b/cli/Cargo.toml index eb4cc9d031..8afabddcce 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -19,7 +19,7 @@ osmio = "0.8.1" rand = "0.8.3" rand_xorshift = { workspace = true } raw_map = { path = "../raw_map" } -serde = { workspace = true } +serde = { workspace = true, features=["derive"] } sim = { path = "../sim" } synthpop = { path = "../synthpop" } structopt = { workspace = true } diff --git a/collisions/Cargo.toml b/collisions/Cargo.toml index 6e1beb26a5..8bf9747246 100644 --- a/collisions/Cargo.toml +++ b/collisions/Cargo.toml @@ -8,4 +8,4 @@ edition = "2021" geom = { workspace = true } kml = { path = "../kml" } log = { workspace = true } -serde = { workspace = true } +serde = { workspace = true, features=["derive"] } diff --git a/convert_osm/Cargo.toml b/convert_osm/Cargo.toml index e4c1f1193e..436e9650b7 100644 --- a/convert_osm/Cargo.toml +++ b/convert_osm/Cargo.toml @@ -17,5 +17,5 @@ log = { workspace = true } osm2streets = { git = "https://github.com/a-b-street/osm2streets" } popgetter = { path = "../popgetter" } raw_map = { path = "../raw_map" } -serde = { workspace = true } +serde = { workspace = true, features=["derive"] } streets_reader = { git = "https://github.com/a-b-street/osm2streets" } diff --git a/headless/Cargo.toml b/headless/Cargo.toml index 605f9dee5d..748d566263 100644 --- a/headless/Cargo.toml +++ b/headless/Cargo.toml @@ -16,7 +16,7 @@ log = { workspace = true } map_model = { path = "../map_model" } rand = { workspace = true } rand_xorshift = { workspace = true } -serde = { workspace = true } +serde = { workspace = true, features=["derive"] } serde_json = { workspace = true } sim = { path = "../sim" } synthpop = { path = "../synthpop" } diff --git a/importer/Cargo.toml b/importer/Cargo.toml index 475024a5f6..8f88b9c5c1 100644 --- a/importer/Cargo.toml +++ b/importer/Cargo.toml @@ -27,7 +27,7 @@ popdat = { path = "../popdat" } rand = "0.8.3" rand_xorshift = { workspace = true } raw_map = { path = "../raw_map" } -serde = { workspace = true } +serde = { workspace = true, features=["derive"] } serde_json = { workspace = true } sim = { path = "../sim" } osm2streets = { git = "https://github.com/a-b-street/osm2streets" } diff --git a/kml/Cargo.toml b/kml/Cargo.toml index 59d45d8aad..baffbb8982 100644 --- a/kml/Cargo.toml +++ b/kml/Cargo.toml @@ -12,4 +12,4 @@ csv = { workspace = true } geom = { workspace = true } log = { workspace = true } roxmltree = { version = "0.19.0", features=["std"] } -serde = { workspace = true } +serde = { workspace = true, features=["derive"] } diff --git a/map_gui/Cargo.toml b/map_gui/Cargo.toml index 0ccb05af01..cfbb05245d 100644 --- a/map_gui/Cargo.toml +++ b/map_gui/Cargo.toml @@ -28,7 +28,7 @@ lyon = "1.0.1" map_model = { path = "../map_model" } regex = "1.10.2" rfd = "0.11.3" -serde = { workspace = true } +serde = { workspace = true, features=["derive"] } synthpop = { path = "../synthpop" } structopt = { workspace = true } subprocess = { git = "https://github.com/hniksic/rust-subprocess", optional = true } diff --git a/map_model/Cargo.toml b/map_model/Cargo.toml index 38d6013f1c..ecf83f8af1 100644 --- a/map_model/Cargo.toml +++ b/map_model/Cargo.toml @@ -21,7 +21,7 @@ popgetter = { path = "../popgetter" } rand = { workspace = true } rand_xorshift = { workspace = true } raw_map = { path = "../raw_map" } -serde = { workspace = true } +serde = { workspace = true, features=["derive"] } serde_json = { workspace = true } osm2streets = { git = "https://github.com/a-b-street/osm2streets" } structopt = { workspace = true } diff --git a/popdat/Cargo.toml b/popdat/Cargo.toml index 4a9caf260b..7d137deb74 100644 --- a/popdat/Cargo.toml +++ b/popdat/Cargo.toml @@ -19,7 +19,7 @@ map_model = { path = "../map_model" } rand = { workspace = true } rand_distr = "0.4.3" rand_xorshift = { workspace = true } -serde = { workspace = true } +serde = { workspace = true, features=["derive"] } serde_json = { workspace = true } sim = { path = "../sim" } synthpop = { path = "../synthpop" } diff --git a/popgetter/Cargo.toml b/popgetter/Cargo.toml index 95490257c6..c3fd9af92e 100644 --- a/popgetter/Cargo.toml +++ b/popgetter/Cargo.toml @@ -9,5 +9,5 @@ fs-err = { workspace = true } geo = { workspace = true } geo-types = "0.7.12" geojson = { workspace = true } -serde = { workspace = true } +serde = { workspace = true, features=["derive"] } topojson = { git = "https://github.com/georust/topojson" } diff --git a/raw_map/Cargo.toml b/raw_map/Cargo.toml index 2ea6f47753..4817b3f2d2 100644 --- a/raw_map/Cargo.toml +++ b/raw_map/Cargo.toml @@ -8,7 +8,7 @@ edition = "2021" abstio = { path = "../abstio" } abstutil = { path = "../abstutil" } geom = { workspace = true } -serde = { workspace = true } +serde = { workspace = true, features=["derive"] } osm2streets = { git = "https://github.com/a-b-street/osm2streets" } popgetter = { path = "../popgetter" } strum = "0.24.1" diff --git a/sim/Cargo.toml b/sim/Cargo.toml index d592ab30e6..6bd8066435 100644 --- a/sim/Cargo.toml +++ b/sim/Cargo.toml @@ -19,7 +19,7 @@ map_model = { path = "../map_model" } rand = { workspace = true } rand_distr = "0.4.3" rand_xorshift = { workspace = true } -serde = { workspace = true } +serde = { workspace = true, features=["derive"] } structopt = { workspace = true } synthpop = { path = "../synthpop" } diff --git a/synthpop/Cargo.toml b/synthpop/Cargo.toml index 20747a47b0..ab2f6ec6f1 100644 --- a/synthpop/Cargo.toml +++ b/synthpop/Cargo.toml @@ -12,4 +12,4 @@ log = { workspace = true } map_model = { path = "../map_model" } rand = "0.8.5" rand_xorshift = { workspace = true } -serde = { workspace = true } +serde = { workspace = true, features=["derive"] } diff --git a/widgetry/Cargo.toml b/widgetry/Cargo.toml index 14c67d4249..6bcc2221af 100644 --- a/widgetry/Cargo.toml +++ b/widgetry/Cargo.toml @@ -31,7 +31,7 @@ js-sys = { version = "0.3.47", optional = true } log = { workspace = true } lru = "0.10.0" lyon = "1.0.0" -serde = { workspace = true } +serde = { workspace = true, features=["derive"] } serde_json = { workspace = true } taffy = "0.2.2" tokio = { workspace = true, optional = true }