Skip to content

Commit

Permalink
Update MSRV to 1.80
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk committed Nov 19, 2024
1 parent dadea24 commit eb77d2b
Show file tree
Hide file tree
Showing 32 changed files with 34 additions and 34 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.79.0
toolchain: 1.80.0

- run: cargo build -p rerun

Expand Down
4 changes: 2 additions & 2 deletions BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ cd rerun

Now install the `pixi` package manager: <https://github.com/prefix-dev/pixi?tab=readme-ov-file#installation>

Make sure `cargo --version` prints `1.79.0` once you are done.
Make sure `cargo --version` prints `1.80.0` once you are done.

If you are using an Apple-silicon Mac (M1, M2), make sure `rustc -vV` outputs `host: aarch64-apple-darwin`. If not, this should fix it:

```sh
rustup set default-host aarch64-apple-darwin && rustup install 1.79.0
rustup set default-host aarch64-apple-darwin && rustup install 1.80.0
```

## Validating your environment
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ include = [
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rerun-io/rerun"
rust-version = "1.79"
rust-version = "1.80"
version = "0.20.1-alpha.2"

[workspace.dependencies]
Expand Down
2 changes: 1 addition & 1 deletion clippy.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# -----------------------------------------------------------------------------
# Section identical to the main scripts/clippy_wasm/clippy.toml:

msrv = "1.79"
msrv = "1.80"

allow-unwrap-in-tests = true

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Let's try it out in a brand-new Rust project:
cargo init cube && cd cube && cargo add rerun --features native_viewer
```

Note that the Rerun SDK requires a working installation of Rust 1.79+.
Note that the Rerun SDK requires a working installation of Rust 1.80+.

## Logging your own data

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Let's try it out in a brand-new Rust project:
cargo init cube && cd cube && cargo add rerun
```

Note that the Rerun SDK requires a working installation of Rust 1.79+.
Note that the Rerun SDK requires a working installation of Rust 1.80+.

## Logging your own data

Expand Down
2 changes: 1 addition & 1 deletion docs/content/getting-started/installing-viewer.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ There are many ways to install the viewer. Please pick whatever works best for y
- Download `rerun-cli` for your platform from the [GitHub Release artifacts](https://github.com/rerun-io/rerun/releases/latest/).
- Via Cargo
- `cargo binstall rerun-cli` - download binaries via [`cargo binstall`](https://github.com/cargo-bins/cargo-binstall)
- `cargo install rerun-cli --locked` - build it from source (this requires Rust 1.79+)
- `cargo install rerun-cli --locked` - build it from source (this requires Rust 1.80+)
- Together with the Rerun [Python SDK](./quick-start/python.md):
- `pip3 install rerun-sdk` - download it via pip
- `conda install -c conda-forge rerun-sdk` - download via Conda
Expand Down
2 changes: 1 addition & 1 deletion docs/content/getting-started/quick-start/rust.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ order: 3

## Setup

The Rerun SDK for Rust requires a working installation of Rust 1.79+.
The Rerun SDK for Rust requires a working installation of Rust 1.80+.

After you have [installed the viewer](../installing-viewer.md#installing-the-viewer) you can simply add [the Rerun crate](https://crates.io/crates/rerun) to your project with `cargo add rerun`.

Expand Down
2 changes: 1 addition & 1 deletion docs/content/reference/migration/migration-0-19.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ Rerun now require glibc 2.17 or higher.
This is because we updated the Rust version. See <https://blog.rust-lang.org/2022/08/01/Increasing-glibc-kernel-requirements.html> for more details.

### 🦀 Rust
- Update MSRV to Rust 1.79 [#7563](https://github.com/rerun-io/rerun/pull/7563)
- Update MSRV to Rust 1.80 [#7563](https://github.com/rerun-io/rerun/pull/7563)
- Update ndarray to 0.16 and ndarray-rand to 0.15 [#7358](https://github.com/rerun-io/rerun/pull/7358) (thanks [@benliepert](https://github.com/benliepert)!)
2 changes: 1 addition & 1 deletion examples/rust/clock/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "clock"
version = "0.20.1-alpha.2"
edition = "2021"
rust-version = "1.79"
rust-version = "1.80"
license = "MIT OR Apache-2.0"
publish = false

Expand Down
2 changes: 1 addition & 1 deletion examples/rust/custom_data_loader/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "custom_data_loader"
version = "0.20.1-alpha.2"
edition = "2021"
rust-version = "1.79"
rust-version = "1.80"
license = "MIT OR Apache-2.0"
publish = false

Expand Down
2 changes: 1 addition & 1 deletion examples/rust/custom_space_view/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "custom_space_view"
version = "0.20.1-alpha.2"
edition = "2021"
rust-version = "1.79"
rust-version = "1.80"
license = "MIT OR Apache-2.0"
publish = false

Expand Down
2 changes: 1 addition & 1 deletion examples/rust/custom_store_subscriber/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "custom_store_subscriber"
version = "0.20.1-alpha.2"
edition = "2021"
rust-version = "1.79"
rust-version = "1.80"
license = "MIT OR Apache-2.0"
publish = false

Expand Down
2 changes: 1 addition & 1 deletion examples/rust/dataframe_query/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "dataframe_query"
version = "0.20.1-alpha.2"
edition = "2021"
rust-version = "1.79"
rust-version = "1.80"
license = "MIT OR Apache-2.0"
publish = false

Expand Down
2 changes: 1 addition & 1 deletion examples/rust/dna/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "dna"
version = "0.20.1-alpha.2"
edition = "2021"
rust-version = "1.79"
rust-version = "1.80"
license = "MIT OR Apache-2.0"
publish = false

Expand Down
2 changes: 1 addition & 1 deletion examples/rust/extend_viewer_ui/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "extend_viewer_ui"
version = "0.20.1-alpha.2"
edition = "2021"
rust-version = "1.79"
rust-version = "1.80"
license = "MIT OR Apache-2.0"
publish = false

Expand Down
2 changes: 1 addition & 1 deletion examples/rust/external_data_loader/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "rerun-loader-rust-file"
version = "0.20.1-alpha.2"
edition = "2021"
rust-version = "1.79"
rust-version = "1.80"
license = "MIT OR Apache-2.0"
publish = false

Expand Down
2 changes: 1 addition & 1 deletion examples/rust/incremental_logging/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "incremental_logging"
version = "0.20.1-alpha.2"
edition = "2021"
rust-version = "1.79"
rust-version = "1.80"
license = "MIT OR Apache-2.0"
publish = false

Expand Down
2 changes: 1 addition & 1 deletion examples/rust/log_file/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "log_file"
version = "0.20.1-alpha.2"
edition = "2021"
rust-version = "1.79"
rust-version = "1.80"
license = "MIT OR Apache-2.0"
publish = false

Expand Down
2 changes: 1 addition & 1 deletion examples/rust/minimal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "minimal"
version = "0.20.1-alpha.2"
edition = "2021"
rust-version = "1.79"
rust-version = "1.80"
license = "MIT OR Apache-2.0"
publish = false

Expand Down
2 changes: 1 addition & 1 deletion examples/rust/minimal_options/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "minimal_options"
version = "0.20.1-alpha.2"
edition = "2021"
rust-version = "1.79"
rust-version = "1.80"
license = "MIT OR Apache-2.0"
publish = false

Expand Down
2 changes: 1 addition & 1 deletion examples/rust/minimal_serve/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "minimal_serve"
version = "0.20.1-alpha.2"
edition = "2021"
rust-version = "1.79"
rust-version = "1.80"
license = "MIT OR Apache-2.0"
publish = false

Expand Down
2 changes: 1 addition & 1 deletion examples/rust/objectron/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "objectron"
version = "0.20.1-alpha.2"
edition = "2021"
rust-version = "1.79"
rust-version = "1.80"
license = "MIT OR Apache-2.0"
publish = false

Expand Down
2 changes: 1 addition & 1 deletion examples/rust/raw_mesh/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "raw_mesh"
version = "0.20.1-alpha.2"
edition = "2021"
rust-version = "1.79"
rust-version = "1.80"
license = "MIT OR Apache-2.0"
publish = false

Expand Down
2 changes: 1 addition & 1 deletion examples/rust/shared_recording/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "shared_recording"
version = "0.20.1-alpha.2"
edition = "2021"
rust-version = "1.79"
rust-version = "1.80"
license = "MIT OR Apache-2.0"
publish = false

Expand Down
2 changes: 1 addition & 1 deletion examples/rust/spawn_viewer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "spawn_viewer"
version = "0.20.1-alpha.2"
edition = "2021"
rust-version = "1.79"
rust-version = "1.80"
license = "MIT OR Apache-2.0"
publish = false

Expand Down
2 changes: 1 addition & 1 deletion examples/rust/stdio/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "stdio"
version = "0.20.1-alpha.2"
edition = "2021"
rust-version = "1.79"
rust-version = "1.80"
license = "MIT OR Apache-2.0"
publish = false

Expand Down
2 changes: 1 addition & 1 deletion examples/rust/template/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "template"
version = "0.20.1-alpha.2"
edition = "2021"
rust-version = "1.79"
rust-version = "1.80"
license = "MIT OR Apache-2.0"
publish = false

Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
# to the user in the error, instead of "error: invalid channel name '[toolchain]'".

[toolchain]
channel = "1.79.0"
channel = "1.80.0"
components = ["rustfmt", "clippy"]
targets = ["wasm32-unknown-unknown"]
4 changes: 2 additions & 2 deletions scripts/check_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
import subprocess

PIXI_VERSION = "0.34.0"
CARGO_VERSION = "1.79.0"
RUST_VERSION = "1.79.0"
CARGO_VERSION = "1.80.0"
RUST_VERSION = "1.80.0"


def check_version(cmd: str, expected: str, update: str, install: str) -> bool:
Expand Down
2 changes: 1 addition & 1 deletion scripts/clippy_wasm/clippy.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# -----------------------------------------------------------------------------
# Section identical to the main clippy.toml:

msrv = "1.79"
msrv = "1.80"

allow-unwrap-in-tests = true

Expand Down
2 changes: 1 addition & 1 deletion scripts/lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ def test_lint_workspace_deps() -> None:
name = "clock"
version = "0.6.0-alpha.0"
edition = "2021"
rust-version = "1.79"
rust-version = "1.80"
license = "MIT OR Apache-2.0"
publish = false
Expand Down

0 comments on commit eb77d2b

Please sign in to comment.