Skip to content

Commit

Permalink
Upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
spencewenski committed May 30, 2024
1 parent c48d0fe commit b8f5c9c
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 19 deletions.
22 changes: 11 additions & 11 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,22 +36,22 @@ dotenvy = "0.15.7"
tracing = { version = "0.1.40", features = ["async-await"] }
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
opentelemetry-semantic-conventions = "0.15.0"
opentelemetry = { version = "0.22.0", features = ["trace", "metrics", "logs"], optional = true }
opentelemetry_sdk = { version = "0.22.1", features = ["tokio", "rt-tokio", "metrics", "logs", "trace"], optional = true }
opentelemetry-otlp = { version = "0.15.0", features = ["metrics", "trace", "logs"], optional = true }
tracing-opentelemetry = { version = "0.23.0", features = ["metrics"], optional = true }
opentelemetry = { version = "0.23.0", features = ["trace", "metrics", "logs"], optional = true }
opentelemetry_sdk = { version = "0.23.0", features = ["tokio", "rt-tokio", "metrics", "logs", "trace"], optional = true }
opentelemetry-otlp = { version = "0.16.0", features = ["metrics", "trace", "logs"], optional = true }
tracing-opentelemetry = { version = "0.24.0", features = ["metrics"], optional = true }

# Controllers
axum = { version = "0.7.5", optional = true }
axum-extra = { version = "0.9.3", features = ["typed-header"], optional = true }
tower = { version = "0.4.13", optional = true }
tower-http = { version = "0.5.2", features = ["trace", "timeout", "request-id", "util", "normalize-path", "sensitive-headers", "catch-panic", "compression-full", "decompression-full", "limit"], optional = true }
aide = { version = "0.13.4", features = ["axum", "redoc", "scalar", "macros"], optional = true }
schemars = { version = "0.8.19", optional = true }
schemars = { version = "0.8.21", optional = true }

# DB
sea-orm = { version = "1.0.0-rc.4", features = ["debug-print", "runtime-tokio-rustls", "sqlx-postgres", "macros"], optional = true }
sea-orm-migration = { version = "1.0.0-rc.4", features = ["runtime-tokio-rustls", "sqlx-postgres"], optional = true }
sea-orm = { version = "1.0.0-rc.5", features = ["debug-print", "runtime-tokio-rustls", "sqlx-postgres", "macros"], optional = true }
sea-orm-migration = { version = "1.0.0-rc.5", features = ["runtime-tokio-rustls", "sqlx-postgres"], optional = true }

# Workers
# Todo: the default `rss-stats` feature has a dependency that currently can't be satisfied (memchr: ~2.3)
Expand All @@ -61,7 +61,7 @@ num_cpus = { version = "1.16.0", optional = true }

# Rust async
# Todo: minimize tokio features included in `roadster`
tokio = { version = "1.37.0", features = ["full", "macros"] }
tokio = { version = "1.37.0", features = ["full"] }
# For CancellationToken
tokio-util = { version = "0.7.11" }
async-trait = "0.1.80"
Expand All @@ -73,9 +73,9 @@ jsonwebtoken = { version = "9.3.0", optional = true }
clap = { version = "4.5.4", features = ["derive", "string"], optional = true }

# Others
anyhow = "1.0.84"
serde = "1.0.202"
serde_derive = "1.0.202"
anyhow = "1.0.86"
serde = "1.0.203"
serde_derive = "1.0.203"
serde_with = { version = "3.8.1", features = ["macros", "chrono_0_4"] }
strum = "0.26.2"
strum_macros = "0.26.2"
Expand Down
8 changes: 4 additions & 4 deletions examples/minimal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ publish = false

[dependencies]
roadster = { version = "0.2", path = "../.." }
tokio = { version = "1.37.0", features = ["full", "macros"] }
anyhow = "1.0.84"
tokio = { version = "1.37.0", features = ["full"] }
anyhow = "1.0.86"
tracing = { version = "0.1.40", features = ["async-await"] }
async-trait = "0.1.80"
aide = { version = "0.13.4", features = ["axum"] }
axum = "0.7.5"
schemars = "0.8.19"
schemars = "0.8.21"

# DB
entity = { path = "entity" }
Expand All @@ -23,7 +23,7 @@ clap = { version = "4.5.4", features = ["derive"] }

# The default `rss-stats` feature has a dependency that currently can't be satisfied (memchr: ~2.3)
rusty-sidekiq = { version = "0.10.5", default-features = false }
serde = { version = "1.0.202", features = ["derive"] }
serde = { version = "1.0.203", features = ["derive"] }

[dev-dependencies]
cargo-husky = { version = "1.5.0", features = ["default", "run-cargo-check", "run-cargo-clippy", "run-cargo-fmt", "run-cargo-test"] }
Expand Down
2 changes: 1 addition & 1 deletion examples/minimal/entity/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ name = "entity"
path = "src/lib.rs"

[dependencies]
sea-orm = "1.0.0-rc.4"
sea-orm = "1.0.0-rc.5"
4 changes: 2 additions & 2 deletions examples/minimal/migration/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ name = "migration"
path = "src/lib.rs"

[dependencies]
async-std = { version = "1", features = ["attributes", "tokio1"] }
tokio = { version = "1.37.0", features = ["full"] }

[dependencies.sea-orm-migration]
version = "1.0.0-rc.4"
version = "1.0.0-rc.5"
features = [
# Enable at least one `ASYNC_RUNTIME` and `DATABASE_DRIVER` feature if you want to run migration via CLI.
# View the list of supported features at https://www.sea-ql.org/SeaORM/docs/install-and-config/database-and-async-runtime.
Expand Down
2 changes: 1 addition & 1 deletion examples/minimal/migration/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use sea_orm_migration::prelude::*;

#[async_std::main]
#[tokio::main]
async fn main() {
cli::run_cli(migration::Migrator).await;
}

0 comments on commit b8f5c9c

Please sign in to comment.