From 8f92433634b0b3bce257b4a60cbc162600c78463 Mon Sep 17 00:00:00 2001 From: Congyu Date: Wed, 21 Feb 2024 13:23:51 +0800 Subject: [PATCH] update rust versions --- Cargo.toml | 6 +++--- README.md | 2 +- dockerfile/dev-containers/debian-10/Dockerfile | 2 +- dockerfile/dev-containers/debian-11/Dockerfile | 2 +- dockerfile/dev-containers/focal/Dockerfile | 2 +- dockerfile/dev-containers/jammy/Dockerfile | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 3a0b2be..293e6a7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ edition = "2021" crate-type = ["staticlib"] [dependencies] -dashmap = { version = "5.4.0", features = ["inline"] } +dashmap = { version = "5.5.3", features = ["inline"] } async-ringbuf = "0.2.0-rc.5" [dependencies.tokio] @@ -26,11 +26,11 @@ features = [ ] [dependencies.tracing] -version = "0.1.37" +version = "0.1.40" default-features = false features = ["std"] [dependencies.tracing-subscriber] -version = "0.3.17" +version = "0.3.18" default-features = false features = ["std", "fmt", "env-filter", "registry"] diff --git a/README.md b/README.md index 8708b74..7c2964d 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Easily manage multiple socket connections asynchronously in C++. - Step 1: Install Rust Nightly ```shell -curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly +curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly-2024-02-04 ``` - Step 2: Install LLVM 17 diff --git a/dockerfile/dev-containers/debian-10/Dockerfile b/dockerfile/dev-containers/debian-10/Dockerfile index a015d40..b91e139 100644 --- a/dockerfile/dev-containers/debian-10/Dockerfile +++ b/dockerfile/dev-containers/debian-10/Dockerfile @@ -49,7 +49,7 @@ RUN rm update-alternatives-clang.sh # use ustc mirror in China, comment out if you are not in China #ARG RUSTUP_UPDATE_ROOT="https://mirrors.ustc.edu.cn/rust-static/rustup" #ARG RUSTUP_DIST_SERVER="https://mirrors.tuna.tsinghua.edu.cn/rustup" -RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly +RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly-2024-02-04 ENV PATH="/root/.cargo/bin:${PATH}" RUN chsh -s /bin/bash diff --git a/dockerfile/dev-containers/debian-11/Dockerfile b/dockerfile/dev-containers/debian-11/Dockerfile index 8de9455..3494113 100644 --- a/dockerfile/dev-containers/debian-11/Dockerfile +++ b/dockerfile/dev-containers/debian-11/Dockerfile @@ -49,7 +49,7 @@ RUN rm update-alternatives-clang.sh # use ustc mirror in China, comment out if you are not in China #ARG RUSTUP_UPDATE_ROOT="https://mirrors.ustc.edu.cn/rust-static/rustup" #ARG RUSTUP_DIST_SERVER="https://mirrors.tuna.tsinghua.edu.cn/rustup" -RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly +RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly-2024-02-04 ENV PATH="/root/.cargo/bin:${PATH}" RUN chsh -s /bin/bash diff --git a/dockerfile/dev-containers/focal/Dockerfile b/dockerfile/dev-containers/focal/Dockerfile index 8d4df41..e34fc2b 100644 --- a/dockerfile/dev-containers/focal/Dockerfile +++ b/dockerfile/dev-containers/focal/Dockerfile @@ -50,7 +50,7 @@ RUN rm update-alternatives-clang.sh # use ustc mirror in China, comment out if you are not in China #ARG RUSTUP_UPDATE_ROOT="https://mirrors.ustc.edu.cn/rust-static/rustup" #ARG RUSTUP_DIST_SERVER="https://mirrors.tuna.tsinghua.edu.cn/rustup" -RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly +RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly-2024-02-04 ENV PATH="/root/.cargo/bin:${PATH}" RUN chsh -s /bin/bash diff --git a/dockerfile/dev-containers/jammy/Dockerfile b/dockerfile/dev-containers/jammy/Dockerfile index c7b3840..97d24a5 100644 --- a/dockerfile/dev-containers/jammy/Dockerfile +++ b/dockerfile/dev-containers/jammy/Dockerfile @@ -50,7 +50,7 @@ RUN rm update-alternatives-clang.sh # use ustc mirror in China, comment out if you are not in China #ARG RUSTUP_UPDATE_ROOT="https://mirrors.ustc.edu.cn/rust-static/rustup" #ARG RUSTUP_DIST_SERVER="https://mirrors.tuna.tsinghua.edu.cn/rustup" -RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly +RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly-2024-02-04 ENV PATH="/root/.cargo/bin:${PATH}" RUN chsh -s /bin/bash