Created
July 6, 2021 13:20
-
-
Save jcrossley3/b9eeb2bb679ca8522288ed4e8026cb29 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Cargo.toml b/Cargo.toml | |
index 664d908..5985936 100644 | |
--- a/Cargo.toml | |
+++ b/Cargo.toml | |
@@ -17,10 +17,10 @@ categories = ["web-programming", "encoding", "data-structures"] | |
name = "cloudevents" | |
[features] | |
-cloudevents-actix = ["actix-web", "async-trait", "lazy_static", "bytes", "futures"] | |
-cloudevents-reqwest = ["reqwest", "async-trait", "lazy_static", "bytes"] | |
-cloudevents-rdkafka = ["rdkafka", "lazy_static", "bytes"] | |
-cloudevents-warp = ["warp", "lazy_static", "bytes", "http", "hyper"] | |
+actix = ["actix-web", "async-trait", "lazy_static", "bytes", "futures"] | |
+reqwest = ["reqwest-lib", "async-trait", "lazy_static", "bytes"] | |
+rdkafka = ["rdkafka-lib", "lazy_static", "bytes"] | |
+warp = ["warp-lib", "lazy_static", "bytes", "http", "hyper"] | |
[dependencies] | |
serde = { version = "^1.0", features = ["derive"] } | |
@@ -34,9 +34,9 @@ bitflags = "^1.2" | |
# runtime optional deps | |
actix-web = { version = "4.0.0-beta.8", default-features = false, optional = true } | |
-reqwest = { version = "^0.11", default-features = false, features = ["rustls-tls"], optional = true } | |
-rdkafka = { version = "^0.25", features = ["cmake-build"], optional = true } | |
-warp = { version = "^0.3", optional = true } | |
+reqwest-lib = { version = "^0.11", default-features = false, features = ["rustls-tls"], optional = true, package = "reqwest" } | |
+rdkafka-lib = { version = "^0.25", features = ["cmake-build"], optional = true, package = "rdkafka" } | |
+warp-lib = { version = "^0.3", optional = true, package = "warp" } | |
async-trait = { version = "^0.1.33", optional = true } | |
lazy_static = { version = "1.4.0", optional = true } | |
bytes = { version = "^1.0", optional = true } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment