Skip to content

Commit

Permalink
Merge pull request #14 from metasim/fix/relative-workspace
Browse files Browse the repository at this point in the history
Updated workspace manifests to use relative paths to sibling packages
  • Loading branch information
metasim authored Nov 6, 2022
2 parents 3284f63 + 47b2d28 commit 7e91804
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 29 deletions.
11 changes: 6 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ members = [
]
default-members = ["ogcapi"]

[patch.crates-io]
ogcapi-types = { path = "ogcapi-types" }
ogcapi-drivers = { path = "ogcapi-drivers" }
ogcapi-services = { path = "ogcapi-services" }
ogcapi-client = { path = "ogcapi-client" }
[workspace.package]
license = "MIT OR Apache-2.0"
repository = "https://github.com/georust/ogcapi"
edition = "2021"
rust-version = "1.64"

11 changes: 6 additions & 5 deletions ogcapi-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
name = "ogcapi-client"
version = "0.1.0"
description = "Client to access OGC API Feature and STAC endpoints."
license = "MIT OR Apache-2.0"
repository = "https://github.com/camptocamp/ogcapi"
edition = "2021"
license.workspace = true
repository.workspace = true
edition.workspace = true
rust-version.workspace = true

[features]
default = []
Expand All @@ -18,6 +19,6 @@ serde = { version = "1.0.145", features = ["derive"] }
serde_json = "1.0.85"
serde_qs = "0.10.1"
thiserror = "1.0.35"
url = { version = "2.3.1", features = ["serde"]}
url = { version = "2.3.1", features = ["serde"] }

ogcapi-types = "0.1.0"
ogcapi-types = { path = "../ogcapi-types" }
9 changes: 5 additions & 4 deletions ogcapi-drivers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
name = "ogcapi-drivers"
version = "0.1.3"
description = "Driver traits and implementations"
license = "MIT OR Apache-2.0"
repository = "https://github.com/camptocamp/ogcapi"
edition = "2021"
license.workspace = true
repository.workspace = true
edition.workspace = true
rust-version.workspace = true

include = ["/src", "/migrations"]

Expand All @@ -25,4 +26,4 @@ sqlx = { version = "0.6.2", optional = true, features = ["runtime-tokio-rustls",
tokio = { version = "1.21", features = ["full"] }
url = { version = "2.3.1", optional = true }

ogcapi-types = "0.1.0"
ogcapi-types = { path = "../ogcapi-types" }
12 changes: 7 additions & 5 deletions ogcapi-services/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@
name = "ogcapi-services"
version = "0.1.2"
description = "Server implementation of several OGC API Standards."
license = "MIT OR Apache-2.0"
repository = "https://github.com/camptocamp/ogcapi"
edition = "2021"
license.workspace = true
repository.workspace = true
edition.workspace = true
rust-version.workspace = true

include = ["/src", "/assets"]

[features]
Expand Down Expand Up @@ -42,8 +44,8 @@ tracing = "0.1.36"
tracing-subscriber = { version="0.3.15", features = ["env-filter"] }
url = { version = "2.3.1", features = ["serde"] }

ogcapi-types = "0.1.0"
ogcapi-drivers = { version = "0.1.3", features = ["postgres"] }
ogcapi-types = { path = "../ogcapi-types" }
ogcapi-drivers = { path = "../ogcapi-drivers", features = ["postgres"] }


[dev-dependencies]
Expand Down
7 changes: 4 additions & 3 deletions ogcapi-types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
name = "ogcapi-types"
version = "0.1.0"
description = "Types as defined by various OGC API Standards."
license = "MIT OR Apache-2.0"
repository = "https://github.com/camptocamp/ogcapi"
edition = "2021"
license.workspace = true
repository.workspace = true
edition.workspace = true
rust-version.workspace = true

[features]
default = []
Expand Down
15 changes: 8 additions & 7 deletions ogcapi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
name = "ogcapi"
version = "0.1.0"
description = "OGC API building blocks."
license = "MIT OR Apache-2.0"
repository = "https://github.com/camptocamp/ogcapi"
edition = "2021"
license.workspace = true
repository.workspace = true
edition.workspace = true
rust-version.workspace = true

[features]
default = ["types", "client", "drivers", "services", "import"]
Expand Down Expand Up @@ -35,7 +36,7 @@ tracing-subscriber = { version = "0.3.15", features = ["env-filter"] }
url = { version = "2.3.1", optional = true, features = ["serde"] }
wkb = { version = "0.7.1", optional = true }

ogcapi-types = { version = "0.1.0", optional = true }
ogcapi-drivers = { version = "0.1.3", optional = true }
ogcapi-services = { version = "0.1.2", optional = true }
ogcapi-client = { version = "0.1.0", optional = true }
ogcapi-types = { path = "../ogcapi-types", optional = true }
ogcapi-drivers = { path = "../ogcapi-drivers", optional = true }
ogcapi-services = { path = "../ogcapi-services", optional = true }
ogcapi-client = { path = "../ogcapi-client", optional = true }

0 comments on commit 7e91804

Please sign in to comment.