Drop stale imports left behind by the record-wire port

This commit is contained in:
Dennis Kobert
2026-08-17 10:28:29 +00:00
parent 0c49026c9a
commit ae7c51a964
5 changed files with 7 additions and 13 deletions
@@ -1,6 +1,4 @@
use glam::{DAffine2, DVec2, IVec2}; 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::gradient::GradientStops;
use graphene_std::list::{AttributeDyn, AttributeValueDyn, List, ListDyn}; use graphene_std::list::{AttributeDyn, AttributeValueDyn, List, ListDyn};
#[cfg(target_family = "wasm")] #[cfg(target_family = "wasm")]
@@ -10,13 +8,10 @@ use graphene_std::raster::GPU;
use graphene_std::raster::color::Color; use graphene_std::raster::color::Color;
use graphene_std::raster::*; use graphene_std::raster::*;
use graphene_std::raster::{CPU, Raster}; use graphene_std::raster::{CPU, Raster};
use graphene_std::registry::{ConstructionError, EdgeHandle, ErasedNode, NodeIOTypes, RegistryEntry}; use graphene_std::registry::{ConstructionError, EdgeHandle, NodeIOTypes, RegistryEntry};
use graphene_std::render_node::RenderIntermediate;
use graphene_std::runtime::RuntimeHandle;
use graphene_std::transform::Footprint;
use graphene_std::uuid::NodeId; use graphene_std::uuid::NodeId;
use graphene_std::vector::Vector; 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 node_registry_macros::{convert_node, into_node};
use std::collections::HashMap; use std::collections::HashMap;
#[cfg(feature = "gpu")] #[cfg(feature = "gpu")]
@@ -168,7 +168,7 @@ impl<S: Spawner> Runtime for GraphRuntime<S> {
mod tests { mod tests {
use super::*; use super::*;
use crate::arena::Arena; 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::gpoll::GPoll;
use crate::node::Node; use crate::node::Node;
use crate::record::{Layout, RecordExtract, RecordLift, element_write, stack}; use crate::record::{Layout, RecordExtract, RecordLift, element_write, stack};
@@ -1,4 +1,4 @@
use core_types::context::{Context, ContextModification, Ctx, DeriveCtx}; use core_types::context::{ContextModification, Ctx, DeriveCtx};
use core_types::gpoll::Interrupt; use core_types::gpoll::Interrupt;
/// Filters out what should be unused components of the context based on the specified requirements. /// Filters out what should be unused components of the context based on the specified requirements.
+3 -3
View File
@@ -1,11 +1,10 @@
use core_types::arena::ArenaCell; 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::extent::{ExtentIn, LevelIn};
use core_types::frame_table::{FrameTable, Lookup}; use core_types::frame_table::{FrameTable, Lookup};
use core_types::gpoll::{Extent, Finality, GPoll}; use core_types::gpoll::{Extent, Finality, GPoll};
use core_types::graphene_hash::CacheHash; use core_types::graphene_hash::CacheHash;
use core_types::memo::IORecord; 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::record::{OwnedRecord, RecordCapture, RecordValue, copy_record_bytes, record_from_bytes};
use core_types::registry::cache_key; use core_types::registry::cache_key;
use std::sync::Arc; use std::sync::Arc;
@@ -125,7 +124,8 @@ mod tests {
use core_types::SourceId; use core_types::SourceId;
use core_types::arena::Arena; use core_types::arena::Arena;
use core_types::context::{ContextImpl, EvalScope}; 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}; use std::sync::atomic::{AtomicU32, Ordering};
struct CountingNode(AtomicU32); struct CountingNode(AtomicU32);
-1
View File
@@ -16,7 +16,6 @@ use raster_types::Image;
use raster_types::{Bitmap, BitmapMut}; use raster_types::{Bitmap, BitmapMut};
use raster_types::{CPU, Raster}; use raster_types::{CPU, Raster};
use std::fmt::Debug; use std::fmt::Debug;
use std::hash::Hash;
#[derive(Debug, DynAny)] #[derive(Debug, DynAny)]
pub enum Error { pub enum Error {