-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
66 lines (57 loc) · 2.56 KB
/
Cargo.toml
File metadata and controls
66 lines (57 loc) · 2.56 KB
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[package]
name = "mlua-stdlib"
description = "Standard library bindings for mlua"
version = "0.1.0"
edition = "2024"
license = "MIT"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
lua51 = ["mlua/lua51"]
lua52 = ["mlua/lua52"]
lua53 = ["mlua/lua53"]
lua54 = ["mlua/lua54"]
luau = ["mlua/luau"]
async = ["mlua/async", "dep:tokio", "dep:tokio-util", "dep:futures-util"]
send = ["mlua/send"]
vendored = ["mlua/vendored"]
json = ["mlua/serde", "dep:ouroboros", "dep:serde", "dep:serde_json", "reqwest?/json"]
regex = ["dep:regex", "dep:ouroboros", "dep:quick_cache"]
yaml = ["mlua/serde", "dep:ouroboros", "dep:serde", "dep:serde_yaml"]
http = ["dep:http", "dep:http-body", "dep:http-serde-ext", "dep:http-body-util", "dep:hyper", "dep:hyper-util", "net", "task"]
reqwest = ["http", "async", "dep:reqwest"]
net = ["task"]
task = ["async"]
tls = ["net", "dep:rustls", "dep:tokio-rustls", "dep:rustls-pemfile", "dep:rustls-native-certs", "dep:webpki-roots"]
[dependencies]
bytes = "1"
mlua = { version = "0.11.5", features = ["error-send", "macros"] }
ouroboros = { version = "0.18", optional = true }
serde = { version = "1.0", optional = true }
serde_json = { version = "1.0", optional = true }
serde_yaml = { version = "0.9", optional = true }
owo-colors = "4"
regex = { version = "1.0", optional = true }
quick_cache = { version = "0.6", optional = true }
futures-util = { version = "0.3", optional = true }
parking_lot = "0.12"
humantime = "2.3"
# http
http = { version = "1.3", optional = true }
http-serde-ext = { version = "1.0", optional = true }
http-body = { version = "1.0", optional = true }
http-body-util = { version = "0.1", optional = true }
hyper = { version = "1.5", optional = true, features = ["http1", "http2", "server"] }
hyper-util = { version = "0.1", optional = true, features = ["tokio", "server", "server-auto", "server-graceful", "client-legacy"] }
# reqwest
reqwest = { version = "0.12", features = ["cookies", "gzip", "brotli", "multipart", "stream"], optional = true }
# tokio
tokio = { version = "1", features = ["full"], optional = true }
tokio-util = { version = "0.7", features = ["time"], optional = true }
# tls
rustls = { version = "0.23", optional = true, default-features = false, features = ["aws-lc-rs"] }
tokio-rustls = { version = "0.26", optional = true, default-features = false }
rustls-pemfile = { version = "2", optional = true }
rustls-native-certs = { version = "0.8", optional = true }
webpki-roots = { version = "1", optional = true }
[dev-dependencies]
tokio = { version = "1", features = ["full"] }