Demo working again (#300)

* Bump to Rust 1.76

Closes https://github.com/maplibre/maplibre-rs/issues/298

* Remove unused import `super::noweb::trace::*`

When trying to compile, the following error pops up.

```
error: unused import: `super::noweb::trace::*`
  --> maplibre/src/platform/mod.rs:26:13
   |
26 |     pub use super::noweb::trace::*;
   |             ^^^^^^^^^^^^^^^^^^^^^^
   |
```
This commit is contained in:
Salvatore Testa 2024-03-13 15:31:35 -05:00 committed by GitHub
parent 095d5fbbfb
commit a8be3cf736
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 3 additions and 8 deletions

View File

@ -20,7 +20,7 @@ description = "Maps for Desktop, Mobile and Web"
version = "0.1.0"
edition = "2021"
# Keep this in sync with `rust-toolchain.toml` and `justfile`
rust-version = "1.72.1"
rust-version = "1.76"
license = "MIT OR Apache-2.0"
keywords = ["graphics", "maps", "webgl", "tiles"]
categories = ["graphics", "science::geo"]

View File

@ -11,7 +11,7 @@ export NIGHTLY_TOOLCHAIN := "nightly-2023-09-23"
# Keep this in sync with `rust-toolchain.toml` and `Cargo.toml`.
# Make sure the above is newer than this.
export STABLE_TOOLCHAIN := "1.73"
export STABLE_TOOLCHAIN := "1.76"
export CARGO_TERM_COLOR := "always"
export RUST_BACKTRACE := "1"

View File

@ -21,11 +21,6 @@ pub mod scheduler {
pub use super::noweb::scheduler::*;
}
pub mod trace {
#[cfg(not(target_arch = "wasm32"))]
pub use super::noweb::trace::*;
}
/// Minimum WebGPU buffer size
///
/// FIXME: This limit is enforced by WebGL. Actually this makes sense!

View File

@ -5,4 +5,4 @@
# The version is set here instead of using stable, so we can make sure that a predictable version is used.
#
# Keep this in sync with `justfile` and `Cargo.toml`
channel = "1.73"
channel = "1.76"