1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-30 18:34:36 +01:00

disable unmigrated crates

This commit is contained in:
Nikolay Kim 2019-11-21 00:52:38 +06:00
parent b510527a9f
commit ff62facc0d
9 changed files with 76 additions and 64 deletions

View File

@ -31,13 +31,13 @@ members = [
".", ".",
"awc", "awc",
"actix-http", "actix-http",
"actix-cors", #"actix-cors",
"actix-files", #"actix-files",
"actix-framed", #"actix-framed",
"actix-session", #"actix-session",
"actix-identity", #"actix-identity",
"actix-multipart", #"actix-multipart",
"actix-web-actors", #"actix-web-actors",
"actix-web-codegen", "actix-web-codegen",
"test-server", "test-server",
] ]
@ -125,17 +125,27 @@ actix-http = { path = "actix-http" }
actix-http-test = { path = "test-server" } actix-http-test = { path = "test-server" }
actix-web-codegen = { path = "actix-web-codegen" } actix-web-codegen = { path = "actix-web-codegen" }
# actix-web-actors = { path = "actix-web-actors" } # actix-web-actors = { path = "actix-web-actors" }
actix-session = { path = "actix-session" } # actix-session = { path = "actix-session" }
actix-files = { path = "actix-files" } # actix-files = { path = "actix-files" }
actix-multipart = { path = "actix-multipart" } # actix-multipart = { path = "actix-multipart" }
awc = { path = "awc" } awc = { path = "awc" }
actix-codec = { path = "../actix-net/actix-codec" } actix-codec = { git = "https://github.com/actix/actix-net.git" }
actix-connect = { path = "../actix-net/actix-connect" } actix-connect = { git = "https://github.com/actix/actix-net.git" }
actix-rt = { path = "../actix-net/actix-rt" } actix-rt = { git = "https://github.com/actix/actix-net.git" }
actix-server = { path = "../actix-net/actix-server" } actix-server = { git = "https://github.com/actix/actix-net.git" }
actix-server-config = { path = "../actix-net/actix-server-config" } actix-server-config = { git = "https://github.com/actix/actix-net.git" }
actix-service = { path = "../actix-net/actix-service" } actix-service = { git = "https://github.com/actix/actix-net.git" }
actix-testing = { path = "../actix-net/actix-testing" } actix-testing = { git = "https://github.com/actix/actix-net.git" }
actix-threadpool = { path = "../actix-net/actix-threadpool" } actix-threadpool = { git = "https://github.com/actix/actix-net.git" }
actix-utils = { path = "../actix-net/actix-utils" } actix-utils = { git = "https://github.com/actix/actix-net.git" }
# actix-codec = { path = "../actix-net/actix-codec" }
# actix-connect = { path = "../actix-net/actix-connect" }
# actix-rt = { path = "../actix-net/actix-rt" }
# actix-server = { path = "../actix-net/actix-server" }
# actix-server-config = { path = "../actix-net/actix-server-config" }
# actix-service = { path = "../actix-net/actix-service" }
# actix-testing = { path = "../actix-net/actix-testing" }
# actix-threadpool = { path = "../actix-net/actix-threadpool" }
# actix-utils = { path = "../actix-net/actix-utils" }

View File

@ -17,7 +17,7 @@ name = "actix_cors"
path = "src/lib.rs" path = "src/lib.rs"
[dependencies] [dependencies]
actix-web = "2.0.0-alpha.1" actix-web = "1.0.9"
actix-service = "1.0.0-alpha.1" actix-service = "0.4.0"
derive_more = "0.15.0" derive_more = "0.15.0"
futures = "0.3.1" futures = "0.3.1"

View File

@ -1,6 +1,6 @@
[package] [package]
name = "actix-files" name = "actix-files"
version = "0.2.0-alpha.1" version = "0.1.7"
authors = ["Nikolay Kim <fafhrd91@gmail.com>"] authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
description = "Static files support for actix web." description = "Static files support for actix web."
readme = "README.md" readme = "README.md"
@ -11,19 +11,19 @@ documentation = "https://docs.rs/actix-files/"
categories = ["asynchronous", "web-programming::http-server"] categories = ["asynchronous", "web-programming::http-server"]
license = "MIT/Apache-2.0" license = "MIT/Apache-2.0"
edition = "2018" edition = "2018"
workspace = ".." # workspace = ".."
[lib] [lib]
name = "actix_files" name = "actix_files"
path = "src/lib.rs" path = "src/lib.rs"
[dependencies] [dependencies]
actix-web = { version = "2.0.0-alpha.1", default-features = false } actix-web = { version = "1.0.9", default-features = false }
actix-http = "0.3.0-alpha.1" actix-http = "0.2.11"
actix-service = "1.0.0-alpha.1" actix-service = "0.4.2"
bitflags = "1" bitflags = "1"
bytes = "0.4" bytes = "0.4"
futures = "0.3.1" futures = "0.1.24"
derive_more = "0.15.0" derive_more = "0.15.0"
log = "0.4" log = "0.4"
mime = "0.3" mime = "0.3"
@ -32,4 +32,4 @@ percent-encoding = "2.1"
v_htmlescape = "0.4" v_htmlescape = "0.4"
[dev-dependencies] [dev-dependencies]
actix-web = { version = "2.0.0-alpha.1", features=["openssl"] } actix-web = { version = "1.0.9", features=["ssl"] }

View File

