From cc9908308e05a75c284f19715a830fc550e9e531 Mon Sep 17 00:00:00 2001 From: syl20bnr Date: Mon, 15 Jul 2024 17:58:04 -0400 Subject: [PATCH 1/4] Generate random experiment name in guide example --- Cargo.lock | 1 + crates/heat-sdk/Cargo.toml | 1 + crates/heat-sdk/src/http/client.rs | 6 ++++++ 3 files changed, 8 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index aafe692..a30bcb2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1877,6 +1877,7 @@ dependencies = [ "burn", "derive-new", "log", + "rand", "reqwest", "rmp-serde", "serde", diff --git a/crates/heat-sdk/Cargo.toml b/crates/heat-sdk/Cargo.toml index db92b0f..be79f59 100644 --- a/crates/heat-sdk/Cargo.toml +++ b/crates/heat-sdk/Cargo.toml @@ -13,6 +13,7 @@ rmp-serde = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } log = { workspace = true } +rand = { version = "0.8.5" } reqwest = { workspace = true, features = ["blocking", "json"] } tungstenite = { version = "0.21.0" } thiserror = { workspace = true } diff --git a/crates/heat-sdk/src/http/client.rs b/crates/heat-sdk/src/http/client.rs index f0b833d..c3ae0e9 100644 --- a/crates/heat-sdk/src/http/client.rs +++ b/crates/heat-sdk/src/http/client.rs @@ -1,5 +1,6 @@ use std::collections::HashMap; +use rand::Rng; use reqwest::header::{COOKIE, SET_COOKIE}; use serde::Serialize; @@ -125,11 +126,16 @@ impl HttpClient { let url = format!("{}/projects/{}/experiments", self.base_url, project_id); + let mut body = HashMap::new(); + let mut rng = rand::thread_rng(); + body.insert("experiment_name", format!("guide-{}", rng.gen_range(0..10000))); + // Create a new experiment let exp_uuid = self .http_client .post(url) .header(COOKIE, self.session_cookie.as_ref().unwrap()) + .json(&body) .send()? .error_for_status()? .json::()? From 11e8b59d0c3be3ecf68e0f3eb3fb33722051fcb0 Mon Sep 17 00:00:00 2001 From: syl20bnr Date: Mon, 15 Jul 2024 21:53:28 -0400 Subject: [PATCH 2/4] Cargo fmt --- crates/heat-sdk/src/http/client.rs | 5 +- xtask/src/commands/check.rs | 82 ++++++++++++++++------- xtask/src/commands/ci.rs | 65 ++++++++++++------ xtask/src/commands/mod.rs | 2 +- xtask/src/commands/pull_request_checks.rs | 18 +++-- xtask/src/commands/test.rs | 70 ++++++++++++------- xtask/src/main.rs | 5 +- xtask/src/utils/cargo.rs | 13 +++- xtask/src/utils/workspace.rs | 2 +- 9 files changed, 179 insertions(+), 83 deletions(-) diff --git a/crates/heat-sdk/src/http/client.rs b/crates/heat-sdk/src/http/client.rs index c3ae0e9..c6aebcd 100644 --- a/crates/heat-sdk/src/http/client.rs +++ b/crates/heat-sdk/src/http/client.rs @@ -128,7 +128,10 @@ impl HttpClient { let mut body = HashMap::new(); let mut rng = rand::thread_rng(); - body.insert("experiment_name", format!("guide-{}", rng.gen_range(0..10000))); + body.insert( + "experiment_name", + format!("guide-{}", rng.gen_range(0..10000)), + ); // Create a new experiment let exp_uuid = self diff --git a/xtask/src/commands/check.rs b/xtask/src/commands/check.rs index cd03e51..2e474b2 100644 --- a/xtask/src/commands/check.rs +++ b/xtask/src/commands/check.rs @@ -1,10 +1,17 @@ use std::process::Command; -use anyhow::{Ok, Result, anyhow}; +use anyhow::{anyhow, Ok, Result}; use clap::{Args, Subcommand}; use strum::{Display, EnumIter, EnumString, IntoEnumIterator}; -use crate::{endgroup, group, utils::{cargo::ensure_cargo_crate_is_installed, prompt::ask_once, workspace::{get_workspace_members, WorkspaceMemberType}}}; +use crate::{ + endgroup, group, + utils::{ + cargo::ensure_cargo_crate_is_installed, + prompt::ask_once, + workspace::{get_workspace_members, WorkspaceMemberType}, + }, +}; use super::Target; @@ -36,17 +43,21 @@ pub(crate) fn handle_command(args: CheckCmdArgs, answer: Option) -> anyhow CheckCommand::Format => run_format(&args.target, answer), CheckCommand::Lint => run_lint(&args.target, answer), CheckCommand::All => { - let answer = ask_once("This will run all the checks with autofix on all members of the workspace."); + let answer = ask_once( + "This will run all the checks with autofix on all members of the workspace.", + ); CheckCommand::iter() .filter(|c| *c != CheckCommand::All) - .try_for_each(|c| handle_command( - CheckCmdArgs { - command: c, - target: args.target.clone() - }, - Some(answer), - )) - }, + .try_for_each(|c| { + handle_command( + CheckCmdArgs { + command: c, + target: args.target.clone(), + }, + Some(answer), + ) + }) + } } } @@ -71,7 +82,7 @@ pub(crate) fn run_audit(target: &Target, mut answer: Option) -> anyhow::Re } endgroup!(); } - }, + } Target::All => { let answer = ask_once("This will run audit checks on all targets."); Target::iter() @@ -94,7 +105,11 @@ fn run_format(target: &Target, mut answer: Option) -> Result<()> { if answer.is_none() { answer = Some(ask_once(&format!( "This will run format checks on all {} of the workspace.", - if *target == Target::Crates { "crates" } else { "examples" } + if *target == Target::Crates { + "crates" + } else { + "examples" + } ))); } @@ -107,22 +122,27 @@ fn run_format(target: &Target, mut answer: Option) -> Result<()> { .status() .map_err(|e| anyhow!("Failed to execute cargo fmt: {}", e))?; if !status.success() { - return Err(anyhow!("Format check execution failed for {}", &member.name)); + return Err(anyhow!( + "Format check execution failed for {}", + &member.name + )); } endgroup!(); } } - }, + } Target::All => { if answer.is_none() { - answer = Some(ask_once("This will run format check on all members of the workspace.")); + answer = Some(ask_once( + "This will run format check on all members of the workspace.", + )); } if answer.unwrap() { Target::iter() .filter(|t| *t != Target::All) .try_for_each(|t| run_format(&t, answer))?; } - }, + } } Ok(()) } @@ -139,16 +159,30 @@ fn run_lint(target: &Target, mut answer: Option) -> anyhow::Result<()> { if answer.is_none() { answer = Some(ask_once(&format!( "This will run lint fix on all {} of the workspace.", - if *target == Target::Crates { "crates" } else { "examples" } + if *target == Target::Crates { + "crates" + } else { + "examples" + } ))); } if answer.unwrap() { for member in members { group!("Lint: {}", member.name); - info!("Command line: cargo clippy --no-deps --fix --allow-dirty -p {}", &member.name); + info!( + "Command line: cargo clippy --no-deps --fix --allow-dirty -p {}", + &member.name + ); let status = Command::new("cargo") - .args(["clippy", "--no-deps", "--fix", "--allow-dirty", "-p", &member.name]) + .args([ + "clippy", + "--no-deps", + "--fix", + "--allow-dirty", + "-p", + &member.name, + ]) .status() .map_err(|e| anyhow!("Failed to execute cargo clippy: {}", e))?; if !status.success() { @@ -157,17 +191,19 @@ fn run_lint(target: &Target, mut answer: Option) -> anyhow::Result<()> { endgroup!(); } } - }, + } Target::All => { if answer.is_none() { - answer = Some(ask_once("This will run lint fix on all members of the workspace.")); + answer = Some(ask_once( + "This will run lint fix on all members of the workspace.", + )); } if answer.unwrap() { Target::iter() .filter(|t| *t != Target::All) .try_for_each(|t| run_lint(&t, answer))?; } - }, + } } Ok(()) } diff --git a/xtask/src/commands/ci.rs b/xtask/src/commands/ci.rs index d80433b..a15b146 100644 --- a/xtask/src/commands/ci.rs +++ b/xtask/src/commands/ci.rs @@ -1,12 +1,21 @@ use std::process::Command; -use anyhow::{Ok, Result, anyhow}; +use anyhow::{anyhow, Ok, Result}; use clap::{Args, Subcommand}; use strum::{Display, EnumIter, EnumString, IntoEnumIterator}; -use crate::{endgroup, group, utils::{cargo::ensure_cargo_crate_is_installed, workspace::{get_workspace_members, WorkspaceMemberType}}}; +use crate::{ + endgroup, group, + utils::{ + cargo::ensure_cargo_crate_is_installed, + workspace::{get_workspace_members, WorkspaceMemberType}, + }, +}; -use super::{test::{run_documentation, run_integration, run_unit}, Target}; +use super::{ + test::{run_documentation, run_integration, run_unit}, + Target, +}; #[derive(Args)] pub(crate) struct CICmdArgs { @@ -47,16 +56,14 @@ pub(crate) fn handle_command(args: CICmdArgs) -> anyhow::Result<()> { CICommand::IntegrationTests => run_integration_tests(&args.target), CICommand::DocTests => run_doc_tests(&args.target), CICommand::AllTests => run_all_tests(&args.target), - CICommand::All => { - CICommand::iter() - .filter(|c| *c != CICommand::All && *c != CICommand::AllTests) - .try_for_each(|c| handle_command( - CICmdArgs { - command: c, - target: args.target.clone() - }, - )) - }, + CICommand::All => CICommand::iter() + .filter(|c| *c != CICommand::All && *c != CICommand::AllTests) + .try_for_each(|c| { + handle_command(CICmdArgs { + command: c, + target: args.target.clone(), + }) + }), } } @@ -74,12 +81,12 @@ fn run_audit(target: &Target) -> anyhow::Result<()> { return Err(anyhow!("Audit check execution failed")); } endgroup!(); - }, + } Target::All => { Target::iter() .filter(|t| *t != Target::All && *t != Target::Examples) .try_for_each(|t| run_audit(&t))?; - }, + } } Ok(()) } @@ -101,16 +108,19 @@ fn run_format(target: &Target) -> Result<()> { .status() .map_err(|e| anyhow!("Failed to execute cargo fmt: {}", e))?; if !status.success() { - return Err(anyhow!("Format check execution failed for {}", &member.name)); + return Err(anyhow!( + "Format check execution failed for {}", + &member.name + )); } endgroup!(); } - }, + } Target::All => { Target::iter() .filter(|t| *t != Target::All) .try_for_each(|t| run_format(&t))?; - }, + } } Ok(()) } @@ -126,9 +136,20 @@ fn run_lint(target: &Target) -> anyhow::Result<()> { for member in members { group!("Lint: {}", member.name); - info!("Command line: cargo clippy --no-deps -p {} -- --deny warnings", &member.name); + info!( + "Command line: cargo clippy --no-deps -p {} -- --deny warnings", + &member.name + ); let status = Command::new("cargo") - .args(["clippy", "--no-deps", "-p", &member.name, "--", "--deny", "warnings",]) + .args([ + "clippy", + "--no-deps", + "-p", + &member.name, + "--", + "--deny", + "warnings", + ]) .status() .map_err(|e| anyhow!("Failed to execute cargo clippy: {}", e))?; if !status.success() { @@ -136,12 +157,12 @@ fn run_lint(target: &Target) -> anyhow::Result<()> { } endgroup!(); } - }, + } Target::All => { Target::iter() .filter(|t| *t != Target::All) .try_for_each(|t| run_lint(&t))?; - }, + } } Ok(()) } diff --git a/xtask/src/commands/mod.rs b/xtask/src/commands/mod.rs index d66865c..2b49c3c 100644 --- a/xtask/src/commands/mod.rs +++ b/xtask/src/commands/mod.rs @@ -8,7 +8,7 @@ use strum::{Display, EnumIter, EnumString}; #[derive(EnumString, EnumIter, Display, Clone, PartialEq, ValueEnum)] #[strum(serialize_all = "lowercase")] -pub(crate) enum Target{ +pub(crate) enum Target { All, Crates, Examples, diff --git a/xtask/src/commands/pull_request_checks.rs b/xtask/src/commands/pull_request_checks.rs index 0f214aa..415eecc 100644 --- a/xtask/src/commands/pull_request_checks.rs +++ b/xtask/src/commands/pull_request_checks.rs @@ -1,16 +1,20 @@ use strum::IntoEnumIterator; -use super::{ci::{self, CICmdArgs, CICommand}, test::run_guide}; +use super::{ + ci::{self, CICmdArgs, CICommand}, + test::run_guide, +}; pub(crate) fn handle_command() -> anyhow::Result<()> { CICommand::iter() // Skip audit command - .filter(|c| *c != CICommand::All && *c != CICommand::AllTests && *c != CICommand::Audit ) - .try_for_each(|c| ci::handle_command(CICmdArgs { - target: super::Target::All, - command: c.clone(), - }) - )?; + .filter(|c| *c != CICommand::All && *c != CICommand::AllTests && *c != CICommand::Audit) + .try_for_each(|c| { + ci::handle_command(CICmdArgs { + target: super::Target::All, + command: c.clone(), + }) + })?; // Execute the guide example run_guide() } diff --git a/xtask/src/commands/test.rs b/xtask/src/commands/test.rs index c983dfe..c1effb1 100644 --- a/xtask/src/commands/test.rs +++ b/xtask/src/commands/test.rs @@ -1,10 +1,13 @@ use std::process::Command; -use anyhow::{Ok, Result, anyhow}; +use anyhow::{anyhow, Ok, Result}; use clap::{Args, Subcommand}; use strum::{Display, EnumIter, EnumString, IntoEnumIterator}; -use crate::{endgroup, group, utils::workspace::{get_workspace_members, WorkspaceMember, WorkspaceMemberType}}; +use crate::{ + endgroup, group, + utils::workspace::{get_workspace_members, WorkspaceMember, WorkspaceMemberType}, +}; use super::Target; @@ -41,16 +44,14 @@ pub(crate) fn handle_command(args: TestCmdArgs) -> anyhow::Result<()> { TestCommand::Integration => run_integration(&args.target), TestCommand::Documentation => run_documentation(&args.target), TestCommand::Guide => run_guide(), - TestCommand::All => { - TestCommand::iter() - .filter(|c| *c != TestCommand::All) - .try_for_each(|c| handle_command( - TestCmdArgs { - command: c, - target: args.target.clone() - }, - )) - }, + TestCommand::All => TestCommand::iter() + .filter(|c| *c != TestCommand::All) + .try_for_each(|c| { + handle_command(TestCmdArgs { + command: c, + target: args.target.clone(), + }) + }), } } @@ -58,7 +59,17 @@ pub(crate) fn run_guide() -> Result<()> { group!("Guide Test"); info!("Command line: cargo run --release --bin guide -- --key \"...\" --project \"...\""); let status = Command::new("cargo") - .args(["run", "--release", "--bin", "guide", "--", "--key", API_KEY, "--project", PROJECT_UUID]) + .args([ + "run", + "--release", + "--bin", + "guide", + "--", + "--key", + API_KEY, + "--project", + PROJECT_UUID, + ]) .status() .map_err(|e| anyhow!("Failed to execute guide example: {}", e))?; if !status.success() { @@ -80,12 +91,12 @@ pub(crate) fn run_unit(target: &Target) -> Result<()> { for member in members { run_unit_test(&member)?; } - }, + } Target::All => { Target::iter() .filter(|t| *t != Target::All) .try_for_each(|t| run_unit(&t))?; - }, + } } Ok(()) } @@ -116,12 +127,12 @@ pub(crate) fn run_documentation(target: &Target) -> Result<()> { for member in members { run_doc_test(&member)?; } - }, + } Target::All => { Target::iter() .filter(|t| *t != Target::All) .try_for_each(|t| run_documentation(&t))?; - }, + } } Ok(()) } @@ -134,7 +145,10 @@ fn run_doc_test(member: &WorkspaceMember) -> Result<(), anyhow::Error> { .status() .map_err(|e| anyhow!("Failed to execute documentation test: {}", e))?; if !status.success() { - return Err(anyhow!("Failed to execute documentation test for {}", &member.name)); + return Err(anyhow!( + "Failed to execute documentation test for {}", + &member.name + )); } endgroup!(); Ok(()) @@ -152,19 +166,22 @@ pub(crate) fn run_integration(target: &Target) -> anyhow::Result<()> { for member in members { run_integration_test(&member)?; } - }, + } Target::All => { Target::iter() .filter(|t| *t != Target::All) .try_for_each(|t| run_integration(&t))?; - }, + } } Ok(()) } fn run_integration_test(member: &WorkspaceMember) -> Result<()> { group!("Integration Tests: {}", &member.name); - info!("Command line: cargo test --test \"test_*\" -p {}", &member.name); + info!( + "Command line: cargo test --test \"test_*\" -p {}", + &member.name + ); let output = Command::new("cargo") .args(["test", "--test", "test_*", "-p", &member.name]) .output() @@ -173,11 +190,18 @@ fn run_integration_test(member: &WorkspaceMember) -> Result<()> { if !output.status.success() { let stderr = String::from_utf8_lossy(&output.stderr); if stderr.contains("no test target matches pattern") { - warn!("No tests found matching the pattern `test_*` for {}", &member.name); + warn!( + "No tests found matching the pattern `test_*` for {}", + &member.name + ); endgroup!(); return Ok(()); } - return Err(anyhow!("Failed to execute integration test for {}: {}", &member.name, stderr)); + return Err(anyhow!( + "Failed to execute integration test for {}: {}", + &member.name, + stderr + )); } endgroup!(); Ok(()) diff --git a/xtask/src/main.rs b/xtask/src/main.rs index 81d1e85..e38ee90 100644 --- a/xtask/src/main.rs +++ b/xtask/src/main.rs @@ -5,10 +5,9 @@ mod logging; mod utils; // mod vulnerabilities; -use std::time::Instant; -use clap::{Parser, Subcommand}; use crate::{logging::init_logger, utils::time::format_duration}; - +use clap::{Parser, Subcommand}; +use std::time::Instant; #[macro_use] extern crate log; diff --git a/xtask/src/utils/cargo.rs b/xtask/src/utils/cargo.rs index a0a9a16..bc0e2ff 100644 --- a/xtask/src/utils/cargo.rs +++ b/xtask/src/utils/cargo.rs @@ -37,13 +37,22 @@ pub fn cargo_command_with_path>( } /// Run a cargo command -pub fn run_cargo(command: &str, params: Params, envs: HashMap<&str, &str>, error: &str) -> anyhow::Result<()> { +pub fn run_cargo( + command: &str, + params: Params, + envs: HashMap<&str, &str>, + error: &str, +) -> anyhow::Result<()> { let mut cargo = cargo_command(command, params.clone(), envs); run_process_command(&mut cargo, error) } /// Ensure that a cargo crate is installed -pub fn ensure_cargo_crate_is_installed(crate_name: &str, features: Option<&str>, locked: bool) -> anyhow::Result<()> { +pub fn ensure_cargo_crate_is_installed( + crate_name: &str, + features: Option<&str>, + locked: bool, +) -> anyhow::Result<()> { if !is_cargo_crate_installed(crate_name) { group!("Cargo: install crate '{}'", crate_name); let mut args = vec![crate_name]; diff --git a/xtask/src/utils/workspace.rs b/xtask/src/utils/workspace.rs index 6735c6b..aa96df7 100644 --- a/xtask/src/utils/workspace.rs +++ b/xtask/src/utils/workspace.rs @@ -1,5 +1,5 @@ -use std::{path::Path, process::Command}; use serde_json::Value; +use std::{path::Path, process::Command}; const MEMBER_PATH_PREFIX: &str = if cfg!(target_os = "windows") { "path+file:///" From 20e40dbdf565cb1f6571d1ba4130e7721d8a2fba Mon Sep 17 00:00:00 2001 From: syl20bnr Date: Tue, 16 Jul 2024 13:25:52 -0400 Subject: [PATCH 3/4] Update cargo dependencies to fix RUSTSEC-2024-0350 --- Cargo.lock | 897 +++++++++++++++++++++++++++++++---------------------- Cargo.toml | 18 +- 2 files changed, 540 insertions(+), 375 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a30bcb2..727d4ea 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,9 +4,9 @@ version = 3 [[package]] name = "addr2line" -version = "0.21.0" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb" +checksum = "6e4503c46a5c0c7844e948c9a4d6acd9f50cccb4de1c48eb9e291ea17470c678" dependencies = [ "gimli", ] @@ -102,9 +102,9 @@ dependencies = [ [[package]] name = "anstyle-query" -version = "1.0.3" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a64c907d4e79225ac72e2a354c9ce84d50ebb4586dee56c82b3ee73004f537f5" +checksum = "ad186efb764318d35165f1758e7dcef3b10628e26d41a44bc5550652e6804391" dependencies = [ "windows-sys 0.52.0", ] @@ -121,9 +121,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.83" +version = "1.0.86" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25bdb32cbbdce2b519a9cd7df3a678443100e265d5e25ca763b7572a5104f5f3" +checksum = "b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da" [[package]] name = "arbitrary" @@ -142,7 +142,7 @@ checksum = "0ae92a5119aa49cdbcf6b9f893fe4e1d98b04ccbf82ee0584ad948a44a734dea" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.71", ] [[package]] @@ -161,16 +161,23 @@ dependencies = [ ] [[package]] -name = "async-trait" -version = "0.1.80" +name = "async-channel" +version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6fa2087f2753a7da8cc1c0dbfcf89579dd57458e36769de5ac750b4671737ca" +checksum = "89b47800b0be77592da0afd425cc03468052844aff33b84e33cc696f64e77b6a" dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.63", + "concurrent-queue", + "event-listener-strategy", + "futures-core", + "pin-project-lite", ] +[[package]] +name = "atomic-waker" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" + [[package]] name = "autocfg" version = "1.3.0" @@ -202,9 +209,9 @@ dependencies = [ [[package]] name = "backtrace" -version = "0.3.71" +version = "0.3.73" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26b05800d2e817c8b3b4b54abd461726265fa9789ae34330622f2db9ee696f9d" +checksum = "5cc23269a4f8976d0a4d2e7109211a419fe30e8d88d677cd60b6bc79c5732e0a" dependencies = [ "addr2line", "cc", @@ -265,15 +272,15 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.5.0" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf4b9d6a944f767f8e5e0db018570623c85f3d925ac718db4e06d0187adb21c1" +checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de" [[package]] name = "bitstream-io" -version = "2.3.0" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c12d1856e42f0d817a835fe55853957c85c8c8a470114029143d3f12671446e" +checksum = "3dcde5f311c85b8ca30c2e4198d4326bc342c76541590106f5fa4a50946ea499" [[package]] name = "block" @@ -302,9 +309,9 @@ dependencies = [ [[package]] name = "built" -version = "0.7.2" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41bfbdb21256b87a8b5e80fab81a8eed158178e812fd7ba451907518b2742f16" +checksum = "236e6289eda5a812bc6b53c3b024039382a2895fbbeef2d748b2931546d392c4" [[package]] name = "bumpalo" @@ -314,8 +321,8 @@ checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" [[package]] name = "burn" -version = "0.15.0" -source = "git+https://github.com/tracel-ai/burn?branch=main#8de05e14190663cf737990365ddf20743b94a31b" +version = "0.14.0" +source = "git+https://github.com/tracel-ai/burn?branch=main#ed8a91d48a9a87bded94099211a3ff38d31517c7" dependencies = [ "burn-core", "burn-train", @@ -323,8 +330,8 @@ dependencies = [ [[package]] name = "burn-autodiff" -version = "0.15.0" -source = "git+https://github.com/tracel-ai/burn?branch=main#8de05e14190663cf737990365ddf20743b94a31b" +version = "0.14.0" +source = "git+https://github.com/tracel-ai/burn?branch=main#ed8a91d48a9a87bded94099211a3ff38d31517c7" dependencies = [ "burn-common", "burn-tensor", @@ -335,8 +342,8 @@ dependencies = [ [[package]] name = "burn-candle" -version = "0.15.0" -source = "git+https://github.com/tracel-ai/burn?branch=main#8de05e14190663cf737990365ddf20743b94a31b" +version = "0.14.0" +source = "git+https://github.com/tracel-ai/burn?branch=main#ed8a91d48a9a87bded94099211a3ff38d31517c7" dependencies = [ "burn-tensor", "candle-core", @@ -346,33 +353,36 @@ dependencies = [ [[package]] name = "burn-common" -version = "0.15.0" -source = "git+https://github.com/tracel-ai/burn?branch=main#8de05e14190663cf737990365ddf20743b94a31b" +version = "0.14.0" +source = "git+https://github.com/tracel-ai/burn?branch=main#ed8a91d48a9a87bded94099211a3ff38d31517c7" dependencies = [ - "async-trait", + "data-encoding", "derive-new", "getrandom", "indicatif", + "pollster", "rand", + "rayon", "reqwest", "serde", "spin", "tokio", - "uuid", "web-time", ] [[package]] name = "burn-compute" -version = "0.15.0" -source = "git+https://github.com/tracel-ai/burn?branch=main#8de05e14190663cf737990365ddf20743b94a31b" +version = "0.14.0" +source = "git+https://github.com/tracel-ai/burn?branch=main#ed8a91d48a9a87bded94099211a3ff38d31517c7" dependencies = [ + "async-channel", "burn-common", "derive-new", "dirs", "hashbrown 0.14.5", "log", "md5", + "pollster", "serde", "serde_json", "spin", @@ -381,8 +391,8 @@ dependencies = [ [[package]] name = "burn-core" -version = "0.15.0" -source = "git+https://github.com/tracel-ai/burn?branch=main#8de05e14190663cf737990365ddf20743b94a31b" +version = "0.14.0" +source = "git+https://github.com/tracel-ai/burn?branch=main#ed8a91d48a9a87bded94099211a3ff38d31517c7" dependencies = [ "bincode", "burn-autodiff", @@ -407,10 +417,37 @@ dependencies = [ "spin", ] +[[package]] +name = "burn-cube" +version = "0.14.0" +source = "git+https://github.com/tracel-ai/burn?branch=main#ed8a91d48a9a87bded94099211a3ff38d31517c7" +dependencies = [ + "burn-compute", + "burn-cube-macros", + "burn-tensor", + "bytemuck", + "derive-new", + "half", + "log", + "num-traits", + "serde", +] + +[[package]] +name = "burn-cube-macros" +version = "0.14.0" +source = "git+https://github.com/tracel-ai/burn?branch=main#ed8a91d48a9a87bded94099211a3ff38d31517c7" +dependencies = [ + "derive-new", + "proc-macro2", + "quote", + "syn 2.0.71", +] + [[package]] name = "burn-dataset" -version = "0.15.0" -source = "git+https://github.com/tracel-ai/burn?branch=main#8de05e14190663cf737990365ddf20743b94a31b" +version = "0.14.0" +source = "git+https://github.com/tracel-ai/burn?branch=main#ed8a91d48a9a87bded94099211a3ff38d31517c7" dependencies = [ "burn-common", "csv", @@ -437,19 +474,19 @@ dependencies = [ [[package]] name = "burn-derive" -version = "0.15.0" -source = "git+https://github.com/tracel-ai/burn?branch=main#8de05e14190663cf737990365ddf20743b94a31b" +version = "0.14.0" +source = "git+https://github.com/tracel-ai/burn?branch=main#ed8a91d48a9a87bded94099211a3ff38d31517c7" dependencies = [ "derive-new", "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.71", ] [[package]] name = "burn-fusion" -version = "0.15.0" -source = "git+https://github.com/tracel-ai/burn?branch=main#8de05e14190663cf737990365ddf20743b94a31b" +version = "0.14.0" +source = "git+https://github.com/tracel-ai/burn?branch=main#ed8a91d48a9a87bded94099211a3ff38d31517c7" dependencies = [ "burn-common", "burn-tensor", @@ -462,11 +499,12 @@ dependencies = [ [[package]] name = "burn-jit" -version = "0.15.0" -source = "git+https://github.com/tracel-ai/burn?branch=main#8de05e14190663cf737990365ddf20743b94a31b" +version = "0.14.0" +source = "git+https://github.com/tracel-ai/burn?branch=main#ed8a91d48a9a87bded94099211a3ff38d31517c7" dependencies = [ "burn-common", "burn-compute", + "burn-cube", "burn-fusion", "burn-tensor", "bytemuck", @@ -483,8 +521,8 @@ dependencies = [ [[package]] name = "burn-ndarray" -version = "0.15.0" -source = "git+https://github.com/tracel-ai/burn?branch=main#8de05e14190663cf737990365ddf20743b94a31b" +version = "0.14.0" +source = "git+https://github.com/tracel-ai/burn?branch=main#ed8a91d48a9a87bded94099211a3ff38d31517c7" dependencies = [ "burn-autodiff", "burn-common", @@ -495,14 +533,13 @@ dependencies = [ "ndarray", "num-traits", "rand", - "rayon", "spin", ] [[package]] name = "burn-tch" -version = "0.15.0" -source = "git+https://github.com/tracel-ai/burn?branch=main#8de05e14190663cf737990365ddf20743b94a31b" +version = "0.14.0" +source = "git+https://github.com/tracel-ai/burn?branch=main#ed8a91d48a9a87bded94099211a3ff38d31517c7" dependencies = [ "burn-tensor", "half", @@ -513,10 +550,11 @@ dependencies = [ [[package]] name = "burn-tensor" -version = "0.15.0" -source = "git+https://github.com/tracel-ai/burn?branch=main#8de05e14190663cf737990365ddf20743b94a31b" +version = "0.14.0" +source = "git+https://github.com/tracel-ai/burn?branch=main#ed8a91d48a9a87bded94099211a3ff38d31517c7" dependencies = [ "burn-common", + "bytemuck", "derive-new", "half", "hashbrown 0.14.5", @@ -524,12 +562,13 @@ dependencies = [ "rand", "rand_distr", "serde", + "serde_bytes", ] [[package]] name = "burn-train" -version = "0.15.0" -source = "git+https://github.com/tracel-ai/burn?branch=main#8de05e14190663cf737990365ddf20743b94a31b" +version = "0.14.0" +source = "git+https://github.com/tracel-ai/burn?branch=main#ed8a91d48a9a87bded94099211a3ff38d31517c7" dependencies = [ "burn-core", "crossterm", @@ -547,17 +586,18 @@ dependencies = [ [[package]] name = "burn-wgpu" -version = "0.15.0" -source = "git+https://github.com/tracel-ai/burn?branch=main#8de05e14190663cf737990365ddf20743b94a31b" +version = "0.14.0" +source = "git+https://github.com/tracel-ai/burn?branch=main#ed8a91d48a9a87bded94099211a3ff38d31517c7" dependencies = [ + "async-channel", "burn-common", "burn-compute", + "burn-cube", "burn-fusion", "burn-jit", "burn-tensor", "bytemuck", "derive-new", - "futures-intrusive", "hashbrown 0.14.5", "log", "pollster", @@ -566,22 +606,22 @@ dependencies = [ [[package]] name = "bytemuck" -version = "1.16.0" +version = "1.16.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78834c15cb5d5efe3452d58b1e8ba890dd62d21907f867f383358198e56ebca5" +checksum = "b236fc92302c97ed75b38da1f4917b5cdda4984745740f153a5d3059e48d725e" dependencies = [ "bytemuck_derive", ] [[package]] name = "bytemuck_derive" -version = "1.6.0" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4da9a32f3fed317401fa3c862968128267c3106685286e15d5aaa3d7389c2f60" +checksum = "1ee891b04274a59bd38b412188e24b849617b2e45a0fd8d057deb63e7403761b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.71", ] [[package]] @@ -598,9 +638,9 @@ checksum = "8f1fe948ff07f4bd06c30984e69f5b4899c516a3ef74f34df92a2df2ab535495" [[package]] name = "bytes" -version = "1.6.0" +version = "1.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "514de17de45fdb8dc022b1a7975556c53c86f9f0aa5f534b98977b171857c2c9" +checksum = "a12916984aab3fa6e39d655a33e09c0071eb36d6ab3aea5c2d78551f1df6d952" [[package]] name = "bytesize" @@ -632,7 +672,8 @@ dependencies = [ [[package]] name = "candle-core" version = "0.5.1" -source = "git+https://github.com/huggingface/candle.git?rev=82b641f#82b641fd2752e3b14db6a9c91faef70e3329f3b5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "311d8dbe293aa3b5c34f6a57727fafd67d17a74fa8b65276501237c233b34ffd" dependencies = [ "byteorder", "gemm", @@ -646,7 +687,7 @@ dependencies = [ "safetensors 0.4.3", "thiserror", "yoke", - "zip 1.2.3", + "zip 1.1.4", ] [[package]] @@ -657,22 +698,21 @@ checksum = "df8670b8c7b9dae1793364eafadf7239c40d669904660c5960d74cfd80b46a53" [[package]] name = "castaway" -version = "0.2.2" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a17ed5635fc8536268e5d4de1e22e81ac34419e5f052d4d51f4e01dcc263fcc" +checksum = "0abae9be0aaf9ea96a3b1b8b1b55c602ca751eba1b1500220cea4ecbafe7c0d5" dependencies = [ "rustversion", ] [[package]] name = "cc" -version = "1.0.97" +version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "099a5357d84c4c61eb35fc8eafa9a79a902c2f76911e5747ced4e032edd8d9b4" +checksum = "324c74f2155653c90b04f25b2a47a8a631360cb908f92a772695f430c7e31052" dependencies = [ "jobserver", "libc", - "once_cell", ] [[package]] @@ -709,9 +749,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.4" +version = "4.5.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90bc066a67923782aa8515dbaea16946c5bcc5addbd668bb80af688e53e548a0" +checksum = "64acc1846d54c1fe936a78dc189c34e28d3f5afc348403f28ecf53660b9b8462" dependencies = [ "clap_builder", "clap_derive", @@ -719,9 +759,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.2" +version = "4.5.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae129e2e766ae0ec03484e609954119f123cc1fe650337e155d03b022f24f7b4" +checksum = "6fb8393d67ba2e7bfaf28a23458e4e2b543cc73a99595511eb207fdb8aede942" dependencies = [ "anstream", "anstyle", @@ -731,21 +771,21 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.5.4" +version = "4.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "528131438037fd55894f62d6e9f068b8f45ac57ffa77517819645d10aed04f64" +checksum = "2bac35c6dafb060fd4d275d9a4ffae97917c13a6327903a8be2153cd964f7085" dependencies = [ "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.71", ] [[package]] name = "clap_lex" -version = "0.7.0" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98cc8fbded0c607b7ba9dd60cd98df59af97e84d24e49c8557331cfc26d301ce" +checksum = "4b82cf0babdbd58558212896d1a4272303a57bdb245c2bf1147185fb45640e70" [[package]] name = "codespan-reporting" @@ -813,6 +853,15 @@ dependencies = [ "static_assertions", ] +[[package]] +name = "concurrent-queue" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ca0197aee26d1ae37445ee532fefce43251d24cc7c166799f4d46817f1d3973" +dependencies = [ + "crossbeam-utils", +] + [[package]] name = "console" version = "0.15.8" @@ -870,18 +919,18 @@ dependencies = [ [[package]] name = "crc32fast" -version = "1.4.0" +version = "1.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3855a8a784b474f333699ef2bbca9db2c4a1f6d9088a90a2d25b1eb53111eaa" +checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3" dependencies = [ "cfg-if", ] [[package]] name = "crossbeam-channel" -version = "0.5.12" +version = "0.5.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab3db02a9c5b5121e1e42fbdb1aeb65f5e02624cc58c43f2884c6ccac0b82f95" +checksum = "33480d6946193aa8033910124896ca395333cae7e2d1113d1fef6c3272217df2" dependencies = [ "crossbeam-utils", ] @@ -907,9 +956,9 @@ dependencies = [ [[package]] name = "crossbeam-utils" -version = "0.8.19" +version = "0.8.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "248e3bacc7dc6baa3b21e405ee045c3047101a49145e7e9eca583ab4c2ca5345" +checksum = "22ec99545bb0ed0ea7bb9b8e1e9122ea386ff8a48c0922e43f36d45ab09e0e80" [[package]] name = "crossterm" @@ -917,7 +966,7 @@ version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f476fe445d41c9e991fd07515a6f463074b782242ccf4a5b7b1d1012e70824df" dependencies = [ - "bitflags 2.5.0", + "bitflags 2.6.0", "crossterm_winapi", "libc", "mio", @@ -979,16 +1028,16 @@ version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b28bfe653d79bd16c77f659305b195b82bb5ce0c0eb2a4846b82ddbd77586813" dependencies = [ - "bitflags 2.5.0", - "libloading 0.8.3", + "bitflags 2.6.0", + "libloading 0.8.4", "winapi", ] [[package]] name = "darling" -version = "0.20.9" +version = "0.20.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83b2eb4d90d12bdda5ed17de686c2acb4c57914f8f921b8da7e112b5a36f3fe1" +checksum = "6f63b86c8a8826a49b8c21f08a2d07338eec8d900540f8630dc76284be802989" dependencies = [ "darling_core", "darling_macro", @@ -996,27 +1045,27 @@ dependencies = [ [[package]] name = "darling_core" -version = "0.20.9" +version = "0.20.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "622687fe0bac72a04e5599029151f5796111b90f1baaa9b544d807a5e31cd120" +checksum = "95133861a8032aaea082871032f5815eb9e98cef03fa916ab4500513994df9e5" dependencies = [ "fnv", "ident_case", "proc-macro2", "quote", "strsim", - "syn 2.0.63", + "syn 2.0.71", ] [[package]] name = "darling_macro" -version = "0.20.9" +version = "0.20.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "733cabb43482b1a1b53eee8583c2b9e8684d592215ea83efd305dd31bc2f0178" +checksum = "d336a2a514f6ccccaa3e09b02d41d35330c07ddf03a62165fcec10bb561c7806" dependencies = [ "darling_core", "quote", - "syn 2.0.63", + "syn 2.0.71", ] [[package]] @@ -1055,7 +1104,7 @@ checksum = "d150dea618e920167e5973d70ae6ece4385b7164e0d799fe7c122dd0a5d912ad" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.71", ] [[package]] @@ -1066,18 +1115,18 @@ checksum = "67e77553c4162a157adbf834ebae5b415acbecbeafc7a74b0e886657506a7611" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.71", ] [[package]] name = "derive_more" -version = "0.99.17" +version = "0.99.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321" +checksum = "5f33878137e4dafd7fa914ad4e259e18a4e8e532b9617a2d0150262bf53abfce" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.71", ] [[package]] @@ -1114,20 +1163,20 @@ dependencies = [ [[package]] name = "displaydoc" -version = "0.2.4" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "487585f4d0c6655fe74905e2504d8ad6908e4db67f744eb140876906c2f3175d" +checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.71", ] [[package]] name = "document-features" -version = "0.2.8" +version = "0.2.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef5282ad69563b5fc40319526ba27e0e7363d552a896f0297d54f767717f9b95" +checksum = "cb6969eaabd2421f8a2775cfd2471a2b634372b4a25d41e3bd647b79912850a0" dependencies = [ "litrs", ] @@ -1144,9 +1193,9 @@ dependencies = [ [[package]] name = "either" -version = "1.11.0" +version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a47c1c47d2f5964e29c61246e81db715514cd532db6b5116a25ea3c03d6780a2" +checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0" [[package]] name = "encode_unicode" @@ -1172,7 +1221,7 @@ dependencies = [ "heck 0.4.1", "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.71", ] [[package]] @@ -1214,6 +1263,27 @@ dependencies = [ "windows-sys 0.52.0", ] +[[package]] +name = "event-listener" +version = "5.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6032be9bd27023a771701cc49f9f053c751055f71efb2e0ae5c15809093675ba" +dependencies = [ + "concurrent-queue", + "parking", + "pin-project-lite", +] + +[[package]] +name = "event-listener-strategy" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0f214dc438f977e6d4e3500aaa277f5ad94ca83fbbd9b1a15713ce2344ccc5a1" +dependencies = [ + "event-listener", + "pin-project-lite", +] + [[package]] name = "exr" version = "1.72.0" @@ -1315,7 +1385,7 @@ checksum = "1a5c6c585bc94aaf2c7b51dd4c2ba22680844aba4c687be581871a6f518c5742" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.71", ] [[package]] @@ -1381,17 +1451,6 @@ dependencies = [ "futures-util", ] -[[package]] -name = "futures-intrusive" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d930c203dd0b6ff06e0201a4a2fe9149b43c684fd4420555b26d21b1a02956f" -dependencies = [ - "futures-core", - "lock_api", - "parking_lot", -] - [[package]] name = "futures-io" version = "0.3.30" @@ -1406,7 +1465,7 @@ checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.71", ] [[package]] @@ -1598,15 +1657,15 @@ dependencies = [ [[package]] name = "gimli" -version = "0.28.1" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" +checksum = "40ecd4077b5ae9fd2e9e169b102c6c330d0605168eb0e8bf79952b256dbefffd" [[package]] name = "gix-features" -version = "0.38.1" +version = "0.38.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db4254037d20a247a0367aa79333750146a369719f0c6617fec4f5752cc62b37" +checksum = "ac7045ac9fe5f9c727f38799d002a7ed3583cd777e3322a7c4b43e3cf437dc69" dependencies = [ "gix-hash", "gix-trace", @@ -1616,10 +1675,11 @@ dependencies = [ [[package]] name = "gix-fs" -version = "0.10.2" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2184c40e7910529677831c8b481acf788ffd92427ed21fad65b6aa637e631b8" +checksum = "c3338ff92a2164f5209f185ec0cd316f571a72676bb01d27e22f2867ba69f77a" dependencies = [ + "fastrand", "gix-features", "gix-utils", ] @@ -1636,9 +1696,9 @@ dependencies = [ [[package]] name = "gix-tempfile" -version = "13.1.1" +version = "14.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a761d76594f4443b675e85928e4902dec333273836bd386906f01e7e346a0d11" +checksum = "d3b0e276cd08eb2a22e9f286a4f13a222a01be2defafa8621367515375644b99" dependencies = [ "dashmap", "gix-fs", @@ -1702,7 +1762,7 @@ version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0bf760ebf69878d9fd8f110c89703d90ce35095324d1f1edcb595c63945ee757" dependencies = [ - "bitflags 2.5.0", + "bitflags 2.6.0", "ignore", "walkdir", ] @@ -1734,7 +1794,7 @@ version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fbcd2dba93594b227a1f57ee09b8b9da8892c34d55aa332e034a228d0fe6a171" dependencies = [ - "bitflags 2.5.0", + "bitflags 2.6.0", "gpu-alloc-types", ] @@ -1744,7 +1804,7 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "98ff03b468aa837d70984d55f5d3f846f6ec31fe34bbb97c4f85219caeee1ca4" dependencies = [ - "bitflags 2.5.0", + "bitflags 2.6.0", ] [[package]] @@ -1766,7 +1826,7 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c08c1f623a8d0b722b8b99f821eb0ba672a1618f0d3b16ddbee1cedd2dd8557" dependencies = [ - "bitflags 2.5.0", + "bitflags 2.6.0", "gpu-descriptor-types", "hashbrown 0.14.5", ] @@ -1777,7 +1837,7 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fdf242682df893b86f33a73828fb09ca4b2d3bb6cc95249707fc684d27484b91" dependencies = [ - "bitflags 2.5.0", + "bitflags 2.6.0", ] [[package]] @@ -1794,15 +1854,15 @@ dependencies = [ [[package]] name = "h2" -version = "0.4.4" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "816ec7294445779408f36fe57bc5b7fc1cf59664059096c65f905c1c61f58069" +checksum = "fa82e28a107a8cc405f0839610bdc9b15f1e25ec7d696aa5cf173edbcb1486ab" dependencies = [ + "atomic-waker", "bytes", "fnv", "futures-core", "futures-sink", - "futures-util", "http", "indexmap", "slab", @@ -1861,10 +1921,10 @@ version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "af2a7e73e1f34c48da31fb668a907f250794837e08faa144fd24f0b8b741e890" dependencies = [ - "bitflags 2.5.0", + "bitflags 2.6.0", "com", "libc", - "libloading 0.8.3", + "libloading 0.8.4", "thiserror", "widestring", "winapi", @@ -1935,9 +1995,9 @@ dependencies = [ [[package]] name = "http-body" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1cac85db508abc24a2e48553ba12a996e87244a0395ce011e62b37158745d643" +checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184" dependencies = [ "bytes", "http", @@ -1945,12 +2005,12 @@ dependencies = [ [[package]] name = "http-body-util" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0475f8b2ac86659c21b64320d5d653f9efe42acd2a4e560073ec61a155a34f1d" +checksum = "793429d76616a256bcb62c2a2ec2bed781c8307e797e2598c50010f2bee2544f" dependencies = [ "bytes", - "futures-core", + "futures-util", "http", "http-body", "pin-project-lite", @@ -1958,9 +2018,9 @@ dependencies = [ [[package]] name = "httparse" -version = "1.8.0" +version = "1.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904" +checksum = "0fcc0b4a115bf80b728eb8ea024ad5bd707b615bfed49e0665b6e0f86fd082d9" [[package]] name = "humantime" @@ -1970,9 +2030,9 @@ checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" [[package]] name = "hyper" -version = "1.3.1" +version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe575dd17d0862a9a33781c8c4696a55c320909004a67a00fb286ba8b1bc496d" +checksum = "50dfd22e0e76d0f662d429a5f80fcaf3855009297eab6a0a9f8543834744ba05" dependencies = [ "bytes", "futures-channel", @@ -1988,6 +2048,23 @@ dependencies = [ "want", ] +[[package]] +name = "hyper-rustls" +version = "0.27.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ee4be2c948921a1a5320b629c4193916ed787a7f7f293fd3f7f5a6c9de74155" +dependencies = [ + "futures-util", + "http", + "hyper", + "hyper-util", + "rustls", + "rustls-pki-types", + "tokio", + "tokio-rustls", + "tower-service", +] + [[package]] name = "hyper-tls" version = "0.6.0" @@ -2006,9 +2083,9 @@ dependencies = [ [[package]] name = "hyper-util" -version = "0.1.3" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca38ef113da30126bbff9cd1705f9273e15d45498615d138b0c20279ac7a76aa" +checksum = "3ab92f4f49ee4fb4f997c784b7a2e0fa70050211e0b6a287f898c3c9785ca956" dependencies = [ "bytes", "futures-channel", @@ -2118,12 +2195,6 @@ dependencies = [ "unicode-width", ] -[[package]] -name = "indoc" -version = "2.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5" - [[package]] name = "inout" version = "0.1.3" @@ -2135,9 +2206,9 @@ dependencies = [ [[package]] name = "instant" -version = "0.1.12" +version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c" +checksum = "e0242819d153cba4b4b05a5a8f2a7e9bbf97b6055b2a002b395c96b5ff3c0222" dependencies = [ "cfg-if", ] @@ -2150,7 +2221,7 @@ checksum = "c34819042dc3d3971c46c2190835914dfbe0c3c13f61449b2997f4e9722dfa60" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.71", ] [[package]] @@ -2174,6 +2245,15 @@ dependencies = [ "either", ] +[[package]] +name = "itertools" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186" +dependencies = [ + "either", +] + [[package]] name = "itoa" version = "1.0.11" @@ -2217,7 +2297,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6aae1df220ece3c0ada96b8153459b67eebe9ae9212258bb0134ae60416fdf76" dependencies = [ "libc", - "libloading 0.8.3", + "libloading 0.8.4", "pkg-config", ] @@ -2229,9 +2309,9 @@ checksum = "e2db585e1d738fc771bf08a151420d3ed193d9d895a36df7f6f8a9456b911ddc" [[package]] name = "lazy_static" -version = "1.4.0" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" +checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" [[package]] name = "lebe" @@ -2241,9 +2321,9 @@ checksum = "03087c2bad5e1034e8cace5926dec053fb3790248370865f5117a7d0213354c8" [[package]] name = "libc" -version = "0.2.154" +version = "0.2.155" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae743338b92ff9146ce83992f766a31066a91a8c84a45e0e9f21e7cf6de6d346" +checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c" [[package]] name = "libfuzzer-sys" @@ -2268,12 +2348,12 @@ dependencies = [ [[package]] name = "libloading" -version = "0.8.3" +version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c2a198fb6b0eada2a8df47933734e6d35d350665a33a3593d7164fa52c75c19" +checksum = "e310b3a6b5907f99202fcdb4960ff45b93735d7c7d96b760fcff8db2dc0e103d" dependencies = [ "cfg-if", - "windows-targets 0.52.5", + "windows-targets 0.52.6", ] [[package]] @@ -2288,7 +2368,7 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d" dependencies = [ - "bitflags 2.5.0", + "bitflags 2.6.0", "libc", ] @@ -2305,9 +2385,9 @@ dependencies = [ [[package]] name = "linux-raw-sys" -version = "0.4.13" +version = "0.4.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c" +checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89" [[package]] name = "litrs" @@ -2327,9 +2407,9 @@ dependencies = [ [[package]] name = "log" -version = "0.4.21" +version = "0.4.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" +checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" [[package]] name = "loop9" @@ -2389,9 +2469,9 @@ checksum = "490cc448043f947bae3cbee9c203358d62dbee0db12107a74be5c30ccfd09771" [[package]] name = "memchr" -version = "2.7.2" +version = "2.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c8640c5d730cb13ebd907d8d04b52f55ac9a2eec55b440c8892f40d56c76c1d" +checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" [[package]] name = "memmap2" @@ -2409,7 +2489,7 @@ version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5637e166ea14be6063a3f8ba5ccb9a4159df7d8f6d61c02fc3d480b1f90dcfcb" dependencies = [ - "bitflags 2.5.0", + "bitflags 2.6.0", "block", "core-graphics-types", "foreign-types 0.5.0", @@ -2432,9 +2512,9 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" [[package]] name = "miniz_oxide" -version = "0.7.2" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d811f3e15f28568be3407c8e7fdb6514c1cda3cb30683f15b6a1a1dc4ea14a7" +checksum = "b8a240ddb74feaf34a79a7add65a741f3167852fba007066dcac1ca548d89c08" dependencies = [ "adler", "simd-adler32", @@ -2460,7 +2540,7 @@ checksum = "e536ae46fcab0876853bd4a632ede5df4b1c2527a58f6c5a4150fe86be858231" dependencies = [ "arrayvec", "bit-set", - "bitflags 2.5.0", + "bitflags 2.6.0", "codespan-reporting", "hexf-parse", "indexmap", @@ -2475,11 +2555,10 @@ dependencies = [ [[package]] name = "native-tls" -version = "0.2.11" +version = "0.2.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07226173c32f2926027b63cce4bcd8076c3552846cbe7925f3aaffeac0a3b92e" +checksum = "a8614eb2c83d59d1c8cc974dd3f920198647674a0a035e1af1fa58707e317466" dependencies = [ - "lazy_static", "libc", "log", "openssl", @@ -2557,9 +2636,9 @@ dependencies = [ [[package]] name = "num-bigint" -version = "0.4.5" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c165a9ab64cf766f73521c0dd2cfdff64f488b8f0b3e621face3462d3db536d7" +checksum = "a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9" dependencies = [ "num-integer", "num-traits", @@ -2589,7 +2668,7 @@ checksum = "ed3955f1a9c7c0c15e092f9c887db08b1fc683305fdf6eb6684f22555355e202" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.71", ] [[package]] @@ -2632,6 +2711,27 @@ dependencies = [ "libc", ] +[[package]] +name = "num_enum" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "02339744ee7253741199f897151b38e72257d13802d4ee837285cc2990a90845" +dependencies = [ + "num_enum_derive", +] + +[[package]] +name = "num_enum_derive" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "681030a937600a36906c185595136d26abfebb4aa9c65701cefcaf8578bb982b" +dependencies = [ + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 2.0.71", +] + [[package]] name = "num_threads" version = "0.1.7" @@ -2653,8 +2753,8 @@ version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0c9bff0aa1d48904a1385ea2a8b97576fbdcbc9a3cfccd0d31fe978e1c4038c5" dependencies = [ - "bitflags 2.5.0", - "libloading 0.8.3", + "bitflags 2.6.0", + "libloading 0.8.4", "nvml-wrapper-sys", "static_assertions", "thiserror", @@ -2667,7 +2767,7 @@ version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "698d45156f28781a4e79652b6ebe2eaa0589057d588d3aec1333f6466f13fcb5" dependencies = [ - "libloading 0.8.3", + "libloading 0.8.4", ] [[package]] @@ -2681,9 +2781,9 @@ dependencies = [ [[package]] name = "object" -version = "0.32.2" +version = "0.36.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441" +checksum = "081b846d1d56ddfc18fdf1a922e4f6e07a11768ea1b92dec44e42b72712ccfce" dependencies = [ "memchr", ] @@ -2700,7 +2800,7 @@ version = "0.10.64" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "95a0481286a310808298130d22dd1fef0fa571e05a8f44ec801801e84b216b1f" dependencies = [ - "bitflags 2.5.0", + "bitflags 2.6.0", "cfg-if", "foreign-types 0.3.2", "libc", @@ -2717,7 +2817,7 @@ checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.71", ] [[package]] @@ -2750,11 +2850,17 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" +[[package]] +name = "parking" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb813b8af86854136c6922af0598d719255ecb2179515e6e7730d468f05c9cae" + [[package]] name = "parking_lot" -version = "0.12.2" +version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e4af0ca4f6caed20e900d564c242b8e5d4903fdacf31d3daf527b66fe6f42fb" +checksum = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27" dependencies = [ "lock_api", "parking_lot_core", @@ -2770,7 +2876,7 @@ dependencies = [ "libc", "redox_syscall", "smallvec", - "windows-targets 0.52.5", + "windows-targets 0.52.6", ] [[package]] @@ -2825,7 +2931,7 @@ checksum = "2f38a4412a78282e09a2cf38d195ea5420d15ba0602cb375210efbc877243965" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.71", ] [[package]] @@ -2889,11 +2995,20 @@ version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e8cf8e6a8aa66ce33f63993ffc4ea4271eb5b0530a9002db8455ea6050c77bfa" +[[package]] +name = "proc-macro-crate" +version = "3.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d37c51ca738a55da99dc0c4a34860fd675453b8b36209178c2249bb13651284" +dependencies = [ + "toml_edit 0.21.1", +] + [[package]] name = "proc-macro2" -version = "1.0.82" +version = "1.0.86" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ad3d49ab951a01fbaafe34f2ec74122942fe18a3f9814c3268f1bb72042131b" +checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77" dependencies = [ "unicode-ident", ] @@ -2914,14 +3029,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8021cf59c8ec9c432cfc2526ac6b8aa508ecaf29cd415f271b8406c1b851c3fd" dependencies = [ "quote", - "syn 2.0.63", + "syn 2.0.71", ] [[package]] name = "pulp" -version = "0.18.12" +version = "0.18.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "140dfe6dada20716bd5f7284406747c73061a56a0a5d4ad5aee7957c5f71606c" +checksum = "0ec8d02258294f59e4e223b41ad7e81c874aa6b15bc4ced9ba3965826da0eed5" dependencies = [ "bytemuck", "libm", @@ -3023,22 +3138,22 @@ checksum = "9c8a99fddc9f0ba0a85884b8d14e3592853e787d581ca1816c91349b10e4eeab" [[package]] name = "ratatui" -version = "0.26.2" +version = "0.26.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a564a852040e82671dc50a37d88f3aa83bbc690dfc6844cfe7a2591620206a80" +checksum = "f44c9e68fd46eda15c646fbb85e1040b657a58cdc8c98db1d97a55930d991eef" dependencies = [ - "bitflags 2.5.0", + "bitflags 2.6.0", "cassowary", "compact_str", "crossterm", - "indoc", - "itertools", + "itertools 0.12.1", "lru", "paste", "stability", "strum", "time", "unicode-segmentation", + "unicode-truncate", "unicode-width", ] @@ -3056,7 +3171,7 @@ dependencies = [ "built", "cfg-if", "interpolate_name", - "itertools", + "itertools 0.12.1", "libc", "libfuzzer-sys", "log", @@ -3079,9 +3194,9 @@ dependencies = [ [[package]] name = "ravif" -version = "0.11.5" +version = "0.11.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc13288f5ab39e6d7c9d501759712e6969fcc9734220846fc9ed26cae2cc4234" +checksum = "c6ba61c28ba24c0cf8406e025cb29a742637e3f70776e61c27a8a8b72a042d12" dependencies = [ "avif-serialize", "imgref", @@ -3103,9 +3218,9 @@ dependencies = [ [[package]] name = "raw-window-handle" -version = "0.6.1" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8cc3bcbdb1ddfc11e700e62968e6b4cc9c75bb466464ad28fb61c5b2c964418b" +checksum = "20675572f6f24e9e76ef639bc5552774ed45f1c30e2951e1e99c59888861c539" [[package]] name = "rawpointer" @@ -3141,11 +3256,11 @@ checksum = "03251193000f4bd3b042892be858ee50e8b3719f2b08e5833ac4353724632430" [[package]] name = "redox_syscall" -version = "0.5.1" +version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "469052894dcb553421e483e4209ee581a45100d31b4018de03e5a7ad86374a7e" +checksum = "2a908a6e00f1fdd0dfd9c0eb08ce85126f6d8bbda50017e74bc4a4b7d4a926a4" dependencies = [ - "bitflags 2.5.0", + "bitflags 2.6.0", ] [[package]] @@ -3161,9 +3276,9 @@ dependencies = [ [[package]] name = "regex" -version = "1.10.4" +version = "1.10.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c117dbdfde9c8308975b6a18d71f3f385c89461f7b3fb054288ecf2a2058ba4c" +checksum = "b91213439dad192326a0d7c6ee3955910425f441d7038e0d6933b0aec5c4517f" dependencies = [ "aho-corasick", "memchr", @@ -3173,9 +3288,9 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.4.6" +version = "0.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86b83b8b9847f9bf95ef68afb0b8e6cdb80f498442f5179a29fad448fcc1eaea" +checksum = "38caf58cc5ef2fed281f89292ef23f6365465ed9a41b7a7754eb4e26496c92df" dependencies = [ "aho-corasick", "memchr", @@ -3184,9 +3299,9 @@ dependencies = [ [[package]] name = "regex-syntax" -version = "0.8.3" +version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56" +checksum = "7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b" [[package]] name = "relative-path" @@ -3202,9 +3317,9 @@ checksum = "19b30a45b0cd0bcca8037f3d0dc3421eaf95327a17cad11964fb8179b4fc4832" [[package]] name = "reqwest" -version = "0.12.4" +version = "0.12.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "566cafdd92868e0939d3fb961bd0dc25fcfaaed179291093b3d43e6b3150ea10" +checksum = "c7d6d2a27d57148378eb5e111173f4276ad26340ecc5c49a4a2152167a2d6a37" dependencies = [ "base64", "bytes", @@ -3217,6 +3332,7 @@ dependencies = [ "http-body", "http-body-util", "hyper", + "hyper-rustls", "hyper-tls", "hyper-util", "ipnet", @@ -3245,9 +3361,9 @@ dependencies = [ [[package]] name = "rgb" -version = "0.8.37" +version = "0.8.45" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05aaa8004b64fd573fc9d002f4e632d51ad4f026c2b5ba95fcb6c2f32c2c47d8" +checksum = "ade4539f42266ded9e755c605bdddf546242b2c961b03b06a7375260788a0523" dependencies = [ "bytemuck", ] @@ -3314,7 +3430,7 @@ dependencies = [ "regex", "relative-path", "rustc_version", - "syn 2.0.63", + "syn 2.0.71", "unicode-ident", ] @@ -3324,7 +3440,7 @@ version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b838eba278d213a8beaf485bd313fd580ca4505a00d5871caeb1457c55322cae" dependencies = [ - "bitflags 2.5.0", + "bitflags 2.6.0", "fallible-iterator", "fallible-streaming-iterator", "hashlink", @@ -3359,7 +3475,7 @@ version = "0.38.34" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730f" dependencies = [ - "bitflags 2.5.0", + "bitflags 2.6.0", "errno", "libc", "linux-raw-sys", @@ -3368,11 +3484,12 @@ dependencies = [ [[package]] name = "rustls" -version = "0.22.4" +version = "0.23.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf4ef73721ac7bcd79b2b315da7779d8fc09718c6b3d2d1b2d94850eb8c18432" +checksum = "4828ea528154ae444e5a642dbb7d5623354030dc9822b83fd9bb79683c7399d0" dependencies = [ "log", + "once_cell", "ring", "rustls-pki-types", "rustls-webpki", @@ -3398,9 +3515,9 @@ checksum = "976295e77ce332211c0d24d92c0e83e50f5c5f046d11082cea19f3df13a3562d" [[package]] name = "rustls-webpki" -version = "0.102.3" +version = "0.102.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3bce581c0dd41bce533ce695a1437fa16a7ab5ac3ccfa99fe1a620a7885eabf" +checksum = "f9a6fccd794a42c2c105b513a2f62bc3fd8f3ba57a4593677ceb0bd035164d78" dependencies = [ "ring", "rustls-pki-types", @@ -3484,11 +3601,11 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" [[package]] name = "security-framework" -version = "2.11.0" +version = "2.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c627723fd09706bacdb5cf41499e95098555af3c3c29d014dc3c458ef6be11c0" +checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02" dependencies = [ - "bitflags 2.5.0", + "bitflags 2.6.0", "core-foundation", "core-foundation-sys", "libc", @@ -3497,9 +3614,9 @@ dependencies = [ [[package]] name = "security-framework-sys" -version = "2.11.0" +version = "2.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "317936bbbd05227752583946b9e66d7ce3b489f84e11a94a510b4437fef407d7" +checksum = "75da29fe9b9b08fe9d6b22b5b4bcbc75d8db3aa31e639aa56bb62e9d46bfceaf" dependencies = [ "core-foundation-sys", "libc", @@ -3519,29 +3636,38 @@ checksum = "a3f0bf26fd526d2a95683cd0f87bf103b8539e2ca1ef48ce002d67aad59aa0b4" [[package]] name = "serde" -version = "1.0.202" +version = "1.0.204" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "226b61a0d411b2ba5ff6d7f73a476ac4f8bb900373459cd00fab8512828ba395" +checksum = "bc76f558e0cbb2a839d37354c575f1dc3fdc6546b5be373ba43d95f231bf7c12" dependencies = [ "serde_derive", ] +[[package]] +name = "serde_bytes" +version = "0.11.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "387cc504cb06bb40a96c8e04e951fe01854cf6bc921053c954e4a606d9675c6a" +dependencies = [ + "serde", +] + [[package]] name = "serde_derive" -version = "1.0.202" +version = "1.0.204" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6048858004bcff69094cd972ed40a32500f153bd3be9f716b2eed2e8217c4838" +checksum = "e0cd7e117be63d3c3678776753929474f3b04a43a080c744d6b0ae2a8c28e222" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.71", ] [[package]] name = "serde_json" -version = "1.0.117" +version = "1.0.120" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "455182ea6142b14f93f4bc5320a2b31c1f266b66a4a5c858b013302a5d8cbfc3" +checksum = "4e0d21c9a8cae1235ad58a00c11cb40d4b1e5c784f1ef2c537876ed6ffd8b7c5" dependencies = [ "itoa", "ryu", @@ -3704,17 +3830,17 @@ version = "0.3.0+sdk-1.3.268.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eda41003dc44290527a59b13432d4a0379379fa074b70174882adfbdfd917844" dependencies = [ - "bitflags 2.5.0", + "bitflags 2.6.0", ] [[package]] name = "stability" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2ff9eaf853dec4c8802325d8b6d3dffa86cc707fd7a1a4cdbf416e13b061787a" +checksum = "d904e7009df136af5297832a3ace3370cd14ff1546a232f4f185036c2736fcac" dependencies = [ "quote", - "syn 2.0.63", + "syn 2.0.71", ] [[package]] @@ -3737,31 +3863,31 @@ checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" [[package]] name = "strum" -version = "0.26.2" +version = "0.26.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d8cec3501a5194c432b2b7976db6b7d10ec95c253208b45f83f7136aa985e29" +checksum = "8fec0f0aef304996cf250b31b5a10dee7980c85da9d759361292b8bca5a18f06" dependencies = [ "strum_macros", ] [[package]] name = "strum_macros" -version = "0.26.2" +version = "0.26.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6cf59daf282c0a494ba14fd21610a0325f9f90ec9d1231dea26bcb1d696c946" +checksum = "4c6bee85a5a24955dc440386795aa378cd9cf82acd5f764469152d2270e581be" dependencies = [ - "heck 0.4.1", + "heck 0.5.0", "proc-macro2", "quote", "rustversion", - "syn 2.0.63", + "syn 2.0.71", ] [[package]] name = "subtle" -version = "2.5.0" +version = "2.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc" +checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" [[package]] name = "syn" @@ -3776,9 +3902,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.63" +version = "2.0.71" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf5be731623ca1a1fb7d8be6f261a3be6d3e2337b8a1f97be944d020c8fcb704" +checksum = "b146dcf730474b4bcd16c311627b31ede9ab149045db4d6088b3becaea046462" dependencies = [ "proc-macro2", "quote", @@ -3787,9 +3913,9 @@ dependencies = [ [[package]] name = "sync_wrapper" -version = "0.1.2" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160" +checksum = "a7065abeca94b6a8a577f9bd45aa0867a2238b74e8eb67cf10d492bc39351394" [[package]] name = "synstructure" @@ -3799,7 +3925,7 @@ checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.71", ] [[package]] @@ -3808,7 +3934,7 @@ version = "0.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec7dddc5f0fee506baf8b9fdb989e242f17e4b11c61dfbb0635b705217199eea" dependencies = [ - "bitflags 2.5.0", + "bitflags 2.6.0", "byteorder", "enum-as-inner", "libc", @@ -3818,9 +3944,9 @@ dependencies = [ [[package]] name = "sysinfo" -version = "0.30.12" +version = "0.30.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "732ffa00f53e6b2af46208fba5718d9662a421049204e156328b66791ffa15ae" +checksum = "0a5b4ddaee55fb2bea2bf0e5000747e5f5c0de765e5a5ff87f4cd106439f4bb3" dependencies = [ "cfg-if", "core-foundation-sys", @@ -3881,9 +4007,9 @@ dependencies = [ [[package]] name = "target-lexicon" -version = "0.12.14" +version = "0.12.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1fc403891a21bcfb7c37834ba66a547a8f402146eba7265b5a6d88059c9ff2f" +checksum = "4873307b7c257eddcb50c9bedf158eb669578359fb28428bef438fec8e6ba7c2" [[package]] name = "tch" @@ -3925,9 +4051,9 @@ dependencies = [ [[package]] name = "text_placeholder" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "512104f982ce6f50def5340f9d7d14cc21f7a859e9ccd251aa19d12e1345c070" +checksum = "dd5008f74a09742486ef0047596cf35df2b914e2a8dca5727fcb6ba6842a766b" dependencies = [ "hashbrown 0.13.2", "serde", @@ -3936,22 +4062,22 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.60" +version = "1.0.62" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "579e9083ca58dd9dcf91a9923bb9054071b9ebbd800b342194c9feb0ee89fc18" +checksum = "f2675633b1499176c2dff06b0856a27976a8f9d436737b4cf4f312d4d91d8bbb" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.60" +version = "1.0.62" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2470041c06ec3ac1ab38d0356a6119054dedaea53e12fbefc0de730a1c08524" +checksum = "d20468752b09f49e909e55a5d338caa8bedf615594e9d80bc4c565d30faf798c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.71", ] [[package]] @@ -4019,9 +4145,9 @@ dependencies = [ [[package]] name = "tinyvec" -version = "1.6.0" +version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" +checksum = "445e881f4f6d382d5f27c034e25eb92edd7c784ceab92a0937db7f2e9471b938" dependencies = [ "tinyvec_macros", ] @@ -4034,15 +4160,14 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.37.0" +version = "1.38.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1adbebffeca75fcfd058afa480fb6c0b81e165a0323f9c9d39c9697e37c46787" +checksum = "eb2caba9f80616f438e09748d5acda951967e1ea58508ef53d9c6402485a46df" dependencies = [ "backtrace", "bytes", "libc", "mio", - "num_cpus", "pin-project-lite", "socket2", "tokio-macros", @@ -4051,13 +4176,13 @@ dependencies = [ [[package]] name = "tokio-macros" -version = "2.2.0" +version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" +checksum = "5f5ae998a069d4b5aba8ee9dad856af7d520c3699e6159b185c2acd48155d39a" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.71", ] [[package]] @@ -4070,6 +4195,17 @@ dependencies = [ "tokio", ] +[[package]] +name = "tokio-rustls" +version = "0.26.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c7bc40d0e5a97695bb96e27995cd3a08538541b0a846f65bba7a359f36700d4" +dependencies = [ + "rustls", + "rustls-pki-types", + "tokio", +] + [[package]] name = "tokio-util" version = "0.7.11" @@ -4085,14 +4221,14 @@ dependencies = [ [[package]] name = "toml" -version = "0.8.13" +version = "0.8.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4e43f8cc456c9704c851ae29c67e17ef65d2c30017c17a9765b89c382dc8bba" +checksum = "6f49eb2ab21d2f26bd6db7bf383edc527a7ebaee412d17af4d40fdccd442f335" dependencies = [ "serde", "serde_spanned", "toml_datetime", - "toml_edit", + "toml_edit 0.22.15", ] [[package]] @@ -4106,15 +4242,26 @@ dependencies = [ [[package]] name = "toml_edit" -version = "0.22.13" +version = "0.21.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a8534fd7f78b5405e860340ad6575217ce99f38d4d5c8f2442cb5ecb50090e1" +dependencies = [ + "indexmap", + "toml_datetime", + "winnow 0.5.40", +] + +[[package]] +name = "toml_edit" +version = "0.22.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c127785850e8c20836d49732ae6abfa47616e60bf9d9f57c43c250361a9db96c" +checksum = "d59a3a72298453f564e2b111fa896f8d07fabb36f51f06d7e875fc5e0b5a3ef1" dependencies = [ "indexmap", "serde", "serde_spanned", "toml_datetime", - "winnow", + "winnow 0.6.13", ] [[package]] @@ -4145,7 +4292,6 @@ dependencies = [ "tokio", "tower-layer", "tower-service", - "tracing", ] [[package]] @@ -4173,7 +4319,6 @@ version = "0.1.40" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" dependencies = [ - "log", "pin-project-lite", "tracing-attributes", "tracing-core", @@ -4199,7 +4344,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.71", ] [[package]] @@ -4295,11 +4440,22 @@ version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d4c87d22b6e3f4a18d4d40ef354e97c90fcb14dd91d7dc0aa9d8a1172ebf7202" +[[package]] +name = "unicode-truncate" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b3644627a5af5fa321c95b9b235a72fd24cd29c648c2c379431e6628655627bf" +dependencies = [ + "itertools 0.13.0", + "unicode-segmentation", + "unicode-width", +] + [[package]] name = "unicode-width" -version = "0.1.12" +version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68f5e5f3158ecfd4b8ff6fe086db7c8467a2dfdac97fe420f2b7c4aa97af66d6" +checksum = "0336d538f7abc86d282a4189614dfaa90810dfc2c6f6427eaf88e16311dd225d" [[package]] name = "unicode-xid" @@ -4315,9 +4471,9 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" [[package]] name = "ureq" -version = "2.9.7" +version = "2.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d11a831e3c0b56e438a28308e7c810799e3c118417f342d30ecec080105395cd" +checksum = "72139d247e5f97a3eff96229a7ae85ead5328a39efe76f8bf5a06313d505b6ea" dependencies = [ "base64", "flate2", @@ -4325,7 +4481,6 @@ dependencies = [ "once_cell", "rustls", "rustls-pki-types", - "rustls-webpki", "serde", "serde_json", "url", @@ -4334,9 +4489,9 @@ dependencies = [ [[package]] name = "url" -version = "2.5.0" +version = "2.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31e6302e3bb753d46e83516cae55ae196fc0c309407cf11ab35cc51a4c2a4633" +checksum = "22784dbdf76fdde8af1aeda5622b546b422b6fc585325248a2bf9f5e41e94d6c" dependencies = [ "form_urlencoded", "idna", @@ -4351,15 +4506,15 @@ checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" [[package]] name = "utf8parse" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" +checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" [[package]] name = "uuid" -version = "1.8.0" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a183cf7feeba97b4dd1c0d46788634f6221d87fa961b305bed08c851829efcc0" +checksum = "81dfa00651efa65069b0b6b651f4aaa31ba9e3c3ce0137aaad053604ee7e0314" dependencies = [ "getrandom", "rand", @@ -4446,7 +4601,7 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.71", "wasm-bindgen-shared", ] @@ -4480,7 +4635,7 @@ checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.71", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -4513,9 +4668,9 @@ dependencies = [ [[package]] name = "webpki-roots" -version = "0.26.1" +version = "0.26.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3de34ae270483955a94f4b21bdaaeb83d508bb84a01435f393818edb0012009" +checksum = "bd7c23921eeb1713a4e851530e9b9756e4fb0e89978582942612524cf09f01cd" dependencies = [ "rustls-pki-types", ] @@ -4528,9 +4683,9 @@ checksum = "53a85b86a771b1c87058196170769dd264f66c0782acf1ae6cc51bfd64b39082" [[package]] name = "wgpu" -version = "0.20.0" +version = "0.20.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32ff1bfee408e1028e2e3acbf6d32d98b08a5a059ccbf5f33305534453ba5d3e" +checksum = "90e37c7b9921b75dfd26dd973fdcbce36f13dfa6e2dc82aece584e0ed48c355c" dependencies = [ "arrayvec", "cfg-if", @@ -4554,13 +4709,13 @@ dependencies = [ [[package]] name = "wgpu-core" -version = "0.20.0" +version = "0.21.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac6a86eaa5e763e59c73cf9e97d55fffd4dfda69fd8bda19589fcf851ddfef1f" +checksum = "d50819ab545b867d8a454d1d756b90cd5f15da1f2943334ca314af10583c9d39" dependencies = [ "arrayvec", "bit-vec", - "bitflags 2.5.0", + "bitflags 2.6.0", "cfg_aliases", "codespan-reporting", "document-features", @@ -4581,15 +4736,15 @@ dependencies = [ [[package]] name = "wgpu-hal" -version = "0.20.0" +version = "0.21.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d71c8ae05170583049b65ee562fd839fdc0b3e9ddb84f4e40c9d5f8ea0d4c8c" +checksum = "172e490a87295564f3fcc0f165798d87386f6231b04d4548bca458cbbfd63222" dependencies = [ "android_system_properties", "arrayvec", "ash", "bit-set", - "bitflags 2.5.0", + "bitflags 2.6.0", "block", "cfg_aliases", "core-graphics-types", @@ -4603,7 +4758,7 @@ dependencies = [ "js-sys", "khronos-egl", "libc", - "libloading 0.8.3", + "libloading 0.8.4", "log", "metal", "naga", @@ -4630,7 +4785,7 @@ version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1353d9a46bff7f955a680577f34c69122628cc2076e1d6f3a9be6ef00ae793ef" dependencies = [ - "bitflags 2.5.0", + "bitflags 2.6.0", "js-sys", "web-sys", ] @@ -4679,7 +4834,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e48a53791691ab099e5e2ad123536d0fff50652600abaf43bbf952894110d0be" dependencies = [ "windows-core", - "windows-targets 0.52.5", + "windows-targets 0.52.6", ] [[package]] @@ -4688,7 +4843,7 @@ version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" dependencies = [ - "windows-targets 0.52.5", + "windows-targets 0.52.6", ] [[package]] @@ -4706,7 +4861,7 @@ version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" dependencies = [ - "windows-targets 0.52.5", + "windows-targets 0.52.6", ] [[package]] @@ -4726,18 +4881,18 @@ dependencies = [ [[package]] name = "windows-targets" -version = "0.52.5" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f0713a46559409d202e70e28227288446bf7841d3211583a4b53e3f6d96e7eb" +checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" dependencies = [ - "windows_aarch64_gnullvm 0.52.5", - "windows_aarch64_msvc 0.52.5", - "windows_i686_gnu 0.52.5", + "windows_aarch64_gnullvm 0.52.6", + "windows_aarch64_msvc 0.52.6", + "windows_i686_gnu 0.52.6", "windows_i686_gnullvm", - "windows_i686_msvc 0.52.5", - "windows_x86_64_gnu 0.52.5", - "windows_x86_64_gnullvm 0.52.5", - "windows_x86_64_msvc 0.52.5", + "windows_i686_msvc 0.52.6", + "windows_x86_64_gnu 0.52.6", + "windows_x86_64_gnullvm 0.52.6", + "windows_x86_64_msvc 0.52.6", ] [[package]] @@ -4748,9 +4903,9 @@ checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" [[package]] name = "windows_aarch64_gnullvm" -version = "0.52.5" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7088eed71e8b8dda258ecc8bac5fb1153c5cffaf2578fc8ff5d61e23578d3263" +checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" [[package]] name = "windows_aarch64_msvc" @@ -4760,9 +4915,9 @@ checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" [[package]] name = "windows_aarch64_msvc" -version = "0.52.5" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9985fd1504e250c615ca5f281c3f7a6da76213ebd5ccc9561496568a2752afb6" +checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" [[package]] name = "windows_i686_gnu" @@ -4772,15 +4927,15 @@ checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" [[package]] name = "windows_i686_gnu" -version = "0.52.5" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88ba073cf16d5372720ec942a8ccbf61626074c6d4dd2e745299726ce8b89670" +checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" [[package]] name = "windows_i686_gnullvm" -version = "0.52.5" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87f4261229030a858f36b459e748ae97545d6f1ec60e5e0d6a3d32e0dc232ee9" +checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" [[package]] name = "windows_i686_msvc" @@ -4790,9 +4945,9 @@ checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" [[package]] name = "windows_i686_msvc" -version = "0.52.5" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db3c2bf3d13d5b658be73463284eaf12830ac9a26a90c717b7f771dfe97487bf" +checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" [[package]] name = "windows_x86_64_gnu" @@ -4802,9 +4957,9 @@ checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" [[package]] name = "windows_x86_64_gnu" -version = "0.52.5" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e4246f76bdeff09eb48875a0fd3e2af6aada79d409d33011886d3e1581517d9" +checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" [[package]] name = "windows_x86_64_gnullvm" @@ -4814,9 +4969,9 @@ checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" [[package]] name = "windows_x86_64_gnullvm" -version = "0.52.5" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "852298e482cd67c356ddd9570386e2862b5673c85bd5f88df9ab6802b334c596" +checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" [[package]] name = "windows_x86_64_msvc" @@ -4826,15 +4981,24 @@ checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" [[package]] name = "windows_x86_64_msvc" -version = "0.52.5" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bec47e5bfd1bff0eeaf6d8b485cc1074891a197ab4225d504cb7a1ab88b02bf0" +checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" [[package]] name = "winnow" -version = "0.6.8" +version = "0.5.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3c52e9c97a68071b23e836c9380edae937f17b9c4667bd021973efc689f618d" +checksum = "f593a95398737aeed53e489c785df13f3618e41dbcd6718c6addbf1395aa6876" +dependencies = [ + "memchr", +] + +[[package]] +name = "winnow" +version = "0.6.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59b5e5f6c299a3c7890b876a2a587f3115162487e704907d9b6cd29473052ba1" dependencies = [ "memchr", ] @@ -4858,7 +5022,7 @@ dependencies = [ "darling", "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.71", ] [[package]] @@ -4884,9 +5048,9 @@ dependencies = [ [[package]] name = "yoke" -version = "0.7.3" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65e71b2e4f287f467794c671e2b8f8a5f3716b3c829079a1c44740148eff07e4" +checksum = "6c5b1314b079b0930c31e3af543d8ee1757b1951ae1e1565ec704403a7240ca5" dependencies = [ "serde", "stable_deref_trait", @@ -4896,62 +5060,62 @@ dependencies = [ [[package]] name = "yoke-derive" -version = "0.7.3" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e6936f0cce458098a201c245a11bef556c6a0181129c7034d10d76d1ec3a2b8" +checksum = "28cc31741b18cb6f1d5ff12f5b7523e3d6eb0852bbbad19d73905511d9849b95" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.71", "synstructure", ] [[package]] name = "zerocopy" -version = "0.7.34" +version = "0.7.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae87e3fcd617500e5d106f0380cf7b77f3c6092aae37191433159dda23cfb087" +checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0" dependencies = [ "zerocopy-derive", ] [[package]] name = "zerocopy-derive" -version = "0.7.34" +version = "0.7.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15e934569e47891f7d9411f1a451d947a60e000ab3bd24fbb970f000387d1b3b" +checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.71", ] [[package]] name = "zerofrom" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "655b0814c5c0b19ade497851070c640773304939a6c0fd5f5fb43da0696d05b7" +checksum = "91ec111ce797d0e0784a1116d0ddcdbea84322cd79e5d5ad173daeba4f93ab55" dependencies = [ "zerofrom-derive", ] [[package]] name = "zerofrom-derive" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6a647510471d372f2e6c2e6b7219e44d8c574d24fdc11c610a61455782f18c3" +checksum = "0ea7b4a3637ea8669cedf0f1fd5c286a17f3de97b8dd5a70a6c167a1730e63a5" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.71", "synstructure", ] [[package]] name = "zeroize" -version = "1.7.0" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d" +checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde" [[package]] name = "zip" @@ -4975,15 +5139,16 @@ dependencies = [ [[package]] name = "zip" -version = "1.2.3" +version = "1.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c700ea425e148de30c29c580c1f9508b93ca57ad31c9f4e96b83c194c37a7a8f" +checksum = "9cc23c04387f4da0374be4533ad1208cbb091d5c11d070dfef13676ad6497164" dependencies = [ "arbitrary", "crc32fast", "crossbeam-utils", "displaydoc", "indexmap", + "num_enum", "thiserror", ] @@ -5008,9 +5173,9 @@ dependencies = [ [[package]] name = "zstd-sys" -version = "2.0.10+zstd.1.5.6" +version = "2.0.12+zstd.1.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c253a4914af5bafc8fa8c86ee400827e83cf6ec01195ec1f1ed8441bf00d65aa" +checksum = "0a4e40c320c3cb459d9a9ff6de98cff88f4751ee9275d140e2be94a2b74e4c13" dependencies = [ "cc", "pkg-config", diff --git a/Cargo.toml b/Cargo.toml index 40eb77a..eb0aa34 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,24 +18,24 @@ readme = "README.md" [workspace.dependencies] burn = { git = "https://github.com/tracel-ai/burn", branch = "main" } -anyhow = "1.0.81" -clap = { version = "4.5.4", features = ["derive"] } +anyhow = "1.0.86" +clap = { version = "4.5.9", features = ["derive"] } derive-new = { version = "0.6.0", default-features = false } -derive_more = { version = "0.99.17", features = ["display"], default-features = false } +derive_more = { version = "0.99.18", features = ["display"], default-features = false } dotenv = "0.15.0" env_logger = "0.11.3" -log = "0.4.21" +log = "0.4.22" rand = "0.8.5" rmp-serde = "1.3.0" rstest = "0.19.0" -serde = { version = "1.0.200", default-features = false, features = [ +serde = { version = "1.0.204", default-features = false, features = [ "derive", "alloc", ] } # alloc is for no_std, derive is needed -serde_json = "1.0.64" -strum = {version = "0.26.2", features = ["derive"]} -thiserror = "1.0.30" -reqwest = "0.12.4" +serde_json = "1.0.120" +strum = {version = "0.26.3", features = ["derive"]} +thiserror = "1.0.62" +reqwest = "0.12.5" [profile.dev] debug = 0 # Speed up compilation time and not necessary. From fc388854dc32ddd9bddf9dc450303c53c4799930 Mon Sep 17 00:00:00 2001 From: syl20bnr Date: Tue, 16 Jul 2024 14:28:55 -0400 Subject: [PATCH 4/4] Update guide example with last burn API --- examples/guide/src/data.rs | 12 +++++++++--- examples/guide/src/main.rs | 4 ++-- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/examples/guide/src/data.rs b/examples/guide/src/data.rs index dfe7c38..d38fa1f 100644 --- a/examples/guide/src/data.rs +++ b/examples/guide/src/data.rs @@ -1,6 +1,7 @@ use burn::{ data::{dataloader::batcher::Batcher, dataset::vision::MnistItem}, prelude::*, + tensor::TensorData, }; #[derive(Clone)] @@ -24,8 +25,8 @@ impl Batcher> for MnistBatcher { fn batch(&self, items: Vec) -> MnistBatch { let images = items .iter() - .map(|item| Data::::from(item.image)) - .map(|data| Tensor::::from_data(data.convert(), &self.device)) + .map(|item| TensorData::from(item.image)) + .map(|data| Tensor::::from_data(data.convert::(), &self.device)) .map(|tensor| tensor.reshape([1, 28, 28])) // normalize: make between [0,1] and make the mean = 0 and std = 1 // values mean=0.1307,std=0.3081 were copied from Pytorch Mist Example @@ -35,7 +36,12 @@ impl Batcher> for MnistBatcher { let targets = items .iter() - .map(|item| Tensor::::from_data([(item.label as i64).elem()], &self.device)) + .map(|item| { + Tensor::::from_data( + [(item.label as i64).elem::()], + &self.device, + ) + }) .collect(); let images = Tensor::cat(images, 0); diff --git a/examples/guide/src/main.rs b/examples/guide/src/main.rs index 85820a2..c9c6d93 100644 --- a/examples/guide/src/main.rs +++ b/examples/guide/src/main.rs @@ -7,13 +7,13 @@ mod training; use crate::{model::ModelConfig, training::TrainingConfig}; use burn::{ - backend::{wgpu::AutoGraphicsApi, Autodiff, Wgpu}, + backend::{Autodiff, Wgpu}, data::dataset::Dataset, optim::AdamConfig, }; fn main() { - type MyBackend = Wgpu; + type MyBackend = Wgpu; type MyAutodiffBackend = Autodiff; let args = Args::parse();