All Projects → actix → Actix Protobuf

actix / Actix Protobuf

Protobuf integration for actix web

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to Actix Protobuf

Lua Protobuf
A Lua module to work with Google protobuf
Stars: ✭ 1,002 (+1236%)
Mutual labels:  protobuf
Ical Rs
Rust parser for ics (rfc5545) and vcard (rfc6350)
Stars: ✭ 46 (-38.67%)
Mutual labels:  rust-library
Node Google Play Cli
command line tools using the node-google-play library
Stars: ✭ 58 (-22.67%)
Mutual labels:  protobuf
Log
Logging implementation for Rust
Stars: ✭ 1,012 (+1249.33%)
Mutual labels:  rust-library
Mortgageblockchainfabric
Mortgage Processing App using Hyperledger Fabric Blockchain. Uses channels for privacy and access, and restricts read/write previleges through endorsement policies
Stars: ✭ 45 (-40%)
Mutual labels:  protobuf
Proto Extractor
Program to extract protobufs compiled for C#
Stars: ✭ 49 (-34.67%)
Mutual labels:  protobuf
Samay
Command line Time tracking and reporting. Built using Go(programming language) and protocol buffers.
Stars: ✭ 37 (-50.67%)
Mutual labels:  protobuf
Lor Axe
🪓 a multi-threaded, low-bandwidth HTTP DOS tool
Stars: ✭ 72 (-4%)
Mutual labels:  rust-library
Lambda calculus
A simple, zero-dependency implementation of the untyped lambda calculus in Safe Rust
Stars: ✭ 46 (-38.67%)
Mutual labels:  rust-library
Gcs Tools
GCS support for avro-tools, parquet-tools and protobuf
Stars: ✭ 57 (-24%)
Mutual labels:  protobuf
Run script
Run shell scripts in rust.
Stars: ✭ 42 (-44%)
Mutual labels:  rust-library
Dtparse
A dateutil-compatible timestamp parser for Rust
Stars: ✭ 45 (-40%)
Mutual labels:  rust-library
Protoc Gen Twirp swagger
Swagger generator for twirp
Stars: ✭ 54 (-28%)
Mutual labels:  protobuf
Sol2proto
Ethereum contract ABI to gRPC protobuf IDL transpiler
Stars: ✭ 41 (-45.33%)
Mutual labels:  protobuf
Grpc Rust
Rust implementation of gRPC
Stars: ✭ 1,139 (+1418.67%)
Mutual labels:  protobuf
Grpc Contract
A tool to generate the grpc server code for a contract
Stars: ✭ 40 (-46.67%)
Mutual labels:  protobuf
Jabci
Java implementation of the Tendermint ABCI
Stars: ✭ 48 (-36%)
Mutual labels:  protobuf
Grpcdump
Tool for capture and parse grpc traffic
Stars: ✭ 75 (+0%)
Mutual labels:  protobuf
Eventsourcing
Event Sourcing Library for Rust
Stars: ✭ 71 (-5.33%)
Mutual labels:  rust-library
Grpcc
A gRPC cli interface for easy testing against gRPC servers
Stars: ✭ 1,078 (+1337.33%)
Mutual labels:  protobuf

Actix-web ProtoBuf Build Status codecov crates.io Join the chat at https://gitter.im/actix/actix

Protobuf support for actix-web framework.

NOTICE: This repository has been archived. Please visit https://github.com/actix/actix-extras instead.

Example

use actix_protobuf::*;
use actix_web::*;

#[derive(Clone, PartialEq, Message)]
pub struct MyObj {
    #[prost(int32, tag = "1")]
    pub number: i32,
    #[prost(string, tag = "2")]
    pub name: String,
}

async fn index(msg: ProtoBuf<MyObj>) -> Result<HttpResponse> {
    println!("model: {:?}", msg);
    HttpResponse::Ok().protobuf(msg.0) // <- send response
}

See here for the complete example.

License

This project is licensed under either of

at your option.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].