This is an automated email from the ASF dual-hosted git repository.

jiayuliu pushed a commit to branch use-rust-165
in repository https://gitbox.apache.org/repos/asf/thrift.git

commit 37c932e997a556fa253dde18b6626d7b9674d126
Author: Jiayu Liu <[email protected]>
AuthorDate: Sat Oct 14 16:11:05 2023 +0800

    use rust 1.65
---
 .github/workflows/build.yml               | 2 +-
 LANGUAGES.md                              | 2 +-
 build/docker/README.md                    | 2 +-
 build/docker/old/ubuntu-disco/Dockerfile  | 2 +-
 build/docker/old/ubuntu-xenial/Dockerfile | 2 +-
 build/docker/ubuntu-bionic/Dockerfile     | 2 +-
 build/docker/ubuntu-focal/Dockerfile      | 2 +-
 build/docker/ubuntu-jammy/Dockerfile      | 2 +-
 lib/rs/README.md                          | 2 +-
 rust-toolchain                            | 2 +-
 10 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 958a308da..14598b728 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -285,7 +285,7 @@ jobs:
     needs: compiler
     runs-on: ubuntu-20.04
     env:
-      TOOLCHAIN_VERSION: 1.61.0
+      TOOLCHAIN_VERSION: 1.65.0
     steps:
       - uses: actions/checkout@v4
 
diff --git a/LANGUAGES.md b/LANGUAGES.md
index 6cb601880..236007f9a 100644
--- a/LANGUAGES.md
+++ b/LANGUAGES.md
@@ -319,7 +319,7 @@ Thrift's core protocol is TBinary, supported by all 
languages except for JavaScr
 <td align=left><a 
href="https://github.com/apache/thrift/blob/master/lib/rs/README.md";>Rust</a></td>
 <!-- Since -----------------><td>0.11.0</td>
 <!-- Build Systems ---------><td><img src="/doc/images/cgrn.png" 
alt="Yes"/></td><td><img src="/doc/images/cred.png" alt=""/></td>
-<!-- Language Levels -------><td>1.61.0</td><td>1.xx.x</td>
+<!-- Language Levels -------><td>1.65.0</td><td>1.xx.x</td>
 <!-- Field types -----------><td><img src="/doc/images/cred.png" alt=""/></td>
 <!-- Low-Level Transports --><td><img src="/doc/images/cred.png" 
alt=""/></td><td><img src="/doc/images/cred.png" alt=""/></td><td><img 
src="/doc/images/cgrn.png" alt="Yes"/></td><td><img src="/doc/images/cred.png" 
alt=""/></td><td><img src="/doc/images/cgrn.png" alt="Yes"/></td><td><img 
src="/doc/images/cred.png" alt=""/></td>
 <!-- Transport Wrappers ----><td><img src="/doc/images/cgrn.png" 
alt="Yes"/></td><td><img src="/doc/images/cred.png" alt=""/></td><td><img 
src="/doc/images/cred.png" alt=""/></td><td><img src="/doc/images/cred.png" 
alt=""/></td>
diff --git a/build/docker/README.md b/build/docker/README.md
index abf082307..9c9175ff8 100644
--- a/build/docker/README.md
+++ b/build/docker/README.md
@@ -191,6 +191,6 @@ Last updated: October 1, 2017
 | python    | 2.7.12        | 2.7.15        |       |
 | python3   | 3.5.2         | 3.6.8         |       |
 | ruby      | 2.3.1p112     | 2.5.1p57      |       |
-| rust      | 1.61.0        | 1.61.0        |       |
+| rust      | 1.65.0        | 1.65.0        |       |
 | smalltalk |               |               | Not in CI |
 | swift     |               | 5.1.4         |       |
