From b9f4be01adf57051a3b1eeb962bb2b8ff7d4a51e Mon Sep 17 00:00:00 2001 From: Stephen Belanger Date: Thu, 23 Oct 2025 17:10:48 -0700 Subject: [PATCH] Use Rust core async trait support --- Cargo.lock | 1 - Cargo.toml | 1 - src/asgi/mod.rs | 1 - 3 files changed, 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 82830bc..66cf361 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -725,7 +725,6 @@ dependencies = [ name = "python-node" version = "1.0.0" dependencies = [ - "async-trait", "bytes", "http-handler", "http-rewriter", diff --git a/Cargo.toml b/Cargo.toml index c17217a..44f6512 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,7 +22,6 @@ name = "python_node" crate-type = ["cdylib"] [dependencies] -async-trait = "0.1.88" bytes = "1.10.1" http-handler = { git = "https://github.com/platformatic/http-handler" } # http-handler = { path = "../http-handler" } diff --git a/src/asgi/mod.rs b/src/asgi/mod.rs index 7cf34b8..71aeb97 100644 --- a/src/asgi/mod.rs +++ b/src/asgi/mod.rs @@ -205,7 +205,6 @@ impl Asgi { } } -#[async_trait::async_trait] impl Handler for Asgi { type Error = HandlerError;