mirror of
https://github.com/LukeMathWalker/zero-to-production.git
synced 2024-05-18 16:28:08 +00:00
9 lines
191 B
Rust
9 lines
191 B
Rust
use chapter03_0::run;
|
|
use std::net::TcpListener;
|
|
|
|
#[actix_rt::main]
|
|
async fn main() -> std::io::Result<()> {
|
|
let address = TcpListener::bind("127.0.0.1:8000")?;
|
|
run(address)?.await
|
|
}
|