diff --git a/build/docker/old/ubuntu-disco/Dockerfile 
b/build/docker/old/ubuntu-disco/Dockerfile
index 55dc85369..58eea96a0 100644
--- a/build/docker/old/ubuntu-disco/Dockerfile
+++ b/build/docker/old/ubuntu-disco/Dockerfile
@@ -254,7 +254,7 @@ RUN apt-get install -y --no-install-recommends \
       ruby-bundler
 
 # Rust dependencies
-RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.61.0 -y
+RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.65.0 -y
 ENV PATH /root/.cargo/bin:$PATH
 
 # Swift on Linux for cross tests
diff --git a/build/docker/old/ubuntu-xenial/Dockerfile 
b/build/docker/old/ubuntu-xenial/Dockerfile
index d954e7fd9..1eb06c086 100644
--- a/build/docker/old/ubuntu-xenial/Dockerfile
+++ b/build/docker/old/ubuntu-xenial/Dockerfile
@@ -249,7 +249,7 @@ RUN apt-get install -y --no-install-recommends \
       ruby-bundler
 
 # Rust dependencies
-RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.61.0 -y
+RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.65.0 -y
 
 # Locale(s) for cpp unit tests
 RUN apt-get install -y --no-install-recommends \
diff --git a/build/docker/ubuntu-bionic/Dockerfile 
b/build/docker/ubuntu-bionic/Dockerfile
index d6d2bda59..c89181a4d 100644
--- a/build/docker/ubuntu-bionic/Dockerfile
+++ b/build/docker/ubuntu-bionic/Dockerfile
@@ -254,7 +254,7 @@ RUN apt-get install -y --no-install-recommends \
       ruby-bundler
 
 # Rust dependencies
-RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.61.0 -y
+RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.65.0 -y
 ENV PATH /root/.cargo/bin:$PATH
 
 # Swift on Linux for cross tests
diff --git a/build/docker/ubuntu-focal/Dockerfile 
b/build/docker/ubuntu-focal/Dockerfile
index 1f305734f..7ebbbec56 100644
--- a/build/docker/ubuntu-focal/Dockerfile
+++ b/build/docker/ubuntu-focal/Dockerfile
@@ -241,7 +241,7 @@ RUN apt-get install -y --no-install-recommends \
       ruby-bundler
 
 # Rust dependencies
-RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.61.0 -y
+RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.65.0 -y
 ENV PATH /root/.cargo/bin:$PATH
 
 # Swift on Linux for cross tests
diff --git a/build/docker/ubuntu-jammy/Dockerfile 
b/build/docker/ubuntu-jammy/Dockerfile
index c7724e794..5101be9fd 100644
--- a/build/docker/ubuntu-jammy/Dockerfile
+++ b/build/docker/ubuntu-jammy/Dockerfile
@@ -241,7 +241,7 @@ RUN apt-get install -y --no-install-recommends \
   ruby-bundler
 
 # Rust dependencies
-RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.61.0 -y
+RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.65.0 -y
 ENV PATH /root/.cargo/bin:$PATH
 
 # Swift on Linux for cross tests
diff --git a/lib/rs/README.md b/lib/rs/README.md
index 010bb17a3..51aa63e62 100644
--- a/lib/rs/README.md
+++ b/lib/rs/README.md
@@ -177,7 +177,7 @@ Breaking changes are minimized. When they are made they 
will be outlined below w
 
 ##### Thrift 0.14.0
 
-* **[THRIFT-5158]** - Rust library and generator now support Rust 2021 only. 
Required rust 1.61.0 or higher
+* **[THRIFT-5158]** - Rust library and generator now support Rust 2021 only. 
Required rust 1.65.0 or higher
 
     The Rust `thrift` library was updated to Rust 2021 via `cargo fix 
--edition`.
     All test code in the repo was updated as well. The code generator was also 
updated
diff --git a/rust-toolchain b/rust-toolchain
index 91951fd8a..902c74186 100644
--- a/rust-toolchain
+++ b/rust-toolchain
@@ -1 +1 @@
-1.61.0
+1.65.0

Reply via email to