1
0
mirror of https://github.com/actix/examples synced 2025-01-22 14:05:55 +01:00
2020-09-12 16:49:45 +01:00
..
2020-09-12 16:49:45 +01:00
2020-09-12 16:49:45 +01:00

protobuf

Usage

Server

# From workspace
cargo run --bin protobuf-example

# From ./protobuf
cargo run

Client

# 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