Skip to content

Commit 3964ed7

Browse files
chore: update dependencies
* Bump bytes to 1.4.0 * Bump crc to 3.0.1 * Bump nom to 7.1.3 * Bump prost to 0.11.9 * Bump prost-derive to 0.11.9 * Bump chrono to 0.4.26 * Bump log to 0.4.19 * Bump url to 2.4.0 * Bump regex to 1.9.1 * Bump futures to 0.3.28 * Bump futures-io to 0.3.28 * Bump native-tls to 0.2.11 * Bump pem to 3.0.0 * Bump tokio to 1.29.1 * Bump tokio-util to 0.7.8 * Bump tokio-native-tls to 0.3.1 * Bump asynchronous-codec to 0.6.2 * Bump async-native-tls to 0.5.0 * Bump flate2 to 1.0.26 * Bump zstd to 0.12.4 * Bump snap to 1.1.0 * Bump openidconnect to 3.3.0 * Bump oauth2 to 4.4.1 * Bump serde to 1.0.175 * Bump serde_json to 1.0.103 * Bump async-trait to 0.1.72 * Bump data-url to 0.3.0 * Bump uuid to 1.4.1 Signed-off-by: Florentin Dubois <florentin.dubois@clever-cloud.com>
1 parent 1071b8d commit 3964ed7

2 files changed

Lines changed: 35 additions & 35 deletions

File tree

Cargo.toml

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -16,53 +16,53 @@ description = "Rust client for Apache Pulsar"
1616
keywords = ["pulsar", "api", "client"]
1717

1818
[dependencies]
19-
bytes = "^1.2.1"
20-
crc = "^3.0.0"
21-
nom = { version="^7.1.1", default-features=false, features=["alloc"] }
22-
prost = "^0.11.0"
23-
prost-derive = "^0.11.0"
19+
bytes = "^1.4.0"
20+
crc = "^3.0.1"
21+
nom = { version="^7.1.3", default-features=false, features=["alloc"] }
22+
prost = "^0.11.9"
23+
prost-derive = "^0.11.9"
2424
rand = "^0.8.5"
25-
chrono = "^0.4.22"
25+
chrono = "^0.4.26"
2626
futures-timer = "^3.0.2"
27-
log = "^0.4.17"
28-
url = "^2.3.1"
29-
regex = "^1.6.0"
27+
log = "^0.4.19"
28+
url = "^2.4.0"
29+
regex = "^1.9.1"
3030
bit-vec = "^0.6.3"
31-
futures = "^0.3.25"
32-
futures-io = "^0.3.25"
33-
native-tls = "^0.2.10"
34-
pem = "^1.1.0"
35-
tokio = { version = "^1.21.2", features = ["rt", "net", "time"], optional = true }
36-
tokio-util = { version = "^0.7.4", features = ["codec"], optional = true }
37-
tokio-native-tls = { version = "^0.3.0", optional = true }
31+
futures = "^0.3.28"
32+
futures-io = "^0.3.28"
33+
native-tls = "^0.2.11"
34+
pem = "^3.0.0"
35+
tokio = { version = "^1.29.1", features = ["rt", "net", "time"], optional = true }
36+
tokio-util = { version = "^0.7.8", features = ["codec"], optional = true }
37+
tokio-native-tls = { version = "^0.3.1", optional = true }
3838
async-std = {version = "^1.12.0", features = [ "attributes", "unstable" ], optional = true }
39-
asynchronous-codec = { version = "^0.6.0", optional = true }
40-
async-native-tls = { version = "^0.4.0", optional = true }
39+
asynchronous-codec = { version = "^0.6.2", optional = true }
40+
async-native-tls = { version = "^0.5.0", optional = true }
4141
lz4 = { version = "^1.24.0", optional = true }
42-
flate2 = { version = "^1.0.24", optional = true }
43-
zstd = { version = "^0.11.2", optional = true }
44-
snap = { version = "^1.0.5", optional = true }
45-
openidconnect = { version = "^2.4.0", optional = true }
46-
oauth2 = { version = "^4.2.3", optional = true }
47-
serde = { version = "^1.0.147", features = ["derive"], optional = true }
48-
serde_json = { version = "^1.0.87", optional = true }
42+
flate2 = { version = "^1.0.26", optional = true }
43+
zstd = { version = "^0.12.4", optional = true }
44+
snap = { version = "^1.1.0", optional = true }
45+
openidconnect = { version = "^3.3.0", optional = true }
46+
oauth2 = { version = "^4.4.1", optional = true }
47+
serde = { version = "^1.0.175", features = ["derive"], optional = true }
48+
serde_json = { version = "^1.0.103", optional = true }
4949
tracing = { version = "^0.1.37", optional = true }
50-
async-trait = "^0.1.58"
51-
data-url = { version = "^0.2.0", optional = true }
52-
uuid = {version = "^1.2.1", features = ["v4", "fast-rng"] }
50+
async-trait = "^0.1.72"
51+
data-url = { version = "^0.3.0", optional = true }
52+
uuid = {version = "^1.4.1", features = ["v4", "fast-rng"] }
5353

5454
[dev-dependencies]
55-
serde = { version = "^1.0.145", features = ["derive"] }
56-
serde_json = "^1.0.85"
57-
env_logger = "^0.9.1"
58-
tokio = { version = "^1.21.2", features = ["macros", "rt-multi-thread"] }
55+
serde = { version = "^1.0.175", features = ["derive"] }
56+
serde_json = "^1.0.103"
57+
env_logger = "^0.10.0"
58+
tokio = { version = "^1.29.1", features = ["macros", "rt-multi-thread"] }
5959

6060
[build-dependencies]
61-
prost-build = "^0.11.1"
61+
prost-build = "^0.11.9"
6262
protobuf-src = { version = "1.1.0", optional = true }
6363

6464
[features]
65-
default = [ "compression", "tokio-runtime", "async-std-runtime", "auth-oauth2" ]
65+
default = [ "compression", "tokio-runtime", "async-std-runtime", "auth-oauth2"]
6666
compression = [ "lz4", "flate2", "zstd", "snap" ]
6767
tokio-runtime = [ "tokio", "tokio-util", "tokio-native-tls" ]
6868
async-std-runtime = [ "async-std", "asynchronous-codec", "async-native-tls" ]

src/connection_manager.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ impl<Exe: Executor> ConnectionManager<Exe> {
154154
.rev()
155155
{
156156
v.push(
157-
Certificate::from_der(&cert.contents[..])
157+
Certificate::from_der(&cert.contents())
158158
.map_err(|e| std::io::Error::new(std::io::ErrorKind::Other, e))?,
159159
);
160160
}

0 commit comments

Comments
 (0)