Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3310797

Browse files
authored
- Clean up code, update deps, add tests only for the version 3.4 and 3.8 to test only the lowest and highest (#3)
1 parentc98d0f8 commit3310797

File tree

7 files changed

+43
-67
lines changed

7 files changed

+43
-67
lines changed

‎.github/workflows/rust.yml

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,40 @@ jobs:
1818
strategy:
1919
matrix:
2020
include:
21-
-KAFKA_VER:3.0.0
21+
-KAFKA_VER:3.4.0
2222
COMPRESSIONS:NONE
2323
SECURES:""
24-
-KAFKA_VER:3.0.0
24+
-KAFKA_VER:3.4.0
2525
COMPRESSIONS:NONE
2626
SECURES:secure
27-
-KAFKA_VER:3.0.0
27+
-KAFKA_VER:3.4.0
2828
COMPRESSIONS:SNAPPY
2929
SECURES:""
30-
-KAFKA_VER:3.0.0
30+
-KAFKA_VER:3.4.0
3131
COMPRESSIONS:SNAPPY
3232
SECURES:secure
33-
-KAFKA_VER:3.0.0
33+
-KAFKA_VER:3.4.0
3434
COMPRESSIONS:GZIP
3535
SECURES:""
36-
-KAFKA_VER:3.0.0
36+
-KAFKA_VER:3.4.0
37+
COMPRESSIONS:GZIP
38+
SECURES:secure
39+
-KAFKA_VER:3.8.0
40+
COMPRESSIONS:NONE
41+
SECURES:""
42+
-KAFKA_VER:3.8.0
43+
COMPRESSIONS:NONE
44+
SECURES:secure
45+
-KAFKA_VER:3.8.0
46+
COMPRESSIONS:SNAPPY
47+
SECURES:""
48+
-KAFKA_VER:3.8.0
49+
COMPRESSIONS:SNAPPY
50+
SECURES:secure
51+
-KAFKA_VER:3.8.0
52+
COMPRESSIONS:GZIP
53+
SECURES:""
54+
-KAFKA_VER:3.8.0
3755
COMPRESSIONS:GZIP
3856
SECURES:secure
3957
steps:

‎.travis.yml

Lines changed: 0 additions & 43 deletions
This file was deleted.

‎Cargo.toml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,26 +12,26 @@ repository = "https://github.com/kafka-rust/kafka-rust"
1212
description ="Rust client for Apache Kafka"
1313

1414
[dependencies]
15-
byteorder ="1.4.3"
16-
crc ="3.0.0"
15+
byteorder ="1.5"
16+
crc ="3.2"
1717
fnv ="1.0.7"
1818
ref_slice ="1.2.1"
1919
twox-hash ="1.6.3"
2020

21-
flate2 = {version ="1.0.23",optional =true }
22-
openssl = {version ="0.10.40",optional =true }
23-
openssl-sys = {version ="0.9.73",optional =true }
24-
snap = {version ="1.0.5",optional =true }
25-
thiserror ="1.0.31"
26-
tracing ="0.1.34"
21+
flate2 = {version ="1.0",optional =true }
22+
openssl = {version ="0.10",optional =true }
23+
openssl-sys = {version ="0.9",optional =true }
24+
snap = {version ="1.1",optional =true }
25+
thiserror ="1.0"
26+
tracing ="0.1"
2727

2828
[dev-dependencies]
2929
getopts ="0.2.21"
3030
tracing-subscriber ="0.3"
31-
time ="0.3.7"
31+
time ="0.3"
3232
rand ="0.8.5"
33-
lazy_static ="1.4.0"
34-
anyhow ="1.0.55"
33+
lazy_static ="1.5"
34+
anyhow ="1.0"
3535

3636
[features]
3737
default = ["snappy","gzip","security"]

‎README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#Kafka Rust Client
22

3-
[![Build Status](https://travis-ci.org/spicavigo/kafka-rust.svg?branch=master)](https://travis-ci.org/spicavigo/kafka-rust)[![](http://meritbadge.herokuapp.com/kafka)](https://crates.io/crates/kafka)
43

54
##Project Status
65

@@ -24,7 +23,7 @@ expect the version number to grow quickly).
2423

2524
```toml
2625
[dependencies]
27-
kafka ="0.9"
26+
kafka ="0.10"
2827
```
2928

3029
To build kafka-rust the usual`cargo build` should suffice. The crate

‎kafka-rust-image.png

-22.5 KB
Binary file not shown.

‎tests/.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
KAFKA_VER=3.0.0
1+
KAFKA_VER=3.4.0
22
SCALA_VER=2.13

‎tests/run-all-tests

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,15 @@ teardown() {
5757

5858
# need to run tests serially to avoid the tests stepping on each others' toes
5959
export RUST_TEST_THREADS=1
60-
DEFAULT_VERS='3.0.0:3.1.0:3.2.0'
60+
DEFAULT_VERS='3.4.0:3.5.0:3.6.0:3.7.0:3.8.0'
6161
DEFAULT_COMPRESSIONS='NONE:SNAPPY:GZIP'
6262
DEFAULT_SECURES=':secure'
6363

64-
declare SCALA_VERS_3_0_0='2.13'
65-
declare SCALA_VERS_3_1_0='2.13'
66-
declare SCALA_VERS_3_0_0='2.13'
64+
declare SCALA_VERS_3_4_0='2.13'
65+
declare SCALA_VERS_3_5_0='2.13'
66+
declare SCALA_VERS_3_6_0='2.13'
67+
declare SCALA_VERS_3_7_0='2.13'
68+
declare SCALA_VERS_3_8_0='2.13'
6769

6870
scala_version_for_kafka() {
6971
local kv=$(echo$1| sed's/\./_/g')

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp