Skip to content

Commit

Permalink
chore: add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
zavakid committed Dec 3, 2024
1 parent be8b957 commit fdbc3f9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,7 @@ tbc...
- [using async fn as handler](crates/web/examples/getting_started.rs)

## MSRV
The Minimum Supported Rust Version is 1.65.0.
The Minimum Supported Rust Version is 1.65.0.

## P.S.
- [Web Frameworks Benchmark](https://web-frameworks-benchmark.netlify.app/result?l=rust)
1 change: 1 addition & 0 deletions crates/http/examples/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ async fn main() {

let handler = handler.clone();

// one connection per task
tokio::spawn(async move {
let (reader, writer) = tcp_stream.into_split();
let connection = HttpConnection::new(reader, writer);
Expand Down

0 comments on commit fdbc3f9

Please sign in to comment.