1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-06-30 11:54:26 +02:00

Upgrade to actix-web 0.7.18

This commit is contained in:
kingxsp
2019-03-07 14:19:57 +08:00
parent 99e4e1c3ec
commit def07f58c8
5 changed files with 100 additions and 81 deletions

View File

@ -1,15 +1,15 @@
[package]
name = "prost-example"
version = "0.2.0"
version = "0.3.0"
authors = ["kingxsp <jin.hb.zh@outlook.com>"]
[dependencies]
bytes = "0.4"
env_logger = "*"
prost = "0.2"
prost-derive = "0.2"
prost = "0.4"
prost-derive = "0.4"
actix = "0.5"
actix-web = "0.5"
actix = "0.7"
actix-web = "0.7"
actix-protobuf = { path="../../" }

View File

@ -10,7 +10,7 @@ extern crate prost_derive;
use actix_web::*;
use actix_protobuf::*;
#[derive(Clone, Debug, PartialEq, Message)]
#[derive(Clone, PartialEq, Message)]
pub struct MyObj {
#[prost(int32, tag="1")]
pub number: i32,