Skip to content

Commit

Permalink
chore: replace submodules with workspace deps
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanFlurry committed Nov 20, 2024
1 parent 5cb08ff commit 5ca6e64
Show file tree
Hide file tree
Showing 155 changed files with 247 additions and 163 deletions.
14 changes: 14 additions & 0 deletions Cargo.lock

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

34 changes: 34 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -891,6 +891,40 @@ path = "packages/services/tier"
[workspace.dependencies.rivet-api]
path = "sdks/full/rust"

[workspace.dependencies.sqlx]
git = "https://github.com/rivet-gg/sqlx"
rev = "e7120f59"

[workspace.dependencies.nomad_client]
git = "https://github.com/rivet-gg/nomad-client"
rev = "abb66bf"

[workspace.dependencies.nomad_client_new]
git = "https://github.com/rivet-gg/nomad-client"
rev = "abb66bf"
package = "nomad_client"

[workspace.dependencies.async-posthog]
git = "https://github.com/rivet-gg/posthog-rs"
rev = "ef4e80e"

[workspace.dependencies.cloudflare]
git = "https://github.com/cloudflare/cloudflare-rs"
rev = "f14720e"

[workspace.dependencies.rivet-term]
git = "https://github.com/rivet-gg/rivet-term"
rev = "d539a07"

[workspace.dependencies.redis]
# TODO: https://github.com/rivet-gg/rivet/issues/508
git = "https://github.com/rivet-gg/redis-rs"
rev = "ac3e27f"

[workspace.dependencies.serde_array_query]
git = "https://github.com/rivet-gg/serde_array_query"
rev = "b9f8bfa"

[profile.dev]
overflow-checks = false
debug = false
Expand Down
2 changes: 1 addition & 1 deletion packages/api/traefik-provider/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ rivet-config.workspace = true
rivet-env.workspace = true

[dependencies.sqlx]
path = "../../../externals/sqlx"
workspace = true
default-features = false
features = ["json"]

Expand Down
2 changes: 1 addition & 1 deletion packages/common/api-helper/build/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ url = "2.2.2"
uuid = { version = "1", features = ["v4"] }

[dependencies.serde_array_query]
path = "../../../../externals/serde_array_query"
workspace = true

[dev-dependencies]
chirp-worker.workspace = true
Expand Down
3 changes: 1 addition & 2 deletions packages/common/cache/build/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ types-proto.workspace = true
uuid = { version = "1", features = ["v4"] }

[dependencies.redis]
# TODO: https://github.com/rivet-gg/rivet/issues/508
path = "../../../../externals/redis-rs/redis"
workspace = true
default-features = false
features = [
"keep-alive",
Expand Down
2 changes: 1 addition & 1 deletion packages/common/chirp-workflow/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
uuid = { version = "1.8.0", features = ["v4", "serde"] }

[dependencies.sqlx]
path = "../../../../externals/sqlx"
workspace = true
default-features = false
features = [
"runtime-tokio",
Expand Down
2 changes: 1 addition & 1 deletion packages/common/chirp/perf/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ features = ["v4", "serde"]

[dependencies.redis]
# TODO: https://github.com/rivet-gg/rivet/issues/508
path = "../../../../externals/redis-rs/redis"
workspace = true
default-features = false
features = [
"keep-alive",
Expand Down
2 changes: 1 addition & 1 deletion packages/common/chirp/worker/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ features = ["v4", "serde"]

[dependencies.redis]
# TODO: https://github.com/rivet-gg/rivet/issues/508
path = "../../../../externals/redis-rs/redis"
workspace = true
default-features = false
features = [
"keep-alive",
Expand Down
3 changes: 1 addition & 2 deletions packages/common/nomad-util/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,4 @@ tokio = { version = "1.40", features = ["full"] }
tracing = "0.1"

[dependencies.nomad_client_new]
package = "nomad_client"
path = "../../../externals/nomad-client"
workspace = true
4 changes: 2 additions & 2 deletions packages/common/pools/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ url = "2.4"
rivet-config.workspace = true

[dependencies.sqlx]
path = "../../../externals/sqlx"
workspace = true
default-features = false
features = [
"runtime-tokio",
Expand All @@ -39,7 +39,7 @@ features = [

[dependencies.redis]
# TODO: https://github.com/rivet-gg/rivet/issues/508
path = "../../../externals/redis-rs/redis"
workspace = true
default-features = false
features = [
"keep-alive",
Expand Down
2 changes: 1 addition & 1 deletion packages/common/redis-util/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ regex = "1.5"

[dependencies.redis]
# TODO: https://github.com/rivet-gg/rivet/issues/508
path = "../../../externals/redis-rs/redis"
workspace = true
default-features = false

2 changes: 1 addition & 1 deletion packages/common/util/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ types-proto.workspace = true
uuid = { version = "1", features = ["v4", "serde"] }

[dependencies.sqlx]
path = "../../../../externals/sqlx"
workspace = true
default-features = false
features = [
"runtime-tokio",
Expand Down
Loading

0 comments on commit 5ca6e64

Please sign in to comment.