Upgrade to the Rust 2024 edition (#2367)

* Update to rust 2024 edition

* Fixes

* Clean up imports

* Cargo fmt again

---------

Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
Dennis Kobert
2025-03-13 01:29:12 +01:00
committed by GitHub
parent 927d7dd9b2
commit beb1c6ae64
253 changed files with 980 additions and 1371 deletions

View File

@@ -1,5 +1,6 @@
use gpu_compiler_bin_wrapper::CompileRequest;
use graph_craft::{proto::ProtoNetwork, Type};
use graph_craft::Type;
use graph_craft::proto::ProtoNetwork;
use wgpu_executor::ShaderIO;
pub async fn compile(networks: Vec<ProtoNetwork>, inputs: Vec<Type>, outputs: Vec<Type>, io: ShaderIO) -> Result<Shader, reqwest::Error> {

View File

@@ -2,11 +2,10 @@ use gpu_compiler_bin_wrapper::CompileRequest;
use graph_craft::concrete;
use graph_craft::document::value::TaggedValue;
use graph_craft::document::*;
use graphene_core::raster::adjustments::BlendMode;
use graphene_core::Color;
use wgpu_executor::{ShaderIO, ShaderInput};
use graphene_core::raster::adjustments::BlendMode;
use std::time::Duration;
use wgpu_executor::{ShaderIO, ShaderInput};
fn main() {
let client = reqwest::blocking::Client::new();