mirror of
https://github.com/fafhrd91/actix-net
synced 2025-06-28 05:10:36 +02:00
migrate to tokio 0.2.2
This commit is contained in:
@ -1,5 +1,11 @@
|
||||
# Changes
|
||||
|
||||
## [0.2.0] - 2019-12-05
|
||||
|
||||
* Update http to 0.2
|
||||
|
||||
* Update regex to 1.3
|
||||
|
||||
## [0.1.5] - 2019-05-15
|
||||
|
||||
* Remove debug prints
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "actix-router"
|
||||
version = "0.1.5"
|
||||
version = "0.2.0"
|
||||
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
||||
description = "Path router"
|
||||
keywords = ["actix"]
|
||||
@ -20,13 +20,12 @@ path = "src/lib.rs"
|
||||
default = ["http"]
|
||||
|
||||
[dependencies]
|
||||
bytes = "0.4"
|
||||
regex = "1.0"
|
||||
regex = "1.3.1"
|
||||
serde = "1.0.80"
|
||||
string = "0.2.0"
|
||||
log = "0.4"
|
||||
http = { version="0.1.14", optional=true }
|
||||
string = "0.2.1"
|
||||
log = "0.4.8"
|
||||
http = { version="0.2.0", optional=true }
|
||||
|
||||
[dev-dependencies]
|
||||
http = "0.1.14"
|
||||
http = "0.2.0"
|
||||
serde_derive = "1.0"
|
||||
|
@ -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() {
|
||||
|
@ -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};
|
||||
|
Reference in New Issue
Block a user