Skip to content

Commit

Permalink
core: use workspace dependencies, upgrade tokio, hyper, and many more…
Browse files Browse the repository at this point in the history
… dependencies to latest versions (#314)

… dependencies to latest versions
  • Loading branch information
ramiroaisen authored May 25, 2024
2 parents d8625f8 + 6312ac2 commit 84178ec
Show file tree
Hide file tree
Showing 245 changed files with 543 additions and 32,477 deletions.
552 changes: 222 additions & 330 deletions Cargo.lock

Large diffs are not rendered by default.

34 changes: 31 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ members = [
"rs/packages/router",
"rs/packages/upload",
"rs/packages/api",
"rs/packages/api2",
"rs/packages/mp3",
"rs/packages/http",
"rs/packages/channels",
Expand Down Expand Up @@ -68,5 +67,34 @@ members = [
"rs/packages/metre-macros",
]

[patch.crates-io]
ts-rs = { path = "./rs/patches/ts-rs/ts-rs" }
[workspace.dependencies]
tokio = { version = "1.33.0", features = ["full"] }
hyper = { version = "0.14.27", features = ["full"] }
mongodb = "2.8.2"
serde = { version = "1.0.202", features = ["derive"] }
serde_json = { version = "1.0.117", features = ["preserve_order"] }
bytes = "1.6.0"
log = "0.4.21"
time = { version = "0.3.36", features = ["serde-well-known", "local-offset", "macros", "parsing", "serde-human-readable"] }
regex = "1.10.4"
validator = { version = "0.16.1", features = ["derive", "phone", "unic"] }
lazy-regex = "3.1.0"
regex_static = "0.1.1"
async-trait = "0.1.71"
thiserror = "1.0.40"
pin-project = "1.1.5"
parking_lot = "0.12.3"
url = "2.5.0"
async-stream = "0.3.3"
rand = "0.8.5"
random-string = "1.0.0"
futures = "0.3.30"
futures-util = "0.3.30"
static_init = "1.0.3"
tokio-stream = "0.1.11"
deepsize = "0.2.0"
schemars = "0.8.21"
chrono = "0.4.38"
once_cell = "1.19.0"

ts-rs = { path = "./rs/packages/ts-rs/ts-rs", version = "6.2.0", features = ["chrono", "chrono-impl", "format", "indexmap-impl"] }
14 changes: 7 additions & 7 deletions rs/bin/openstream/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,23 @@ tracing = [ "tokio/tracing" ]
# ip = { version = "0.1.0", path = "../../packages/ip" }
# router = { version = "0.1.0", path = "../../packages/router" }
# rust_ipify = "1.1.0"
tokio = { version = "1.29.0", features = ["full" ] }
tokio = { workspace = true }
source-alt = { path = "../../packages/source-alt" }
stream = { path = "../../packages/stream" }
logger = { path = "../../packages/logger" }
log = "0.4.17"
log = { workspace = true }
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 = "2.8.2"
mongodb = { workspace = true }
drop-tracer = { version = "0.1.0", path = "../../packages/drop-tracer" }
shutdown = { version = "0.1.0", path = "../../packages/shutdown" }
which = "4.3.0"
clap = { version = "4.0.26", features = ["derive"] }
futures = "0.3.25"
futures = { workspace = true }
api = { version = "0.1.0", path = "../../packages/api" }
chrono = "0.4.23"
chrono = { workspace = true }
dialoguer = "0.10.2"
defer-lite = "1.0.0"
anyhow = "1.0.66"
Expand All @@ -37,8 +37,8 @@ jemallocator = "0.5.0"
uid = { version = "0.1.0", path = "../../packages/uid" }
local-ip-address = "0.5.0"
crypt = { version = "0.1.0", path = "../../packages/crypt" }
thiserror = "1.0.40"
hyper = "0.14.27"
thiserror = { workspace = true }
hyper = { workspace = true }
validate = { version = "0.1.0", path = "../../packages/validate" }
mailer = { version = "0.1.0", path = "../../packages/mailer" }
payments = { version = "0.1.0", path = "../../packages/payments" }
Expand Down
6 changes: 3 additions & 3 deletions rs/config/constants/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
lazy-regex = "3.1.0"
lazy-regex = { workspace = true }
macros = { version = "0.1.0", path = "../../packages/macros" }
regex = "1.10.3"
static_init = "1.0.3"
regex = { workspace = true }
static_init = { workspace = true }
23 changes: 0 additions & 23 deletions rs/packages/__mp3/Cargo.toml

This file was deleted.

268 changes: 0 additions & 268 deletions rs/packages/__mp3/src/lib.rs

This file was deleted.

Loading

0 comments on commit 84178ec

Please sign in to comment.