mirror of
https://github.com/actix/examples
synced 2025-06-26 17:17:42 +02:00
Restructure folders (#411)
This commit is contained in:
committed by
GitHub
parent
9db98162b2
commit
c3407627d0
@ -1,28 +0,0 @@
|
||||
# protobuf
|
||||
|
||||
## Usage
|
||||
|
||||
### Server
|
||||
|
||||
```shell
|
||||
# From workspace
|
||||
cargo run --bin protobuf-example
|
||||
|
||||
# From ./protobuf
|
||||
cargo run
|
||||
```
|
||||
|
||||
### Client
|
||||
|
||||
```shell
|
||||
# Dependencies
|
||||
wget https://github.com/protocolbuffers/protobuf/releases/download/v3.11.2/protobuf-python-3.11.2.zip
|
||||
unzip protobuf-python-3.11.2.zip
|
||||
cd protobuf-3.11.2/python/
|
||||
python3 setup.py install
|
||||
pip3 install --upgrade pip
|
||||
pip3 install aiohttp
|
||||
|
||||
# Client
|
||||
python3 client.py
|
||||
```
|
Reference in New Issue
Block a user