mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-23 23:51:06 +01:00
Make crate 2018 edition
This commit is contained in:
parent
7fb3024ee2
commit
342c711bad
@ -1,6 +1,7 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "actix-protobuf"
|
name = "actix-protobuf"
|
||||||
version = "0.4.1"
|
version = "0.4.1"
|
||||||
|
edition = "2018"
|
||||||
authors = ["kingxsp <jin.hb.zh@outlook.com>"]
|
authors = ["kingxsp <jin.hb.zh@outlook.com>"]
|
||||||
description = "Protobuf support for actix-web framework."
|
description = "Protobuf support for actix-web framework."
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
14
src/lib.rs
14
src/lib.rs
@ -1,17 +1,3 @@
|
|||||||
extern crate actix;
|
|
||||||
extern crate actix_web;
|
|
||||||
extern crate bytes;
|
|
||||||
extern crate derive_more;
|
|
||||||
extern crate futures;
|
|
||||||
|
|
||||||
#[cfg(test)]
|
|
||||||
extern crate http;
|
|
||||||
|
|
||||||
extern crate prost;
|
|
||||||
#[cfg(test)]
|
|
||||||
#[macro_use]
|
|
||||||
extern crate prost_derive;
|
|
||||||
|
|
||||||
use derive_more::Display;
|
use derive_more::Display;
|
||||||
use std::fmt;
|
use std::fmt;
|
||||||
use std::ops::{Deref, DerefMut};
|
use std::ops::{Deref, DerefMut};
|
||||||
|
Loading…
Reference in New Issue
Block a user