Commit Graph

47 Commits

Author SHA1 Message Date
David Blewett bb76b5bd40 Release v0.36.2. 2024-01-16 17:00:49 -05:00
David Blewett 0c5c131624 Release v0.36.0. 2023-11-09 17:25:01 -05:00
Samuel Cantero d425a60f9c Release v0.35.0 2023-11-07 15:38:49 -03:00
Samuel Cantero 573a02a217 Release rdkafka-sys v4.7.0+2.3.0 2023-11-07 15:33:02 -03:00
David Blewett 40ebb66c41 Release v0.34.0, with librdkafka v2.2.0 2023-08-21 16:50:07 -04:00
David Blewett 1c35b03487 Release v0.33.2. 2023-07-06 11:36:37 -04:00
David Blewett e27049fe0d Release v0.33.0. 2023-06-30 17:00:25 -04:00
David Blewett b46a1d3eef Update pin of rdkafka-sys to latest. 2023-06-09 15:08:24 -04:00
Greg Bowyer a3180ca88b Add mocking support into the bindings
RDKafka comes with a somewhat reasonable mock cluster. This works in a
way similar to the mock support in the java library.

While not all end users will want mocking over integration tests, this
is useful to have for quick testing of library logic without running a
test cluster.

As such we expose these functions in the bindings.
2023-06-06 10:40:35 -04:00
David Blewett 6997c64ece Bump version pins to cut release. 2023-05-12 17:21:05 -04:00
dependabot[bot] 68c7f4edae Bump zstd-sys from 2.0.1+zstd.1.5.2 to 2.0.6+zstd.1.5.2
Bumps [zstd-sys](https://github.com/gyscos/zstd-rs) from 2.0.1+zstd.1.5.2 to 2.0.6+zstd.1.5.2.
- [Release notes](https://github.com/gyscos/zstd-rs/releases)
- [Commits](https://github.com/gyscos/zstd-rs/commits)

---
updated-dependencies:
- dependency-name: zstd-sys
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-01 16:35:25 -04:00
David Blewett d9816af4af
Merge pull request #546 from fede1024/dependabot/cargo/openssl-src-111.25.01.1.1t
Bump openssl-src from 111.17.0+1.1.1m to 111.25.0+1.1.1t
2023-04-14 13:13:11 -04:00
David Blewett fb92638c98
Merge pull request #538 from fede1024/dependabot/cargo/bumpalo-3.12.0
Bump bumpalo from 3.6.1 to 3.12.0
2023-04-13 10:33:54 -04:00
dependabot[bot] 21b01d5a70
Bump openssl-src from 111.17.0+1.1.1m to 111.25.0+1.1.1t
Bumps [openssl-src](https://github.com/alexcrichton/openssl-src-rs) from 111.17.0+1.1.1m to 111.25.0+1.1.1t.
- [Release notes](https://github.com/alexcrichton/openssl-src-rs/releases)
- [Commits](https://github.com/alexcrichton/openssl-src-rs/commits)

---
updated-dependencies:
- dependency-name: openssl-src
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-08 22:23:27 +00:00
dependabot[bot] e43f7d6740
Bump tokio from 1.0.1 to 1.18.5
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.0.1 to 1.18.5.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.0.1...tokio-1.18.5)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-04 01:21:48 +00:00
dependabot[bot] 58325c3974
Bump bumpalo from 3.6.1 to 3.12.0
Bumps [bumpalo](https://github.com/fitzgen/bumpalo) from 3.6.1 to 3.12.0.
- [Release notes](https://github.com/fitzgen/bumpalo/releases)
- [Changelog](https://github.com/fitzgen/bumpalo/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fitzgen/bumpalo/compare/3.6.1...3.12.0)

---
updated-dependencies:
- dependency-name: bumpalo
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-20 22:59:07 +00:00
Nikhil Benesch 65520c8205
rdkafka: release v0.29.0 2022-10-29 12:36:48 -04:00
gyfis 86c8470d00
rdkafka-sys: upgrade librdkafka to v1.9.2 2022-10-29 11:47:52 -04:00
dependabot[bot] 83d6fc3fc0
Bump nb-connect from 1.0.2 to 1.2.0 (#474)
Bumps [nb-connect](https://github.com/smol-rs/nb-connect) from 1.0.2 to 1.2.0.
- [Release notes](https://github.com/smol-rs/nb-connect/releases)
- [Changelog](https://github.com/smol-rs/nb-connect/blob/master/CHANGELOG.md)
- [Commits](https://github.com/smol-rs/nb-connect/compare/v1.0.2...v1.2.0)

---
updated-dependencies:
- dependency-name: nb-connect
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-17 16:49:15 -03:00
dependabot[bot] 443abf3085
Bump crossbeam-channel from 0.4.2 to 0.4.4 (#475)
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam) from 0.4.2 to 0.4.4.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases)
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/v0.4.2...crossbeam-channel-0.4.4)

---
updated-dependencies:
- dependency-name: crossbeam-channel
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-17 16:49:09 -03:00
dependabot[bot] b4e13e71d5
Bump zstd-sys from 1.6.2+zstd.1.5.1 to 2.0.0+zstd.1.5.2
Bumps [zstd-sys](https://github.com/gyscos/zstd-rs) from 1.6.2+zstd.1.5.1 to 2.0.0+zstd.1.5.2.
- [Release notes](https://github.com/gyscos/zstd-rs/releases)
- [Commits](https://github.com/gyscos/zstd-rs/commits)

---
updated-dependencies:
- dependency-name: zstd-sys
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-03 18:42:26 -04:00
Gus Wynn 44bcaa9c5c
Add `tracing` feature
The new `tracing` feature enables logging via the `tracing` crate's
macros rather than the `log` crate's macros.
2022-02-07 00:48:58 -05:00
Nikhil Benesch cd5b2653a5
Bump dependencies in Cargo.lock
This doesn't impact what versions the library is compatible with, but
makes various features work when building the library in development on
M1 Macs.
2022-01-23 18:24:08 -05:00
Nikhil Benesch 3fce6c494e
Reduce futures dependency
In the main library, swap the dependency on `futures` for individual
dependencies on `futures-channel`, futures-util`, and
`futures-executor`. This reduces the dependency load on downstream
projects. Additionally disable the `futures-util::select` macro and use
the slightly more cumbersome function to lose a dependency on
proc-macro-hack and proc-macro nested.

This has two changes from #432:

  * The `futures-executor` dependency is optionalized on the new
    `naive-runtime` feature.

  * The tests and examples continue to use the main `futures` crate,
    since there's no need to be so careful with dependencies in
    tests/examples. In examples particularly I think it's much clearer
    to refer to the main `futures` crate rather than its subcrates.

Closes #432.

Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-01-23 09:01:19 -05:00
dependabot[bot] 8cafbdabef
Bump zstd-sys from 1.4.19+zstd.1.4.8 to 1.6.2+zstd.1.5.1
Bumps [zstd-sys](https://github.com/gyscos/zstd-rs) from 1.4.19+zstd.1.4.8 to 1.6.2+zstd.1.5.1.
- [Release notes](https://github.com/gyscos/zstd-rs/releases)
- [Commits](https://github.com/gyscos/zstd-rs/commits)

---
updated-dependencies:
- dependency-name: zstd-sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-06 04:27:25 +00:00
dependabot[bot] 9e59d138df
Bump env_logger from 0.7.1 to 0.9.0
Bumps [env_logger](https://github.com/env-logger-rs/env_logger) from 0.7.1 to 0.9.0.
- [Release notes](https://github.com/env-logger-rs/env_logger/releases)
- [Changelog](https://github.com/env-logger-rs/env_logger/blob/main/CHANGELOG.md)
- [Commits](https://github.com/env-logger-rs/env_logger/compare/v0.7.1...v0.9.0)

---
updated-dependencies:
- dependency-name: env_logger
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-05 21:51:33 +00:00
Nikhil Benesch 707e4cae5d Release v0.28.0 2021-11-27 01:22:16 -05:00
Nikhil Benesch e4ce97789a Replace mem::forget with ManuallyDrop
Several of the prior uses of mem::forget could result in double drops in
the face of panics. Replace all possible uses of mem::forget with
ManuallyDrop instead.
2021-11-26 17:35:48 -05:00
Nikhil Benesch f41af6c200
Merge pull request #401 from DXist/debug_trait_for_default_contexts
add Debug trait to DefaultClientContext/DefaultConsumerContext
2021-11-02 02:29:20 -04:00
Nikhil Benesch 33beed40fb Upgrade to rdkafka-sys v1.8.2 2021-11-02 02:08:22 -04:00
Rinat Shigapov 73b2827dd1 add Debug trait to DefaultClientContext/DefaultConsumerContext 2021-10-29 06:24:16 +00:00
Nikhil Benesch 8a38cfdbc0 Prepare v0.27.0 for release 2021-10-17 22:52:13 -04:00
Nikhil Benesch 4ef41d8618 Implement Extend and FromIterator for ClientConfig 2021-10-16 12:26:09 -04:00
Nikhil Benesch dc97b5c099 rdkafka-sys: upgrade to librdkafka v1.7.0 2021-10-16 11:35:27 -04:00
Nikhil Benesch 283f9609c6 Check in Cargo.lock
This prevents CI from breaking when a dependency releases a new patch
release that bumps its MSRV.
2021-03-28 21:56:58 -04:00
Thijs Cadier 339ce96fd1 Make sys package build more robust
Remove `lib` from name to follow conventions and add sys packages for
libz and lz4 to make sure they link properly.
2016-11-25 11:03:55 +01:00
Federico Giraud b4feac5536 Update documentation 2016-11-20 22:33:49 +00:00
Federico Giraud 1f417351aa Improve examples 2016-11-13 15:28:20 -08:00
Federico Giraud c06c612bc2 Add some documentation 2016-11-07 23:13:09 -08:00
Federico Giraud bd85244ba9 Add support for features 2016-11-07 19:40:56 -08:00
Federico Giraud 68c7e9f37f Use logging 2016-11-06 19:00:33 -08:00
Federico Giraud c79bbddd19 Implement futures-based produce result 2016-11-06 15:36:54 -08:00
Federico Giraud 4c9d54cd04 Use official 0.9.1 librdkafka version, add constants 2016-10-30 15:31:14 +00:00
Federico Giraud 4236002d11 Add very simple producer 2016-10-30 15:27:46 +00:00
Federico Giraud 47398340cb Add example 2016-10-29 16:03:33 +01:00
Federico Giraud 297734ffa0 Use same version for librdkafka-sys and librdkafka 2016-10-29 14:41:51 +01:00
Federico Giraud 7457997824 First commit - consumer only 2016-10-29 14:20:07 +01:00