diff --git a/node-graph/interpreted-executor/src/node_registry.rs b/node-graph/interpreted-executor/src/node_registry.rs index 8441a696ab..a897b6595c 100644 --- a/node-graph/interpreted-executor/src/node_registry.rs +++ b/node-graph/interpreted-executor/src/node_registry.rs @@ -1,6 +1,4 @@ use glam::{DAffine2, DVec2, IVec2}; -use graph_craft::application_io::PlatformEditorApi; -use graph_craft::document::value::RenderOutput; use graphene_std::gradient::GradientStops; use graphene_std::list::{AttributeDyn, AttributeValueDyn, List, ListDyn}; #[cfg(target_family = "wasm")] @@ -10,13 +8,10 @@ use graphene_std::raster::GPU; use graphene_std::raster::color::Color; use graphene_std::raster::*; use graphene_std::raster::{CPU, Raster}; -use graphene_std::registry::{ConstructionError, EdgeHandle, ErasedNode, NodeIOTypes, RegistryEntry}; -use graphene_std::render_node::RenderIntermediate; -use graphene_std::runtime::RuntimeHandle; -use graphene_std::transform::Footprint; +use graphene_std::registry::{ConstructionError, EdgeHandle, NodeIOTypes, RegistryEntry}; use graphene_std::uuid::NodeId; use graphene_std::vector::Vector; -use graphene_std::{Artboard, Context, Graphic, ProtoNodeIdentifier, SourceId, concrete, fn_type}; +use graphene_std::{Artboard, Context, Graphic, ProtoNodeIdentifier, concrete}; use node_registry_macros::{convert_node, into_node}; use std::collections::HashMap; #[cfg(feature = "gpu")] diff --git a/node-graph/libraries/core-types/src/runtime.rs b/node-graph/libraries/core-types/src/runtime.rs index d65cf0024a..be2e052012 100644 --- a/node-graph/libraries/core-types/src/runtime.rs +++ b/node-graph/libraries/core-types/src/runtime.rs @@ -168,7 +168,7 @@ impl Runtime for GraphRuntime { mod tests { use super::*; use crate::arena::Arena; - use crate::context::{ContextImpl, Ctx, CtxSnapshot, EvalScope, ExtractFootprint, ExtractVarArgs, VarArgLink, VarArgSlots}; + use crate::context::{ContextImpl, Ctx, EvalScope, ExtractFootprint, ExtractVarArgs, VarArgLink, VarArgSlots}; use crate::gpoll::GPoll; use crate::node::Node; use crate::record::{Layout, RecordExtract, RecordLift, element_write, stack}; diff --git a/node-graph/nodes/gcore/src/context_modification.rs b/node-graph/nodes/gcore/src/context_modification.rs index 027ce82abd..ef62f277e2 100644 --- a/node-graph/nodes/gcore/src/context_modification.rs +++ b/node-graph/nodes/gcore/src/context_modification.rs @@ -1,4 +1,4 @@ -use core_types::context::{Context, ContextModification, Ctx, DeriveCtx}; +use core_types::context::{ContextModification, Ctx, DeriveCtx}; use core_types::gpoll::Interrupt; /// Filters out what should be unused components of the context based on the specified requirements. diff --git a/node-graph/nodes/gcore/src/memo.rs b/node-graph/nodes/gcore/src/memo.rs index ed3d698609..facb096a6d 100644 --- a/node-graph/nodes/gcore/src/memo.rs +++ b/node-graph/nodes/gcore/src/memo.rs @@ -1,11 +1,10 @@ use core_types::arena::ArenaCell; -use core_types::context::{Ctx, CtxSnapshot, DeriveCtx, ExtractAll, ExtractArena}; +use core_types::context::{Ctx, CtxSnapshot, DeriveCtx, ExtractAll}; use core_types::extent::{ExtentIn, LevelIn}; use core_types::frame_table::{FrameTable, Lookup}; use core_types::gpoll::{Extent, Finality, GPoll}; use core_types::graphene_hash::CacheHash; use core_types::memo::IORecord; -use core_types::node::Node; use core_types::record::{OwnedRecord, RecordCapture, RecordValue, copy_record_bytes, record_from_bytes}; use core_types::registry::cache_key; use std::sync::Arc; @@ -125,7 +124,8 @@ mod tests { use core_types::SourceId; use core_types::arena::Arena; use core_types::context::{ContextImpl, EvalScope}; - use core_types::registry::{EdgeHandle, ErasedNode, ErasedRecordNode}; + use core_types::node::Node; + use core_types::registry::{EdgeHandle, ErasedRecordNode}; use std::sync::atomic::{AtomicU32, Ordering}; struct CountingNode(AtomicU32); diff --git a/node-graph/nodes/raster/src/std_nodes.rs b/node-graph/nodes/raster/src/std_nodes.rs index 3556b2ef26..daee1a9a66 100644 --- a/node-graph/nodes/raster/src/std_nodes.rs +++ b/node-graph/nodes/raster/src/std_nodes.rs @@ -16,7 +16,6 @@ use raster_types::Image; use raster_types::{Bitmap, BitmapMut}; use raster_types::{CPU, Raster}; use std::fmt::Debug; -use std::hash::Hash; #[derive(Debug, DynAny)] pub enum Error {