1
0
mirror of https://github.com/actix/examples synced 2024-12-05 03:01:55 +01:00
examples/protobuf
2024-07-20 07:45:32 +01:00
..
src remove unneeded dependencies 2023-07-18 17:42:33 +01:00
.gitignore restructure folders 2022-02-18 02:01:48 +00:00
Cargo.toml chore: update prost deps 2024-07-20 07:45:32 +01:00
client.py restructure folders 2022-02-18 02:01:48 +00:00
README.md standardize binary names 2022-02-18 02:22:58 +00:00
test_pb2.py restructure folders 2022-02-18 02:01:48 +00:00
test.proto restructure folders 2022-02-18 02:01:48 +00:00

protobuf

Usage

Server

cd 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
cd ../..
python3 client.py