diff --git a/Cargo.toml b/Cargo.toml index 35b6d963..08eb5580 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,10 +36,10 @@ 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 } @@ -47,11 +47,11 @@ 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) @@ -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" @@ -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" diff --git a/examples/minimal/Cargo.toml b/examples/minimal/Cargo.toml index bdee8430..0a291cf2 100644 --- a/examples/minimal/Cargo.toml +++ b/examples/minimal/Cargo.toml @@ -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" } @@ -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"] } diff --git a/examples/minimal/entity/Cargo.toml b/examples/minimal/entity/Cargo.toml index 891d2421..d6700d00 100644 --- a/examples/minimal/entity/Cargo.toml +++ b/examples/minimal/entity/Cargo.toml @@ -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" diff --git a/examples/minimal/migration/Cargo.toml b/examples/minimal/migration/Cargo.toml index 67a780a5..0705e70e 100644 --- a/examples/minimal/migration/Cargo.toml +++ b/examples/minimal/migration/Cargo.toml @@ -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. diff --git a/examples/minimal/migration/src/main.rs b/examples/minimal/migration/src/main.rs index c6b6e48d..f054deaf 100644 --- a/examples/minimal/migration/src/main.rs +++ b/examples/minimal/migration/src/main.rs @@ -1,6 +1,6 @@ use sea_orm_migration::prelude::*; -#[async_std::main] +#[tokio::main] async fn main() { cli::run_cli(migration::Migrator).await; }