Skip to content

Commit bcdde1d

Browse files
committed
move actix-web to own dir
1 parent 30aa64e commit bcdde1d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

109 files changed

+1287
-1280
lines changed

CHANGES.md

+2-1,029
Large diffs are not rendered by default.

Cargo.toml

+1-146
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,6 @@
1-
[package]
2-
name = "actix-web"
3-
version = "4.0.0-rc.1"
4-
authors = [
5-
"Nikolay Kim <[email protected]>",
6-
"Rob Ede <[email protected]>",
7-
]
8-
description = "Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust"
9-
keywords = ["actix", "http", "web", "framework", "async"]
10-
categories = [
11-
"network-programming",
12-
"asynchronous",
13-
"web-programming::http-server",
14-
"web-programming::websocket"
15-
]
16-
homepage = "https://actix.rs"
17-
repository = "https://github.com/actix/actix-web.git"
18-
license = "MIT OR Apache-2.0"
19-
edition = "2018"
20-
21-
[package.metadata.docs.rs]
22-
# features that docs.rs will build with
23-
features = ["openssl", "rustls", "compress-brotli", "compress-gzip", "compress-zstd", "cookies", "secure-cookies"]
24-
rustdoc-args = ["--cfg", "docsrs"]
25-
26-
[lib]
27-
name = "actix_web"
28-
path = "src/lib.rs"
29-
301
[workspace]
312
resolver = "2"
323
members = [
33-
".",
344
"actix-files",
355
"actix-http-test",
366
"actix-http",
@@ -39,93 +9,10 @@ members = [
399
"actix-test",
4010
"actix-web-actors",
4111
"actix-web-codegen",
12+
"actix-web",
4213
"awc",
4314
]
4415

45-
[features]
46-
default = ["compress-brotli", "compress-gzip", "compress-zstd", "cookies"]
47-
48-
# Brotli algorithm content-encoding support
49-
compress-brotli = ["actix-http/compress-brotli", "__compress"]
50-
# Gzip and deflate algorithms content-encoding support
51-
compress-gzip = ["actix-http/compress-gzip", "__compress"]
52-
# Zstd algorithm content-encoding support
53-
compress-zstd = ["actix-http/compress-zstd", "__compress"]
54-
55-
# support for cookies
56-
cookies = ["cookie"]
57-
58-
# secure cookies feature
59-
secure-cookies = ["cookie/secure"]
60-
61-
# openssl
62-
openssl = ["actix-http/openssl", "actix-tls/accept", "actix-tls/openssl"]
63-
64-
# rustls
65-
rustls = ["actix-http/rustls", "actix-tls/accept", "actix-tls/rustls"]
66-
67-
# Internal (PRIVATE!) features used to aid testing and checking feature status.
68-
# Don't rely on these whatsoever. They may disappear at anytime.
69-
__compress = []
70-
71-
# io-uring feature only avaiable for Linux OSes.
72-
experimental-io-uring = ["actix-server/io-uring"]
73-
74-
[dependencies]
75-
actix-codec = "0.4.1"
76-
actix-macros = "0.2.3"
77-
actix-rt = "2.6"
78-
actix-server = "2"
79-
actix-service = "2.0.0"
80-
actix-utils = "3.0.0"
81-
actix-tls = { version = "3.0.0", default-features = false, optional = true }
82-
83-
actix-http = { version = "3.0.0-rc.1", features = ["http2", "ws"] }
84-
actix-router = "0.5.0-rc.3"
85-
actix-web-codegen = "0.5.0-rc.2"
86-
87-
ahash = "0.7"
88-
bytes = "1"
89-
cfg-if = "1"
90-
cookie = { version = "0.16", features = ["percent-encode"], optional = true }
91-
derive_more = "0.99.5"
92-
encoding_rs = "0.8"
93-
futures-core = { version = "0.3.7", default-features = false }
94-
futures-util = { version = "0.3.7", default-features = false }
95-
itoa = "1"
96-
language-tags = "0.3"
97-
once_cell = "1.5"
98-
log = "0.4"
99-
mime = "0.3"
100-
pin-project-lite = "0.2.7"
101-
regex = "1.4"
102-
serde = { version = "1.0", features = ["derive"] }
103-
serde_json = "1.0"
104-
serde_urlencoded = "0.7"
105-
smallvec = "1.6.1"
106-
socket2 = "0.4.0"
107-
time = { version = "0.3", default-features = false, features = ["formatting"] }
108-
url = "2.1"
109-
110-
[dev-dependencies]
111-
actix-files = "0.6.0-beta.16"
112-
actix-test = { version = "0.1.0-beta.12", features = ["openssl", "rustls"] }
113-
awc = { version = "3.0.0-beta.20", features = ["openssl"] }
114-
115-
brotli = "3.3.3"
116-
const-str = "0.3"
117-
criterion = { version = "0.3", features = ["html_reports"] }
118-
env_logger = "0.9"
119-
flate2 = "1.0.13"
120-
futures-util = { version = "0.3.7", default-features = false, features = ["std"] }
121-
rand = "0.8"
122-
rcgen = "0.8"
123-
rustls-pemfile = "0.2"
124-
static_assertions = "1"
125-
tls-openssl = { package = "openssl", version = "0.10.9" }
126-
tls-rustls = { package = "rustls", version = "0.20.0" }
127-
zstd = "0.9"
128-
12916
[profile.dev]
13017
# Disabling debug info speeds up builds a bunch and we don't rely on it for debugging that much.
13118
debug = 0
@@ -155,35 +42,3 @@ awc = { path = "awc" }
15542
# actix-utils = { path = "../actix-net/actix-utils" }
15643
# actix-tls = { path = "../actix-net/actix-tls" }
15744
# actix-server = { path = "../actix-net/actix-server" }
158-
159-
[[test]]
160-
name = "test_server"
161-
required-features = ["compress-brotli", "compress-gzip", "compress-zstd", "cookies"]
162-
163-
[[test]]
164-
name = "compression"
165-
required-features = ["compress-brotli", "compress-gzip", "compress-zstd"]
166-
167-
[[example]]
168-
name = "basic"
169-
required-features = ["compress-gzip"]
170-
171-
[[example]]
172-
name = "uds"
173-
required-features = ["compress-gzip"]
174-
175-
[[example]]
176-
name = "on-connect"
177-
required-features = []
178-
179-
[[bench]]
180-
name = "server"
181-
harness = false
182-
183-
[[bench]]
184-
name = "service"
185-
harness = false
186-
187-
[[bench]]
188-
name = "responder"
189-
harness = false

README.md

-105
This file was deleted.

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
actix-web/README.md

0 commit comments

Comments
 (0)