mirror of
https://github.com/actix/examples
synced 2025-06-26 09:17:41 +02:00
Fix "websocket" example's readme, and make binary names unique (#45)
Give each example binary a unique name. This should allow running cargo run --bin in the root directory.
This commit is contained in:
@ -9,7 +9,7 @@ name = "proxy"
|
||||
path = "src/main.rs"
|
||||
|
||||
[[bin]]
|
||||
name = "server"
|
||||
name = "proxy-example-server"
|
||||
path = "src/server.rs"
|
||||
|
||||
[dependencies]
|
||||
|
@ -9,5 +9,5 @@ cargo run --bin proxy
|
||||
To start local backend server:
|
||||
|
||||
```sh
|
||||
cargo run --bin server
|
||||
cargo run --bin proxy-example-server
|
||||
```
|
||||
|
Reference in New Issue
Block a user