use rust language edition 2018 (introduced in 1.31)
This commit is contained in:
parent
595ebed94d
commit
09cba55dc8
2 changed files with 2 additions and 1 deletions
|
@ -5,6 +5,7 @@ authors = ["Damjan Georgievski <gdamjan@gmail.com>"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
homepage = "https://github.com/gdamjan/http-server-rs"
|
homepage = "https://github.com/gdamjan/http-server-rs"
|
||||||
|
edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
actix-web = "0.7"
|
actix-web = "0.7"
|
||||||
|
|
|
@ -4,7 +4,7 @@ use futures::Stream;
|
||||||
use percent_encoding::{utf8_percent_encode, DEFAULT_ENCODE_SET};
|
use percent_encoding::{utf8_percent_encode, DEFAULT_ENCODE_SET};
|
||||||
use htmlescape::encode_minimal as escape_html_entity;
|
use htmlescape::encode_minimal as escape_html_entity;
|
||||||
|
|
||||||
use channel;
|
use crate::channel;
|
||||||
|
|
||||||
use std::fmt::Write;
|
use std::fmt::Write;
|
||||||
use std::path::PathBuf;
|
use std::path::PathBuf;
|
||||||
|
|
Loading…
Add table
Reference in a new issue