Skip to content

Commit 121d1c6

Browse files
committed
Use Rust core async trait support
1 parent f9a9be6 commit 121d1c6

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,10 @@ name = "php-main"
2020
path = "src/main.rs"
2121

2222
[dependencies]
23-
async-trait = "0.1.88"
2423
bytes = "1.10.1"
2524
hostname = "0.4.1"
2625
ext-php-rs = { version = "0.14.0", features = ["embed"] }
27-
http-handler = { git = "https://github.com/platformatic/http-handler.git" }
26+
http-handler = { git = "https://github.com/platformatic/http-handler.git", branch = "core-async-trait" }
2827
# http-handler = { path = "../http-handler" }
2928
http-rewriter = { git = "https://github.com/platformatic/http-rewriter.git" }
3029
# http-rewriter = { path = "../http-rewriter" }

src/embed.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,6 @@ impl Embed {
189189
}
190190
}
191191

192-
#[async_trait::async_trait]
193192
impl Handler for Embed {
194193
type Error = EmbedRequestError;
195194

0 commit comments

Comments
 (0)