diff --git a/.mise.toml b/.mise.toml index 2bffaf9..ca92244 100644 --- a/.mise.toml +++ b/.mise.toml @@ -6,7 +6,7 @@ MISE_CARGO_BINSTALL = "true" [tools] "aqua:cargo-bins/cargo-binstall" = "1" -rust = "1.80" +rust = "1.85" make = "latest" # # experimental "cargo:cargo-nextest" = "0.9" diff --git a/Cargo.toml b/Cargo.toml index 5b2ded5..b85681d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ resolver = "2" members = ["cdevents-sdk", "generator"] [workspace.package] -edition = "2021" +edition = "2024" version = "0.1.3" authors = [ # The actual list of contributors can be retrieved from the git log @@ -11,5 +11,5 @@ authors = [ ] license = "Apache-2.0" repository = "https://github.com/cdevents/sdk-rust" -rust-version = "1.80" +rust-version = "1.85" publish = false diff --git a/generator/src/main.rs b/generator/src/main.rs index 77ee652..bfe5df0 100644 --- a/generator/src/main.rs +++ b/generator/src/main.rs @@ -7,7 +7,7 @@ use glob::glob; use handlebars::{DirectorySourceOptions, Handlebars}; use indexmap::IndexMap; use serde::{Deserialize, Serialize}; -use serde_json::{json, Value}; +use serde_json::{Value, json}; use std::{collections::HashMap, fs, path::PathBuf}; use version::Version; diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 4d2dee8..c1bc0a6 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "1.80.0" +channel = "1.85.0"