Skip to content

Commit

Permalink
Move geom to its own repo
Browse files Browse the repository at this point in the history
  • Loading branch information
dabreegster committed Nov 27, 2023
1 parent a3f31bb commit 4c69f7e
Show file tree
Hide file tree
Showing 49 changed files with 43 additions and 5,326 deletions.
23 changes: 17 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ members = [
"cli",
"collisions",
"convert_osm",
"geom",
"headless",
"importer",
"kml",
Expand Down Expand Up @@ -49,6 +48,7 @@ futures = { version = "0.3.27"}
futures-channel = { version = "0.3.29"}
geo = "0.26.0"
geojson = { version = "0.24.1", features = ["geo-types"] }
geom = { git = "https://github.com/a-b-street/geom" }
getrandom = "0.2.11"
instant = "0.1.7"
log = "0.4.20"
Expand All @@ -65,7 +65,6 @@ web-sys = "0.3.65"
# due to the 2 core dependency crates listed below. This patch is required to
# avoid Cargo from getting confused.
[patch."https://github.com/a-b-street/abstreet/"]
geom = { path = "geom" }
abstutil = { path = "abstutil" }

[patch.crates-io]
Expand Down
2 changes: 1 addition & 1 deletion apps/fifteen_min/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ abstio = { path = "../../abstio" }
abstutil = { path = "../../abstutil" }
contour = { workspace = true }
geojson = { workspace = true }
geom = { path = "../../geom" }
geom = { workspace = true }
getrandom = { workspace = true, optional = true }
log = { workspace = true }
map_gui = { path = "../../map_gui" }
Expand Down
2 changes: 1 addition & 1 deletion apps/game/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ fs-err = { workspace = true }
futures-channel = { workspace = true }
geo = { workspace = true }
geojson = { workspace = true }
geom = { path = "../../geom" }
geom = { workspace = true }
getrandom = { workspace = true, optional = true }
instant = { workspace = true }
kml = { path = "../../kml" }
Expand Down
2 changes: 1 addition & 1 deletion apps/ltn/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ flate2 = { workspace = true }
futures-channel = { workspace = true }
geo = { workspace = true }
geojson = { workspace = true }
geom = { path = "../../geom" }
geom = { workspace = true }
getrandom = { workspace = true, optional = true }
home = { version = "0.5.5", optional = true }
lazy_static = "1.4.0"
Expand Down
2 changes: 1 addition & 1 deletion apps/map_editor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ wasm = ["getrandom/js", "wasm-bindgen", "widgetry/wasm-backend"]
abstio = { path = "../../abstio" }
abstutil = { path = "../../abstutil" }
fs-err = { workspace = true }
geom = { path = "../../geom" }
geom = { workspace = true }
getrandom = { workspace = true, optional = true }
log = { workspace = true }
raw_map = { path = "../../raw_map" }
Expand Down
2 changes: 1 addition & 1 deletion apps/osm_viewer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ wasm = ["getrandom/js", "map_gui/wasm", "wasm-bindgen", "widgetry/wasm-backend"]
[dependencies]
abstio = { path = "../../abstio" }
abstutil = { path = "../../abstutil" }
geom = { path = "../../geom" }
geom = { workspace = true }
getrandom = { workspace = true, optional = true }
map_gui = { path = "../../map_gui" }
map_model = { path = "../../map_model" }
Expand Down
2 changes: 1 addition & 1 deletion apps/parking_mapper/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ abstio = { path = "../../abstio" }
abstutil = { path = "../../abstutil" }
anyhow = { workspace = true }
fs-err = { workspace = true }
geom = { path = "../../geom" }
geom = { workspace = true }
log = { workspace = true }
map_gui = { path = "../../map_gui" }
map_model = { path = "../../map_model" }
Expand Down
2 changes: 1 addition & 1 deletion apps/santa/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ wasm = ["getrandom/js", "map_gui/wasm", "wasm-bindgen", "widgetry/wasm-backend"]
abstio = { path = "../../abstio" }
abstutil = { path = "../../abstutil" }
anyhow = { workspace = true }
geom = { path = "../../geom" }
geom = { workspace = true }
getrandom = { workspace = true, optional = true }
kml = { path = "../../kml" }
log = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion blockfinding/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2021"
[dependencies]
abstutil = { path = "../abstutil" }
anyhow = { workspace = true }
geom = { path = "../geom" }
geom = { workspace = true }
log = { workspace = true }
map_model = { path = "../map_model" }
serde = { workspace = true }
2 changes: 1 addition & 1 deletion cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ convert_osm = { path = "../convert_osm" }
csv = { workspace = true }
fs-err = { workspace = true }
geo = { workspace = true }
geom = { path = "../geom" }
geom = { workspace = true }
importer = { path = "../importer" }
log = { workspace = true }
map_model = { path = "../map_model" }
Expand Down
2 changes: 1 addition & 1 deletion collisions/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ authors = ["Dustin Carlino <[email protected]>"]
edition = "2021"

[dependencies]
geom = { path = "../geom" }
geom = { workspace = true }
kml = { path = "../kml" }
log = { workspace = true }
serde = { workspace = true }
2 changes: 1 addition & 1 deletion convert_osm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ abstutil = { path = "../abstutil" }
anyhow = { workspace = true }
csv = { workspace = true }
fs-err = { workspace = true }
geom = { path = "../geom" }
geom = { workspace = true }
kml = { path = "../kml" }
log = { workspace = true }
osm2streets = { git = "https://github.com/a-b-street/osm2streets" }
Expand Down
24 changes: 0 additions & 24 deletions geom/Cargo.toml

This file was deleted.

17 changes: 0 additions & 17 deletions geom/README.md

This file was deleted.

137 changes: 0 additions & 137 deletions geom/src/angle.rs

This file was deleted.

Loading

0 comments on commit 4c69f7e

Please sign in to comment.