-
Notifications
You must be signed in to change notification settings - Fork 5
/
Cargo.toml
52 lines (46 loc) · 1.43 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[package]
name = "octane"
version = "0.1.2"
authors = ["weegee <somilsharma627@gmail.com>", "aplet123 <aplet@aplet.me>"]
description = "A web server which is express-like, intuitive and high-powered"
license-file = "LICENSE"
homepage = "https://github.com/OctaneWeb/Octane"
readme = "README.md"
edition = "2018"
[dependencies]
lazy_static = "1.4.0"
tokio-rustls = { version = "0.20", optional = true }
openssl = { version = "0.10.30", optional = true }
tokio-openssl = { version = "0.5", optional = true }
tokio = { version = "0.3", features = ["net", "io-util", "stream", "rt-multi-thread"] }
socket2 = "0.3.19"
cookie = { version = "0.14.3", optional = true }
serde = { version = "1.0.123", optional = true }
serde_json = { version = "1.0.59", optional = true }
[dependencies.octane_macros]
path = "octane_macros"
version = "0.1.2"
[dependencies.octane_http]
path = "octane_http"
version = "0.1"
[features]
default = ["faithful", "query_strings", "cookies", "url_variables", "raw_headers"]
faithful = []
test_crate = []
raw_headers = []
query_strings = []
extended_queries = []
cookies = ["cookie"]
json = ["serde", "serde_json"]
url_variables = []
rustls = ["tokio-rustls"]
openSSL = ["openssl", "tokio-openssl"]
[dev-dependencies]
reqwest = { version = "0.10.8", features = ["native-tls"] }
tokio = { version = "0.3", features = ["net", "io-util", "rt-multi-thread"] }
curl = "0.4.33"
[workspace]
members = [
"octane_macros",
"octane_http"
]