Skip to content

Commit e84c455

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

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[package]
22
name = "easy-gltf"
3-
version = "1.1.4"
3+
version = "1.1.5"
44
authors = ["Florian Amsallem <florian.amsallem@epita.fr>"]
55
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/"]
@@ -18,10 +18,10 @@ names = ["gltf/names"]
1818
extras = ["gltf/extras"]
1919

2020
[dependencies]
21-
cgmath = "0.18.0"
22-
gltf = { version = "1.4.1", features = ["KHR_lights_punctual"] }
23-
image = { version = "0.25.5", default-features = false, features = [
21+
cgmath = "0.18"
22+
gltf = { version = "1.4", features = ["KHR_lights_punctual"] }
23+
image = { version = "0.25", default-features = false, features = [
2424
"jpeg",
2525
"png",
2626
] }
27-
base64 = "0.22.1"
27+
base64 = "0.22"

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)