You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@avro.apache.org by mg...@apache.org on 2022/11/28 11:54:00 UTC
[avro] branch master updated: Bump env_logger from 0.9.3 to 0.10.0 in /lang/rust (#1984)
This is an automated email from the ASF dual-hosted git repository.
mgrigorov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/avro.git
The following commit(s) were added to refs/heads/master by this push:
new 0e6190966 Bump env_logger from 0.9.3 to 0.10.0 in /lang/rust (#1984)
0e6190966 is described below
commit 0e6190966f1dc6be9979fb5218efadd3058e0e6d
Author: dependabot[bot] <49...@users.noreply.github.com>
AuthorDate: Mon Nov 28 13:53:54 2022 +0200
Bump env_logger from 0.9.3 to 0.10.0 in /lang/rust (#1984)
* Bump env_logger from 0.9.3 to 0.10.0 in /lang/rust
Bumps [env_logger](https://github.com/rust-cli/env_logger) from 0.9.3 to 0.10.0.
- [Release notes](https://github.com/rust-cli/env_logger/releases)
- [Changelog](https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rust-cli/env_logger/compare/v0.9.3...v0.10.0)
---
updated-dependencies:
- dependency-name: env_logger
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <su...@github.com>
* Update MSRV from 1.54.0 to 1.60.0
Current latest is 1.65.0
This makes it possible to upgrade criterion dependency too (depends on
1.57.0)
Signed-off-by: Martin Tzvetanov Grigorov <mg...@apache.org>
Signed-off-by: dependabot[bot] <su...@github.com>
Signed-off-by: Martin Tzvetanov Grigorov <mg...@apache.org>
Co-authored-by: dependabot[bot] <49...@users.noreply.github.com>
Co-authored-by: Martin Tzvetanov Grigorov <mg...@apache.org>
---
.github/workflows/test-lang-rust-ci.yml | 2 +-
lang/rust/Cargo.lock | 4 ++--
lang/rust/avro/README.md | 2 +-
lang/rust/avro/src/encode.rs | 1 -
lang/rust/avro_test_helper/Cargo.toml | 2 +-
share/docker/Dockerfile | 2 +-
6 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/test-lang-rust-ci.yml b/.github/workflows/test-lang-rust-ci.yml
index f7a5c6c9e..617c0ca12 100644
--- a/.github/workflows/test-lang-rust-ci.yml
+++ b/.github/workflows/test-lang-rust-ci.yml
@@ -43,7 +43,7 @@ jobs:
- stable
- beta
- nightly
- - 1.54.0 # MSRV
+ - 1.60.0 # MSRV
target:
- x86_64-unknown-linux-gnu
- wasm32-unknown-unknown
diff --git a/lang/rust/Cargo.lock b/lang/rust/Cargo.lock
index 889d50b4a..989b59db8 100644
--- a/lang/rust/Cargo.lock
+++ b/lang/rust/Cargo.lock
@@ -435,9 +435,9 @@ checksum = "3f107b87b6afc2a64fd13cac55fe06d6c8859f12d4b14cbcdd2c67d0976781be"
[[package]]
name = "env_logger"
-version = "0.9.3"
+version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a12e6657c4c97ebab115a42dcee77225f7f482cdd841cf7088c657a42e9e00e7"
+checksum = "85cdab6a89accf66733ad5a1693a4dcced6aeff64602b634530dd73c1f3ee9f0"
dependencies = [
"log",
]
diff --git a/lang/rust/avro/README.md b/lang/rust/avro/README.md
index 965dd51ab..7ae6fc77c 100644
--- a/lang/rust/avro/README.md
+++ b/lang/rust/avro/README.md
@@ -644,7 +644,7 @@ assert_eq!(false, SchemaCompatibility::can_read(&writers_schema, &readers_schema
## Minimal supported Rust version
-1.54.0
+1.60.0
## License
This project is licensed under [Apache License 2.0](https://github.com/apache/avro/blob/master/LICENSE.txt).
diff --git a/lang/rust/avro/src/encode.rs b/lang/rust/avro/src/encode.rs
index ce98fc43b..2ae48f91c 100644
--- a/lang/rust/avro/src/encode.rs
+++ b/lang/rust/avro/src/encode.rs
@@ -107,7 +107,6 @@ pub(crate) fn encode_internal<S: Borrow<Schema>>(
}
Value::Uuid(uuid) => encode_bytes(
// we need the call .to_string() to properly convert ASCII to UTF-8
- #[allow(unknown_lints)] // for Rust 1.54.0
#[allow(clippy::unnecessary_to_owned)]
&uuid.to_string(),
buffer,
diff --git a/lang/rust/avro_test_helper/Cargo.toml b/lang/rust/avro_test_helper/Cargo.toml
index 318ec58e5..1589db16a 100644
--- a/lang/rust/avro_test_helper/Cargo.toml
+++ b/lang/rust/avro_test_helper/Cargo.toml
@@ -32,7 +32,7 @@ documentation = "https://docs.rs/apache-avro-test-helper"
[dependencies]
color-backtrace = { default-features = false, version = "0.5.1" }
ctor = { default-features = false, version = "0.1.26" }
-env_logger = { default-features = false, version = "0.9.3" }
+env_logger = { default-features = false, version = "0.10.0" }
lazy_static = { default-features = false, version = "1.4.0" }
log = { default-features = false, version = "0.4.17" }
ref_thread_local = { default-features = false, version = "0.1.1" }
diff --git a/share/docker/Dockerfile b/share/docker/Dockerfile
index eae630930..4a6e91194 100644
--- a/share/docker/Dockerfile
+++ b/share/docker/Dockerfile
@@ -181,7 +181,7 @@ RUN apt-get -qqy install ruby-full \
&& apt-get -qqy clean
# Install Rust
-RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.54.0
+RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.60.0
# Note: This "ubertool" container has two JDK versions:
# - OpenJDK 8