actix / Actix Protobuf
Protobuf integration for actix web
Stars: ✭ 75
Programming Languages
rust
11053 projects
Labels
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
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
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
Dtparse
A dateutil-compatible timestamp parser for Rust
Stars: ✭ 45 (-40%)
Mutual labels: rust-library
Sol2proto
Ethereum contract ABI to gRPC protobuf IDL transpiler
Stars: ✭ 41 (-45.33%)
Mutual labels: protobuf
Grpc Contract
A tool to generate the grpc server code for a contract
Stars: ✭ 40 (-46.67%)
Mutual labels: protobuf
Grpcc
A gRPC cli interface for easy testing against gRPC servers
Stars: ✭ 1,078 (+1337.33%)
Mutual labels: protobuf
Actix-web ProtoBuf
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
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
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].