mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-16 23:08:05 +08:00
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:
@@ -1,7 +1,7 @@
|
||||
[package]
|
||||
name = "compilation-client"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
edition = "2024"
|
||||
license = "MIT OR Apache-2.0"
|
||||
|
||||
[dependencies]
|
||||
|
||||
@@ -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> {
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user