Skip to content

Commit

Permalink
Unlink geo-types from the rest of the crates
Browse files Browse the repository at this point in the history
Remove `geo-types` patches in `Cargo.toml` files, so that `geo-types` is now completelly separated from the rest of the code.

This should be reverted once geo-types 0.8+ is released.
  • Loading branch information
nyurik committed Apr 6, 2022
1 parent 9ff2946 commit 90d7f82
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 6 deletions.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ members = ["geo", "geo-types", "geo-postgis", "geo-test-fixtures", "jts-test-run

# Ensure any transitive dependencies also use the local geo/geo-types
geo = { path = "geo" }
geo-types = { path = "geo-types" }
# Uncomment this after geo-types 0.8+ is published with TZM support
# geo-types = { path = "geo-types" }
4 changes: 3 additions & 1 deletion geo-postgis/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@ edition = "2021"

[dependencies]
postgis = { version = ">=0.7.0, <0.9.0" }
geo-types = { version = "0.7", path = "../geo-types" }
geo-types = "0.7.4"
# Use this after geo-types 0.8+ is published with TZM support
#geo-types = { version = "0.8", path = "../geo-types" }
4 changes: 3 additions & 1 deletion geo-test-fixtures/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ publish = false

[dependencies]
wkt = { version = "0.10.0", default-features = false }
geo-types = { path = "../geo-types" }
geo-types = "0.7.4"
# Use this after geo-types 0.8+ is published with TZM support
#geo-types = { version = "0.8", path = "../geo-types" }
2 changes: 1 addition & 1 deletion geo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ proj-network = ["use-proj", "proj/network"]
use-serde = ["serde", "geo-types/serde"]

[dependencies]
geo-types = { version = "0.7.3", features = ["approx", "use-rstar"] }
geo-types = { version = "0.7.4", features = ["approx", "use-rstar"] }
geographiclib-rs = "0.2"
log = "0.4.11"
num-traits = "0.2"
Expand Down
6 changes: 4 additions & 2 deletions geo/fuzz/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ path = ".."

[dependencies.geo-types]
features = ["arbitrary"]
path = "../../geo-types"
# Uncomment after geo-types 0.8+ is published with TZM support
# path = "../../geo-types"

# Prevent this from interfering with workspaces
[workspace]
Expand All @@ -30,4 +31,5 @@ doc = false

[patch.crates-io]
geo = { path = ".." }
geo-types = { path = "../../geo-types" }
# Uncomment after geo-types 0.8+ is published with TZM support
# geo-types = { path = "../../geo-types" }

0 comments on commit 90d7f82

Please sign in to comment.