Skip to content

Commit

Permalink
chore: migrate to workspace package config
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanFlurry committed Nov 21, 2024
1 parent 76bd4c5 commit 3ca5c2f
Show file tree
Hide file tree
Showing 269 changed files with 1,295 additions and 1,286 deletions.
106 changes: 53 additions & 53 deletions Cargo.lock

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,12 @@ exclude = [
"externals/sqlx",
]

[workspace.package]
version = "0.0.1"
edition = "2021"
authors = ["Rivet Gaming, LLC <[email protected]>"]
license = "Apache-2.0"

# Speed up compilation
[profile.dev]
overflow-checks = false
Expand Down
12 changes: 6 additions & 6 deletions packages/api/actor/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[package]
name = "api-actor"
version = "0.0.1"
edition = "2021"
authors = ["Rivet Gaming, LLC <[email protected]>"]
license = "Apache-2.0"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true

[dependencies]
api-helper = { path = "../../common/api-helper/build" }
Expand Down Expand Up @@ -50,8 +50,8 @@ upload-get = { path = "../../services/upload/ops/get" }
user-get = { path = "../../services/user/ops/get" }
user-identity-get = { path = "../../services/user-identity/ops/get" }
user-team-list = { path = "../../services/user/ops/team-list" }
rivet-config = { version = "0.1.0", path = "../../common/config" }
rivet-env = { version = "0.1.0", path = "../../common/env" }
rivet-config = { path = "../../common/config" }
rivet-env = { path = "../../common/env" }
game-resolve-name-id = { version = "0.0.1", path = "../../services/game/ops/resolve-name-id" }
game-namespace-resolve-name-id = { version = "0.0.1", path = "../../services/game/ops/namespace-resolve-name-id" }

Expand Down
16 changes: 8 additions & 8 deletions packages/api/auth/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[package]
name = "api-auth"
version = "0.0.1"
edition = "2021"
authors = ["Rivet Gaming, LLC <[email protected]>"]
license = "Apache-2.0"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true

[dependencies]
rivet-convert = { path = "../../common/convert" }
Expand Down Expand Up @@ -41,10 +41,10 @@ user-resolve-email = { path = "../../services/user/ops/resolve-email" }
user-token-create = { path = "../../services/user/ops/token-create" }
user-identity-create = { path = "../../services/user-identity/ops/create" }
token-create = { path = "../../services/token/ops/create" }
rivet-config = { version = "0.1.0", path = "../../common/config" }
rivet-env = { version = "0.1.0", path = "../../common/env" }
user = { version = "0.1.0", path = "../../services/user" }
chirp-workflow = { version = "0.1.0", path = "../../common/chirp-workflow/core" }
rivet-config = { path = "../../common/config" }
rivet-env = { path = "../../common/env" }
user = { path = "../../services/user" }
chirp-workflow = { path = "../../common/chirp-workflow/core" }

[dev-dependencies]
rivet-auth = { path = "../../common/smithy-output/api-auth/rust" }
Expand Down
12 changes: 6 additions & 6 deletions packages/api/cf-verification/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[package]
name = "api-cf-verification"
version = "0.0.1"
edition = "2021"
authors = ["Rivet Gaming, LLC <[email protected]>"]
license = "Apache-2.0"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true

[dependencies]
api-helper = { path = "../../common/api-helper/build" }
Expand Down Expand Up @@ -35,8 +35,8 @@ url = "2.2.2"
uuid = { version = "1", features = ["v4"] }

cf-custom-hostname-get = { path = "../../services/cf-custom-hostname/ops/get" }
rivet-config = { version = "0.1.0", path = "../../common/config" }
rivet-env = { version = "0.1.0", path = "../../common/env" }
rivet-config = { path = "../../common/config" }
rivet-env = { path = "../../common/env" }

[dev-dependencies]
rivet-cf-verification = { path = "../../common/smithy-output/api-cf-verification/rust" }
Expand Down
12 changes: 6 additions & 6 deletions packages/api/cloud/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[package]
name = "api-cloud"
version = "0.0.1"
edition = "2021"
authors = ["Rivet Gaming, LLC <[email protected]>"]
license = "Apache-2.0"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true

[dependencies]
api-helper = { path = "../../common/api-helper/build" }
Expand Down Expand Up @@ -110,8 +110,8 @@ upload-prepare = { path = "../../services/upload/ops/prepare" }
user-get = { path = "../../services/user/ops/get" }
user-identity-get = { path = "../../services/user-identity/ops/get" }
user-team-list = { path = "../../services/user/ops/team-list" }
rivet-config = { version = "0.1.0", path = "../../common/config" }
rivet-env = { version = "0.1.0", path = "../../common/env" }
rivet-config = { path = "../../common/config" }
rivet-env = { path = "../../common/env" }

