From ca7cd737e76331eb0fe2a2f8abf303f72fce6b9f Mon Sep 17 00:00:00 2001 From: yjhmelody <465402634@qq.com> Date: Wed, 18 Dec 2019 16:40:42 +0800 Subject: [PATCH] rename router to actix-router --- Cargo.toml | 4 ++-- {router => actix-router}/CHANGES.txt | 0 {router => actix-router}/Cargo.toml | 0 {router => actix-router}/LICENSE-APACHE | 0 {router => actix-router}/LICENSE-MIT | 0 {router => actix-router}/src/de.rs | 5 ----- {router => actix-router}/src/lib.rs | 0 {router => actix-router}/src/path.rs | 0 {router => actix-router}/src/resource.rs | 0 {router => actix-router}/src/router.rs | 0 {router => actix-router}/src/url.rs | 0 11 files changed, 2 insertions(+), 7 deletions(-) rename {router => actix-router}/CHANGES.txt (100%) rename {router => actix-router}/Cargo.toml (100%) rename {router => actix-router}/LICENSE-APACHE (100%) rename {router => actix-router}/LICENSE-MIT (100%) rename {router => actix-router}/src/de.rs (99%) rename {router => actix-router}/src/lib.rs (100%) rename {router => actix-router}/src/path.rs (100%) rename {router => actix-router}/src/resource.rs (100%) rename {router => actix-router}/src/router.rs (100%) rename {router => actix-router}/src/url.rs (100%) diff --git a/Cargo.toml b/Cargo.toml index 1557e0f2..bcb6ea06 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,7 @@ members = [ "actix-threadpool", "actix-tls", "actix-utils", - "router", + "actix-router", "string", ] @@ -27,5 +27,5 @@ actix-testing = { path = "actix-testing" } actix-threadpool = { path = "actix-threadpool" } actix-tls = { path = "actix-tls" } actix-utils = { path = "actix-utils" } -actix-router = { path = "router" } +actix-router = { path = "actix-router" } bytestring = { path = "string" } diff --git a/router/CHANGES.txt b/actix-router/CHANGES.txt similarity index 100% rename from router/CHANGES.txt rename to actix-router/CHANGES.txt diff --git a/router/Cargo.toml b/actix-router/Cargo.toml similarity index 100% rename from router/Cargo.toml rename to actix-router/Cargo.toml diff --git a/router/LICENSE-APACHE b/actix-router/LICENSE-APACHE similarity index 100% rename from router/LICENSE-APACHE rename to actix-router/LICENSE-APACHE diff --git a/router/LICENSE-MIT b/actix-router/LICENSE-MIT similarity index 100% rename from router/LICENSE-MIT rename to actix-router/LICENSE-MIT diff --git a/router/src/de.rs b/actix-router/src/de.rs similarity index 99% rename from router/src/de.rs rename to actix-router/src/de.rs index 56dac4e7..1b6f5c4e 100644 --- a/router/src/de.rs +++ b/actix-router/src/de.rs @@ -490,11 +490,6 @@ mod tests { value: String, } - #[derive(Deserialize)] - struct Id { - id: String, - } - #[derive(Debug, Deserialize)] struct Test1(String, u32); diff --git a/router/src/lib.rs b/actix-router/src/lib.rs similarity index 100% rename from router/src/lib.rs rename to actix-router/src/lib.rs diff --git a/router/src/path.rs b/actix-router/src/path.rs similarity index 100% rename from router/src/path.rs rename to actix-router/src/path.rs diff --git a/router/src/resource.rs b/actix-router/src/resource.rs similarity index 100% rename from router/src/resource.rs rename to actix-router/src/resource.rs diff --git a/router/src/router.rs b/actix-router/src/router.rs similarity index 100% rename from router/src/router.rs rename to actix-router/src/router.rs diff --git a/router/src/url.rs b/actix-router/src/url.rs similarity index 100% rename from router/src/url.rs rename to actix-router/src/url.rs