Skip to content

Commit

Permalink
Fix: Cargo.toml: dependencies in features
Browse files Browse the repository at this point in the history
  • Loading branch information
kanarus committed Feb 7, 2024
1 parent 19355c5 commit 7e1e7e1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ohkami/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,22 @@ features = ["rt_tokio", "custom-header"]

[dependencies]
ohkami_lib = { version = "=0.1.0", path = "../ohkami_lib" }
ohkami_macros = { version = "=0.5.1", optional = true, path = "../ohkami_macros" }
ohkami_macros = { version = "=0.5.1", path = "../ohkami_macros" }
tokio = { version = "1", optional = true, features = ["net", "rt", "io-util", "sync"] }
async-std = { version = "1", optional = true }
byte_reader = { version = "2.0.0", features = ["text"] }
serde = "1.0"
serde_json = "1.0"
sha1 = { version = "=0.11.0-pre.0", optional = true, default-features = false }
sha2 = { version = "=0.11.0-pre.0", optional = true, default-features = false }
hmac = { version = "=0.13.0-pre.0", optional = true, default-features = false }
sha2 = { version = "=0.11.0-pre.0", default-features = false }
hmac = { version = "=0.13.0-pre.0", default-features = false }
rustc-hash = { version = "1.1", optional = true }

[features]
default = ["utils", "testing"]
rt_tokio = ["dep:tokio"]
rt_async-std = ["dep:async-std"]
utils = ["dep:ohkami_macros", "dep:sha2", "dep:hmac"]
utils = []
testing = []
custom-header = ["dep:rustc-hash"]
#websocket = ["dep:sha1"]
Expand Down

0 comments on commit 7e1e7e1

Please sign in to comment.