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:
@ -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="../../" }
|
@ -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,
|
||||
|
Reference in New Issue
Block a user