1
0
mirror of https://github.com/actix/examples synced 2025-06-28 18:00:37 +02:00

ignore protobuf-example in ci

This commit is contained in:
Rob Ede
2021-10-06 23:12:42 +01:00
parent 900a699fba
commit f623284c71
6 changed files with 39 additions and 28 deletions

View File

@ -5,11 +5,11 @@ authors = ["kingxsp <jin.hb.zh@outlook.com>, Yuki Okushi <huyuumi.dev@gmail.com>
edition = "2018"
[dependencies]
bytes = "0.5.4"
env_logger = "0.7.1"
prost = "0.6.1"
prost-derive = "0.6.1"
actix = "0.10"
actix-protobuf = "0.6"
actix-web = "3"
bytes = "0.5.4"
env_logger = "0.9"
prost = "0.6"
prost-derive = "0.6"

View File

@ -1,8 +1,8 @@
#[macro_use]
extern crate prost_derive;
use actix_protobuf::*;
use actix_web::*;
use actix_protobuf::{ProtoBuf, ProtoBufResponseBuilder as _};
use actix_web::{middleware, web, App, HttpResponse, HttpServer, Result};
#[derive(Clone, PartialEq, Message)]
pub struct MyObj {