VectorCraft: An open-source, vector art tool written by scratch in pure Rust
refactor(affinity): replace model globs with explicit imports
Dylan M. Taylor951127f58540
diff --git a/crates/affinity/src/model/bounds.rs b/crates/affinity/src/model/bounds.rsindex 0a48193e2..7ef9fff0b 100644--- a/crates/affinity/src/model/bounds.rs+++ b/crates/affinity/src/model/bounds.rs@@ -1,5 +1,5 @@use super::read::MAX_TREE_DEPTH;-use super::*;+use super::{Affine, Kind, Node, ObjId, Point, Rect, Stream, Tag};/// The bounds of what visible `nodes` draw (control points of outlines, corners of images, frames/// and tables), in document pixels.diff --git a/crates/affinity/src/model/read.rs b/crates/affinity/src/model/read.rsindex 755e93745..daf5d778c 100644--- a/crates/affinity/src/model/read.rs+++ b/crates/affinity/src/model/read.rs@@ -1,5 +1,8 @@use super::bounds::{describe, is_container, mask_extent, nodes_bounds, pages, rect, tree_bounds, union};-use super::*;+use super::{+ Affine, Archive, BTreeMap, Blend, Document, Effect, Error, HashSet, Image, Kind, Limits, Node, ObjId, Paint, Path, Point, Rect, Spread, Stream,+ Tag, paint, stream,+};/// Largest embedded colour profile kept (real CMYK profiles are a few megabytes).const MAX_PROFILE_BYTES: usize = 32 << 20;