[dev-dependencies]
rand = "0.8"
Expand Down
12 changes: 6 additions & 6 deletions packages/api/games/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[package]
name = "api-games"
version = "0.0.1"
edition = "2021"
authors = ["Rivet Gaming, LLC <[email protected]>"]
license = "Apache-2.0"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true

[dependencies]
api-helper = { path = "../../common/api-helper/build" }
Expand Down Expand Up @@ -48,8 +48,8 @@ upload-get = { path = "../../services/upload/ops/get" }
user-get = { path = "../../services/user/ops/get" }
user-identity-get = { path = "../../services/user-identity/ops/get" }
user-team-list = { path = "../../services/user/ops/team-list" }
rivet-config = { version = "0.1.0", path = "../../common/config" }
rivet-env = { version = "0.1.0", path = "../../common/env" }
rivet-config = { path = "../../common/config" }
rivet-env = { path = "../../common/env" }

[dev-dependencies]
rivet-connection = { path = "../../common/connection" }
Expand Down
12 changes: 6 additions & 6 deletions packages/api/group/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[package]
name = "api-group"
version = "0.0.1"
edition = "2021"
authors = ["Rivet Gaming, LLC <[email protected]>"]
license = "Apache-2.0"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true

[dependencies]
rivet-convert = { path = "../../common/convert" }
Expand Down Expand Up @@ -53,8 +53,8 @@ upload-prepare = { path = "../../services/upload/ops/prepare" }
user-get = { path = "../../services/user/ops/get" }
user-identity-get = { path = "../../services/user-identity/ops/get" }
user-team-list = { path = "../../services/user/ops/team-list" }
rivet-config = { version = "0.1.0", path = "../../common/config" }
rivet-env = { version = "0.1.0", path = "../../common/env" }
rivet-config = { path = "../../common/config" }
rivet-env = { path = "../../common/env" }

[dev-dependencies]
rivet-connection = { path = "../../common/connection" }
Expand Down
12 changes: 6 additions & 6 deletions packages/api/identity/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[package]
name = "api-identity"
version = "0.0.1"
edition = "2021"
authors = ["Rivet Gaming, LLC <[email protected]>"]
license = "Apache-2.0"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true

[dependencies]
rivet-convert = { path = "../../common/convert" }
Expand Down Expand Up @@ -55,8 +55,8 @@ user-get = { path = "../../services/user/ops/get" }
user-identity-get = { path = "../../services/user-identity/ops/get" }
user-pending-delete-toggle = { path = "../../services/user/ops/pending-delete-toggle" }
user-profile-validate = { path = "../../services/user/ops/profile-validate" }
rivet-config = { version = "0.1.0", path = "../../common/config" }
rivet-env = { version = "0.1.0", path = "../../common/env" }
rivet-config = { path = "../../common/config" }
rivet-env = { path = "../../common/env" }

[dev-dependencies]
rivet-connection = { path = "../../common/connection" }
Expand Down
12 changes: 6 additions & 6 deletions packages/api/job/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[package]
name = "api-job"
version = "0.0.1"
edition = "2021"
authors = ["Rivet Gaming, LLC <[email protected]>"]
license = "Apache-2.0"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true

[dependencies]
api-helper = { path = "../../common/api-helper/build" }
Expand Down Expand Up @@ -32,8 +32,8 @@ tracing-subscriber = { version = "0.3", default-features = false, features = [
] }
url = "2.2.2"
uuid = { version = "1", features = ["v4"] }
rivet-config = { version = "0.1.0", path = "../../common/config" }
rivet-env = { version = "0.1.0", path = "../../common/env" }
rivet-config = { path = "../../common/config" }
rivet-env = { path = "../../common/env" }

[dev-dependencies]
rivet-connection = { path = "../../common/connection" }
Expand Down
12 changes: 6 additions & 6 deletions packages/api/matchmaker/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[package]
name = "api-matchmaker"
version = "0.0.1"
edition = "2021"
authors = ["Rivet Gaming, LLC <[email protected]>"]
license = "Apache-2.0"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true

