diff --git a/Cargo.lock b/Cargo.lock index 8babb259..195571d5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -276,9 +276,9 @@ checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" [[package]] name = "axum" -version = "0.6.17" +version = "0.6.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b70caf9f1b0c045f7da350636435b775a9733adf2df56e8aa2a29210fbc335d4" +checksum = "f8175979259124331c1d7bf6586ee7e0da434155e4b2d48ec2c8386281d8df39" dependencies = [ "async-trait", "axum-core", @@ -330,7 +330,7 @@ name = "axum-csp" version = "0.0.1" dependencies = [ "axum", - "axum-server", + "axum-server 0.5.0", "http", "lazy_static", "regex", @@ -392,6 +392,21 @@ dependencies = [ "tower-service", ] +[[package]] +name = "axum-server" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "197b070de3ae5fc503d531d4dc7680e016438c2ffc848a1fefebc5c53f35cc17" +dependencies = [ + "bytes", + "futures-util", + "http", + "http-body", + "hyper", + "tokio", + "tower-service", +] + [[package]] name = "axum-sessions" version = "0.5.0" @@ -1578,7 +1593,7 @@ dependencies = [ "axum-csp", "axum-extra", "axum-macros", - "axum-server", + "axum-server 0.4.7", "axum-sessions", "axum-tracing-opentelemetry", "base64 0.21.0", @@ -4007,9 +4022,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.28.0" +version = "1.28.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3c786bf8134e5a3a166db9b29ab8f48134739014a3eca7bc6bfa95d673b136f" +checksum = "0aa32867d44e6f2ce3385e89dceb990188b8bb0fb25b0cf576647a6f98ac5105" dependencies = [ "autocfg", "bytes", diff --git a/Cargo.toml b/Cargo.toml index b2c7d9a2..4737e112 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -77,7 +77,7 @@ serde_json = "1.0.96" sha2 = { version = "0.10.6", features = ["asm", "asm-aarch64"] } shellexpand = "3.1.0" sqlx = { version = "0.6", features = ["runtime-tokio-rustls", "sqlite", "json"], default-features=false } -tokio = { version = "1.26.0", features = ["full", "tracing"] } +tokio = { version = "1.28.1", features = ["full", "tracing"] } tokio-cron-scheduler = "0.9.3" tokio-stream = { version = "0.1.14", features = ["net"] } tokio-util = { version = "0.7.8", features = ["full"] } diff --git a/axum-csp/Cargo.toml b/axum-csp/Cargo.toml index 230a13d8..49d74cb5 100644 --- a/axum-csp/Cargo.toml +++ b/axum-csp/Cargo.toml @@ -15,9 +15,9 @@ categories = ["network-programming"] axum = { version = "0.6.18", default-features = false, features = ["headers", "original-uri"] } http = "0.2.9" regex = "1.8.1" -tokio = { version = "1.28.0", default-features = false, features = ["sync"] } +tokio = { version = "1.28.1", default-features = false, features = ["sync"] } [dev-dependencies] axum-server = "0.5.0" lazy_static = "1.4.0" -tokio = { version = "1.28.0", default-features = false, features = ["full"] } +tokio = { version = "1.28.1", default-features = false, features = ["full"] }