From 7156e1cbf0e334d1ed10cd7d3354f42a00d74a3e Mon Sep 17 00:00:00 2001 From: Sadika Sumanapala Date: Mon, 23 Jul 2018 15:29:32 +0530 Subject: [PATCH] Rename example 'complex-middleware' to 'cookie-auth-full' --- .travis.yml | 2 +- Cargo.lock | 24 +++++++++---------- Cargo.toml | 2 +- .../Cargo.toml | 2 +- .../src/auth.rs | 0 .../src/main.rs | 0 6 files changed, 15 insertions(+), 15 deletions(-) rename {complex-middleware => cookie-auth-full}/Cargo.toml (90%) rename {complex-middleware => cookie-auth-full}/src/auth.rs (100%) rename {complex-middleware => cookie-auth-full}/src/main.rs (100%) diff --git a/.travis.yml b/.travis.yml index 4745203d..7d10d027 100644 --- a/.travis.yml +++ b/.travis.yml @@ -37,8 +37,8 @@ script: cd async_db && cargo check && cd .. cd async_ex1 && cargo check && cd .. cd basics && cargo check && cd .. - cd complex-middleware && cargo check && cd .. cd cookie-auth && cargo check && cd .. + cd cookie-auth-full && cargo check && cd .. cd cookie-session && cargo check && cd .. cd diesel && cargo check && cd .. cd form && cargo check && cd .. diff --git a/Cargo.lock b/Cargo.lock index 42e1faf1..59ee193a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -366,18 +366,6 @@ dependencies = [ "bitflags 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)", ] -[[package]] -name = "complex-middleware" -version = "0.1.0" -dependencies = [ - "actix 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", - "actix-web 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", - "cookie 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)", - "env_logger 0.5.10 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)", - "time 0.1.40 (registry+https://github.com/rust-lang/crates.io-index)", -] - [[package]] name = "cookie" version = "0.10.1" @@ -398,6 +386,18 @@ dependencies = [ "env_logger 0.5.10 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "cookie-auth-full" +version = "0.1.0" +dependencies = [ + "actix 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", + "actix-web 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", + "cookie 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)", + "env_logger 0.5.10 (registry+https://github.com/rust-lang/crates.io-index)", + "futures 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)", + "time 0.1.40 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "cookie-session" version = "0.1.0" diff --git a/Cargo.toml b/Cargo.toml index 4fe74db9..fb89e0a7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,8 +4,8 @@ members = [ "async_db", "async_ex1", "basics", - "complex-middleware", "cookie-auth", + "cookie-auth-full", "cookie-session", "diesel", "form", diff --git a/complex-middleware/Cargo.toml b/cookie-auth-full/Cargo.toml similarity index 90% rename from complex-middleware/Cargo.toml rename to cookie-auth-full/Cargo.toml index 0c192984..5098bfdd 100644 --- a/complex-middleware/Cargo.toml +++ b/cookie-auth-full/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "complex-middleware" +name = "cookie-auth-full" version = "0.1.0" authors = ["Nikolay Kim "] workspace = "../" diff --git a/complex-middleware/src/auth.rs b/cookie-auth-full/src/auth.rs similarity index 100% rename from complex-middleware/src/auth.rs rename to cookie-auth-full/src/auth.rs diff --git a/complex-middleware/src/main.rs b/cookie-auth-full/src/main.rs similarity index 100% rename from complex-middleware/src/main.rs rename to cookie-auth-full/src/main.rs