Skip to content

Commit

Permalink
update rust versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Congyuwang committed Feb 21, 2024
1 parent 3d1453d commit 8f92433
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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"]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion dockerfile/dev-containers/debian-10/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion dockerfile/dev-containers/debian-11/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion dockerfile/dev-containers/focal/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion dockerfile/dev-containers/jammy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8f92433

Please sign in to comment.