Skip to content

Commit 6ec93db

Browse files
Fix again kafka dep
Signed-off-by: Francesco Guardiani <[email protected]>
1 parent 80dad09 commit 6ec93db

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

cloudevents-sdk-rdkafka/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,11 @@ categories = ["web-programming", "encoding"]
1616
bytes = "^0.5"
1717
cloudevents-sdk = { version = "0.2.0", path = ".." }
1818
lazy_static = "1.4.0"
19-
rdkafka = { version = "^0.24", default-features = false }
19+
rdkafka = { version = "^0.24", features = ["cmake-build"] }
2020

2121
[dev-dependencies]
2222
url = { version = "^2.1" }
2323
serde_json = "^1.0"
2424
chrono = { version = "^0.4", features = ["serde"] }
2525
futures = "0.3.5"
26-
rdkafka = { version = "^0.24" }
2726
version-sync = "^0.9"

example-projects/rdkafka-example/Cargo.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ serde_json = "^1.0"
1717
futures = "^0.3"
1818
tokio = { version = "^0.2", features = ["full"] }
1919
clap = "2.33.1"
20-
21-
[dependencies.rdkafka]
22-
version = "^0.24"
23-
features = ["cmake-build"]
20+
rdkafka = { version = "^0.24", features = ["cmake-build"] }
2421

2522
[workspace]

0 commit comments

Comments
 (0)