Skip to content

Commit 8929be9

Browse files
committed
Bump rust edition to 2024
1 parent fc50634 commit 8929be9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description = "glTF 2.0 loader with an easy to use output"
66
documentation = "https://docs.rs/easy-gltf"
77
repository = "https://github.com/flomonster/easy-gltf"
88
homepage = "https://github.com/flomonster/easy-gltf"
9-
edition = "2018"
9+
edition = "2024"
1010
license = "MIT"
1111
keywords = ["glTF", "3D", "asset", "model", "scene"]
1212
exclude = [".github/"]

src/scene/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ mod light;
55
/// Check [Model](struct.Model.html) for more information about how to use this module.
66
pub mod model;
77

8-
use crate::utils::transform_to_matrix;
98
use crate::GltfData;
9+
use crate::utils::transform_to_matrix;
1010
pub use camera::{Camera, Projection};
1111
pub use light::Light;
1212
pub use model::{Material, Model};

src/utils/gltf_data.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use crate::Material;
2-
use base64::engine::general_purpose::URL_SAFE_NO_PAD;
32
use base64::Engine;
3+
use base64::engine::general_purpose::URL_SAFE_NO_PAD;
44
use gltf::image::Source;
55
use image::*;
66
use std::collections::HashMap;

0 commit comments

Comments
 (0)