diff --git a/ohkami/Cargo.toml b/ohkami/Cargo.toml index 31fb4fb5..0bfca8ef 100644 --- a/ohkami/Cargo.toml +++ b/ohkami/Cargo.toml @@ -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"]