Skip to content

Commit

Permalink
feat: upgrade mongodb to 2.7.0, bson patch no longer needed, change p…
Browse files Browse the repository at this point in the history
…anic behavior to abort
  • Loading branch information
ramiroaisen committed Oct 20, 2023
1 parent 161c77e commit 207f402
Show file tree
Hide file tree
Showing 19 changed files with 128 additions and 102 deletions.
158 changes: 82 additions & 76 deletions Cargo.lock

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

20 changes: 17 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@

[workspace]
[profile.dev]
panic = "abort"

[profile.release]
panic = "abort"

[profile.test ]
panic = "abort"

[profile.bench]
panic = "abort"

[profile.doc]
panic = "abort"

[workspace]
resolver = "2"

members = [
Expand Down Expand Up @@ -72,5 +86,5 @@ members = [
]

[patch.crates-io]
bson = { path = "./rs/patches/bson" }
ts-rs = { path = "./rs/patches/ts-rs/ts-rs" }
# bson = { path = "./rs/patches/bson" }
ts-rs = { path = "./rs/patches/ts-rs/ts-rs" }
4 changes: 2 additions & 2 deletions rs/bin/openstream/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dotenv = "0.15.0"
owo-colors = { version = "3.5.0", path = "../../packages/owo-colors" }
config = { version = "0.1.0", path = "../../packages/config" }
db = { version = "0.1.0", path = "../../packages/db" }
mongodb = { version = "2.4.0", features = [ "zstd-compression" ] }
mongodb = "2.7.0"
drop-tracer = { version = "0.1.0", path = "../../packages/drop-tracer" }
shutdown = { version = "0.1.0", path = "../../packages/shutdown" }
which = "4.3.0"
Expand All @@ -44,4 +44,4 @@ mailer = { version = "0.1.0", path = "../../packages/mailer" }
payments = { version = "0.1.0", path = "../../packages/payments" }
assets = { version = "0.1.0", path = "../../packages/assets" }
console-subscriber = { version = "0.1.9", features = ["parking_lot"] }
media = { version = "0.1.0", path = "../../packages/media" }
media = { version = "0.1.0", path = "../../packages/media" }
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ futures-util = "0.3.25"
geoip = { version = "0.1.0", path = "../../packages/geoip" }
log = "0.4.17"
logger = { version = "0.1.0", path = "../../packages/logger" }
mongodb = "2.4.0"
mongodb = "2.7.0"
owo-colors = { version = "3.5.0", path = "../../packages/owo-colors" }
rand = "0.8.5"
serde-util = { version = "0.1.0", path = "../../packages/serde-util" }
Expand Down
2 changes: 1 addition & 1 deletion rs/internal-scripts/create-test-accounts/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ futures = "0.3.25"
futures-util = "0.3.25"
log = "0.4.17"
logger = { version = "0.1.0", path = "../../packages/logger" }
mongodb = "2.4.0"
mongodb = "2.7.0"
owo-colors = { version = "3.5.0", path = "../../packages/owo-colors" }
serde-util = { version = "0.1.0", path = "../../packages/serde-util" }
thiserror = "1.0.38"
Expand Down
2 changes: 1 addition & 1 deletion rs/internal-scripts/migrations/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ futures-util = "0.3.25"
log = "0.4.17"
logger = { version = "0.1.0", path = "../../packages/logger" }
macros = { version = "0.1.0", path = "../../packages/macros" }
mongodb = "2.4.0"
mongodb = "2.7.0"
owo-colors = { version = "3.5.0", path = "../../packages/owo-colors" }
serde = { version = "1.0.152", features = ["derive"] }
serde-util = { version = "0.1.0", path = "../../packages/serde-util" }
Expand Down
Loading

0 comments on commit 207f402

Please sign in to comment.