Skip to content

Commit 0e651bf

Browse files
authored
build: update dependencies and add optional features (#262)
1 parent 8e20c54 commit 0e651bf

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

Cargo.lock

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/core/Cargo.toml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,15 @@ path = "src/lib.rs"
2121

2222
[dependencies]
2323
http = { workspace = true }
24-
ngyn_macros = { version = "0.5.3", path = "../macros" }
24+
ngyn_macros = { version = "0.5.3", path = "../macros", optional = true }
2525
ngyn_shared = { version = "0.5.3", path = "../shared" }
26-
ngyn-hyper = { version = "0.2.3", path = "../hyper" }
26+
ngyn-hyper = { version = "0.2.3", path = "../hyper", optional = true }
27+
ngyn-websocket = { version = "0.1.2", path = "../ws", optional = true }
28+
ngyn-vercel = { version = "0.2.2", path = "../vercel", optional = true }
29+
30+
[features]
31+
default = ["hyper"]
32+
hyper = ["ngyn-hyper", "ngyn_macros"]
33+
macros = ["ngyn_macros"]
34+
websocket = ["ngyn-websocket"]
35+
vercel = ["ngyn-vercel", "ngyn_macros"]

0 commit comments

Comments
 (0)