Skip to content

scram-vendored feature #528

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ ssl-vendored = ["rdkafka-sys/ssl-vendored"]
gssapi = ["rdkafka-sys/gssapi"]
gssapi-vendored = ["rdkafka-sys/gssapi-vendored"]
sasl = ["rdkafka-sys/sasl"]
scram-vendored = ["rdkafka-sys/scram-vendored"]
libz = ["rdkafka-sys/libz"]
libz-static = ["rdkafka-sys/libz-static"]
curl = ["rdkafka-sys/curl"]
Expand Down
5 changes: 4 additions & 1 deletion rdkafka-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ libz-sys = { version = "1.0.0", optional = true }
curl-sys = { version = "0.4.55", optional = true }
zstd-sys = { version = "2.0.0", optional = true }
lz4-sys = { version = "1.8.3", optional = true }
sasl2-sys = { version = "0.1.6", optional = true }
sasl2-sys = { version = "0.1.20", optional = true }

[build-dependencies]
pkg-config = "0.3.9"
Expand Down Expand Up @@ -70,6 +70,9 @@ libz = ["libz-sys"]
# the system's version.
libz-static = ["libz", "libz-sys/static"]

# Enable SASL/SCRAM support
scram-vendored = ["ssl-vendored", "sasl2-sys/scram"]

# Enable support for HTTP client via curl.
curl = ["curl-sys"]

Expand Down
2 changes: 2 additions & 0 deletions rdkafka-sys/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ flags you would pass to `configure` if you were compiling manually).
libsasl2. By default the system's libsasl2 is dynamically linked, but
static linking of the version bundled with the [sasl2-sys] crate can be
requested with the `gssapi-vendored` feature.
* The **`scram-vendored`** feature enables SASL SCRAM support with Cyrus
libsasl2. This requires linking against OpenSSL via the [openssl-sys] crate.
* The **`libz`** feature enables support for zlib compression. This
feature is enabled by default. By default, the system's libz is
dynamically linked, but static linking of the version bundled with the
Expand Down
1 change: 1 addition & 0 deletions rdkafka-sys/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

* Add the `RDKafkaDeleteGroup` and `RDKafkaGroupResult` type aliases to the
`types` module.
* Add `scram-vendored` feature.

## v4.3.0+1.9.2 (2022-10-29)

Expand Down