[dependencies]
rivet-convert = { path = "../../common/convert" }
Expand Down Expand Up @@ -59,8 +59,8 @@ region-resolve-for-game = { path = "../../services/region/ops/resolve-for-game"
token-create = { path = "../../services/token/ops/create" }
token-revoke = { path = "../../services/token/ops/revoke" }
user-identity-get = { path = "../../services/user-identity/ops/get" }
rivet-config = { version = "0.1.0", path = "../../common/config" }
rivet-env = { version = "0.1.0", path = "../../common/env" }
rivet-config = { path = "../../common/config" }
rivet-env = { path = "../../common/env" }

[dev-dependencies]
reqwest = "0.11"
Expand Down
12 changes: 6 additions & 6 deletions packages/api/monolith-edge/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[package]
name = "api-monolith-edge"
version = "0.0.1"
edition = "2021"
authors = ["Rivet Gaming, LLC <[email protected]>"]
license = "Apache-2.0"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true

[dependencies]
api-helper = { path = "../../common/api-helper/build" }
Expand All @@ -23,5 +23,5 @@ url = "2.2.2"

api-traefik-provider = { path = "../traefik-provider" }
api-provision = { path = "../provision" }
rivet-config = { version = "0.1.0", path = "../../common/config" }
rivet-env = { version = "0.1.0", path = "../../common/env" }
rivet-config = { path = "../../common/config" }
rivet-env = { path = "../../common/env" }
14 changes: 7 additions & 7 deletions packages/api/monolith-public/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[package]
name = "api-monolith-public"
version = "0.0.1"
edition = "2021"
authors = ["Rivet Gaming, LLC <[email protected]>"]
license = "Apache-2.0"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true

[dependencies]
api-helper = { path = "../../common/api-helper/build" }
Expand Down Expand Up @@ -32,6 +32,6 @@ api-job = { path = "../job" }
api-matchmaker = { path = "../matchmaker" }
api-portal = { path = "../portal" }
api-status = { path = "../status" }
rivet-config = { version = "0.1.0", path = "../../common/config" }
rivet-env = { version = "0.1.0", path = "../../common/env" }
api-ui = { version = "0.1.0", path = "../ui" }
rivet-config = { path = "../../common/config" }
rivet-env = { path = "../../common/env" }
api-ui = { path = "../ui" }
12 changes: 6 additions & 6 deletions packages/api/portal/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[package]
name = "api-portal"
version = "0.0.1"
edition = "2021"
authors = ["Rivet Gaming, LLC <[email protected]>"]
license = "Apache-2.0"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true

[dependencies]
rivet-convert = { path = "../../common/convert" }
Expand Down Expand Up @@ -43,8 +43,8 @@ team-member-count = { path = "../../services/team/ops/member-count" }
token-revoke = { path = "../../services/token/ops/revoke" }
user-get = { path = "../../services/user/ops/get" }
user-team-list = { path = "../../services/user/ops/team-list" }
rivet-config = { version = "0.1.0", path = "../../common/config" }
rivet-env = { version = "0.1.0", path = "../../common/env" }
rivet-config = { path = "../../common/config" }
rivet-env = { path = "../../common/env" }

[dev-dependencies]
rivet-connection = { path = "../../common/connection" }
Expand Down
12 changes: 6 additions & 6 deletions packages/api/provision/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[package]
name = "api-provision"
version = "0.0.1"
edition = "2018"
authors = ["Rivet Gaming, LLC <[email protected]>"]
license = "Apache-2.0"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true

[dependencies]
api-helper = { path = "../../common/api-helper/build" }
Expand All @@ -30,6 +30,6 @@ url = "2.2.2"
uuid = { version = "1", features = ["v4"] }

cluster = { path = "../../services/cluster" }
rivet-config = { version = "0.1.0", path = "../../common/config" }
rivet-env = { version = "0.1.0", path = "../../common/env" }
rivet-config = { path = "../../common/config" }
rivet-env = { path = "../../common/env" }

12 changes: 6 additions & 6 deletions packages/api/status/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[package]
name = "api-status"
version = "0.0.1"
edition = "2021"
authors = ["Rivet Gaming, LLC <[email protected]>"]
license = "Apache-2.0"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true

[dependencies]
api-helper = { path = "../../common/api-helper/build" }
Expand Down Expand Up @@ -41,8 +41,8 @@ game-namespace-resolve-name-id = { path = "../../services/game/ops/namespace-res

token-create = { path = "../../services/token/ops/create" }
trust-dns-resolver = "0.23.2"
rivet-config = { version = "0.1.0", path = "../../common/config" }
rivet-env = { version = "0.1.0", path = "../../common/env" }
rivet-config = { path = "../../common/config" }
rivet-env = { path = "../../common/env" }

[dev-dependencies]
rivet-connection = { path = "../../common/connection" }
Expand Down
12 changes: 6 additions & 6 deletions packages/api/traefik-provider/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[package]
name = "api-traefik-provider"
version = "0.0.1"
edition = "2021"
authors = ["Rivet Gaming, LLC <[email protected]>"]
license = "Apache-2.0"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true

[dependencies]
rivet-convert = { path = "../../common/convert" }
Expand Down Expand Up @@ -39,8 +39,8 @@ uuid = { version = "1", features = ["v4"] }

cluster = { path = "../../services/cluster" }
ds = { path = "../../services/ds" }
rivet-config = { version = "0.1.0", path = "../../common/config" }
rivet-env = { version = "0.1.0", path = "../../common/env" }
rivet-config = { path = "../../common/config" }
rivet-env = { path = "../../common/env" }

[dependencies.sqlx]
path = "../../../externals/sqlx"
Expand Down
Loading

0 comments on commit 3ca5c2f

Please sign in to comment.