-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into recordIterator
- Loading branch information
Showing
181 changed files
with
2,856 additions
and
2,594 deletions.
There are no files selected for viewing
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,13 +3,13 @@ members = ["protocol_codegen"] | |
|
||
[package] | ||
name = "kafka-protocol" | ||
version = "0.12.0" | ||
version = "0.14.0" | ||
authors = [ | ||
"Diggory Blake <[email protected]>", | ||
"Charlotte McElwain <[email protected]>", | ||
"belltoy <[email protected]>", | ||
] | ||
edition = "2018" | ||
edition = "2021" | ||
license = "MIT/Apache-2.0" | ||
description = "Implementation of Kafka wire protocol." | ||
homepage = "https://github.com/tychedelia/kafka-protocol-rs" | ||
|
@@ -28,17 +28,27 @@ client = [] | |
# Enable this feature if you are implementing a kafka protocol compatible broker. | ||
# It will enable encoding of responses and decoding of requests. | ||
broker = [] | ||
default = ["client", "broker"] | ||
|
||
# Enable compression of records using gzip | ||
gzip = ["dep:flate2"] | ||
# Enable compression of records using zstd | ||
zstd = ["dep:zstd"] | ||
# Enable compression of records using snap | ||
snappy = ["dep:snap"] | ||
# Enable compression of records using lz4 | ||
lz4 = ["dep:lz4"] | ||
|
||
default = ["client", "broker", "gzip", "zstd", "snappy", "lz4"] | ||
|
||
[dependencies] | ||
bytes = "1.0.1" | ||
uuid = "1.3.0" | ||
indexmap = "2.0.0" | ||
crc = "3.0.0" | ||
snap = "1.0.5" | ||
flate2 = "1.0.20" | ||
zstd = "0.13" | ||
lz4 = "1.24" | ||
snap = { version = "1.0.5", optional = true } | ||
flate2 = { version = "1.0.20", optional = true } | ||
zstd = { version = "0.13", optional = true } | ||
lz4 = { version = "1.24", optional = true } | ||
paste = "1.0.7" | ||
crc32c = "0.6.4" | ||
anyhow = "1.0.80" | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "protocol_codegen" | ||
version = "0.1.0" | ||
authors = ["Diggory Blake <[email protected]>"] | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
|
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
Oops, something went wrong.