1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-06-28 20:10:35 +02:00

migrate to tokio 0.2.2

This commit is contained in:
Nikolay Kim
2019-12-05 16:40:24 +06:00
parent d49aca9595
commit 3a858feaec
37 changed files with 281 additions and 461 deletions

View File

@ -491,7 +491,8 @@ pub(crate) fn insert_slash(path: &str) -> String {
#[cfg(test)]
mod tests {
use super::*;
use http::{HttpTryFrom, Uri};
use http::Uri;
use std::convert::TryFrom;
#[test]
fn test_parse_static() {

View File

@ -200,7 +200,8 @@ fn restore_ch(d1: u8, d2: u8) -> Option<u8> {
#[cfg(test)]
mod tests {
use http::{HttpTryFrom, Uri};
use http::Uri;
use std::convert::TryFrom;
use super::*;
use crate::{Path, ResourceDef};