@ -20,19 +20,19 @@ name = "actix_framed"
path = "src/lib.rs" path = "src/lib.rs"
[dependencies] [dependencies]
actix-codec = "0.2.0-alpha.1" actix-codec = "0.1.2"
actix-service = "1.0.0-alpha.1" actix-service = "0.4.2"
actix-router = "0.1.2" actix-router = "0.1.2"
actix-rt = "1.0.0-alpha.1" actix-rt = "0.2.2"
actix-http = "0.3.0-alpha.1" actix-http = "0.2.11"
actix-server-config = "0.2.0-alpha.1" actix-server-config = "0.1.1"
bytes = "0.4" bytes = "0.4"
futures = "0.1.25" futures = "0.1.25"
log = "0.4" log = "0.4"
[dev-dependencies] [dev-dependencies]
actix-server = { version = "0.8.0-alpha.1", features=["openssl"] } actix-server = { version = "0.6.0", features=["openssl"] }
actix-connect = { version = "0.3.0-alpha.1", features=["openssl"] } actix-connect = { version = "0.2.0", features=["openssl"] }
actix-http-test = { version = "0.3.0-alpha.1", features=["openssl"] } actix-http-test = { version = "0.1.0", features=["openssl"] }
actix-utils = "0.5.0-alpha.1" actix-utils = "0.4.0"

View File

@ -17,14 +17,14 @@ name = "actix_identity"
path = "src/lib.rs" path = "src/lib.rs"
[dependencies] [dependencies]
actix-web = { version = "2.0.0-alpha.1", default-features = false, features = ["secure-cookies"] } actix-web = { version = "1.0.9", default-features = false, features = ["secure-cookies"] }
actix-service = "1.0.0-alpha.1" actix-service = "0.4.2"
futures = "0.3.1" futures = "0.3.1"
serde = "1.0" serde = "1.0"
serde_json = "1.0" serde_json = "1.0"
time = "0.1.42" time = "0.1.42"
[dev-dependencies] [dev-dependencies]
actix-rt = "1.0.0-alpha.1" actix-rt = "0.2.2"
actix-http = "0.3.0-alpha.1" actix-http = "0.2.11"
bytes = "0.4" bytes = "0.4"

View File

@ -18,17 +18,17 @@ name = "actix_multipart"
path = "src/lib.rs" path = "src/lib.rs"
[dependencies] [dependencies]
actix-web = { version = "2.0.0-alpha.1", default-features = false } actix-web = { version = "1.0.9", default-features = false }
actix-service = "1.0.0-alpha.1" actix-service = "0.4.2"
bytes = "0.4" bytes = "0.4"
derive_more = "0.15.0" derive_more = "0.15.0"
httparse = "1.3" httparse = "1.3"
futures = "0.3.1" futures = "0.1.24"
log = "0.4" log = "0.4"
mime = "0.3" mime = "0.3"
time = "0.1" time = "0.1"
twoway = "0.2" twoway = "0.2"
[dev-dependencies] [dev-dependencies]
actix-rt = "1.0.0-alpha.1" actix-rt = "0.2.2"
actix-http = "0.3.0-alpha.1" actix-http = "0.2.11"

View File

@ -24,15 +24,15 @@ default = ["cookie-session"]
cookie-session = ["actix-web/secure-cookies"] cookie-session = ["actix-web/secure-cookies"]
[dependencies] [dependencies]
actix-web = "2.0.0-alpha.1" actix-web = "1.0.9"
actix-service = "1.0.0-alpha.1" actix-service = "0.4.2"
bytes = "0.4" bytes = "0.4"
derive_more = "0.15.0" derive_more = "0.15.0"
futures = "0.3.1" futures = "0.1.24"
hashbrown = "0.6.3" hashbrown = "0.6.3"
serde = "1.0" serde = "1.0"
serde_json = "1.0" serde_json = "1.0"
time = "0.1.42" time = "0.1.42"
[dev-dependencies] [dev-dependencies]
actix-rt = "1.0.0-alpha.1" actix-rt = "0.2.2"

View File

@ -14,7 +14,7 @@ categories = ["network-programming", "asynchronous",
license = "MIT/Apache-2.0" license = "MIT/Apache-2.0"
exclude = [".gitignore", ".travis.yml", ".cargo/config", "appveyor.yml"] exclude = [".gitignore", ".travis.yml", ".cargo/config", "appveyor.yml"]
edition = "2018" edition = "2018"
# workspace = ".." workspace = ".."
[package.metadata.docs.rs] [package.metadata.docs.rs]
features = [] features = []

View File

@ -23,24 +23,26 @@ pub use actix_testing::*;
/// ///
/// ```rust /// ```rust
/// use actix_http::HttpService; /// use actix_http::HttpService;
/// use actix_http_test::TestServer; /// use actix_http_test::{block_on, TestServer};
/// use actix_web::{web, App, HttpResponse}; /// use actix_web::{web, App, HttpResponse, Error};
/// ///
/// fn my_handler() -> HttpResponse { /// async fn my_handler() -> Result<HttpResponse, Error> {
/// HttpResponse::Ok().into() /// Ok(HttpResponse::Ok().into())
/// } /// }
/// ///
/// fn main() { /// fn main() {
/// let mut srv = TestServer::new( /// block_on( async {
/// let mut srv = TestServer::start(
/// || HttpService::new( /// || HttpService::new(
/// App::new().service( /// App::new().service(
/// web::resource("/").to(my_handler)) /// web::resource("/").to_async(my_handler))
/// ) /// )
/// ); /// );
/// ///
/// let req = srv.get("/"); /// let req = srv.get("/");
/// let response = srv.block_on(req.send()).unwrap(); /// let response = req.send().await.unwrap();
/// assert!(response.status().is_success()); /// assert!(response.status().is_success());
/// })
/// } /// }
/// ``` /// ```
pub struct TestServer; pub struct TestServer;