mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-26 06:28:11 +08:00
Migrate usage of the Hash trait for cache invalidation to the dedicated CacheHash trait (#4051)
* WIP start migrating usages of hash for cache invalidadion to dedicated trait * Finish migrating usages * Code review * Add comments clearifying the reasoning for using random ids in the VectorModification cach hash impl * Fix some remaining hash violations * Finish migration and fix compilation * Fix import ordering * Cleanup * Fix code review stuff --------- Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
co-authored by
Keavon Chambers
parent
7bb01c9651
commit
3d84e63ef9
Generated
+31
@@ -350,6 +350,7 @@ dependencies = [
|
||||
"core-types",
|
||||
"dyn-any",
|
||||
"glam",
|
||||
"graphene-hash",
|
||||
"node-macro",
|
||||
"raster-nodes",
|
||||
"raster-types",
|
||||
@@ -873,6 +874,7 @@ dependencies = [
|
||||
"ctor",
|
||||
"dyn-any",
|
||||
"glam",
|
||||
"graphene-hash",
|
||||
"image",
|
||||
"kurbo",
|
||||
"log",
|
||||
@@ -1916,6 +1918,7 @@ dependencies = [
|
||||
"graph-craft",
|
||||
"graphene-application-io",
|
||||
"graphene-core",
|
||||
"graphene-hash",
|
||||
"graphic-types",
|
||||
"iai-callgrind",
|
||||
"js-sys",
|
||||
@@ -1996,6 +1999,7 @@ dependencies = [
|
||||
"core-types",
|
||||
"dyn-any",
|
||||
"glam",
|
||||
"graphene-hash",
|
||||
"graphic-types",
|
||||
"log",
|
||||
"node-macro",
|
||||
@@ -2005,6 +2009,24 @@ dependencies = [
|
||||
"wasm-bindgen",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "graphene-hash"
|
||||
version = "0.0.0"
|
||||
dependencies = [
|
||||
"glam",
|
||||
"graphene-hash-derive",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "graphene-hash-derive"
|
||||
version = "0.0.0"
|
||||
dependencies = [
|
||||
"graphene-hash",
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"syn 2.0.106",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "graphene-std"
|
||||
version = "0.1.0"
|
||||
@@ -2065,6 +2087,7 @@ dependencies = [
|
||||
"core-types",
|
||||
"dyn-any",
|
||||
"glam",
|
||||
"graphene-hash",
|
||||
"node-macro",
|
||||
"raster-types",
|
||||
"serde",
|
||||
@@ -2182,6 +2205,7 @@ dependencies = [
|
||||
"futures",
|
||||
"glam",
|
||||
"graph-craft",
|
||||
"graphene-hash",
|
||||
"graphene-std",
|
||||
"graphite-proc-macros",
|
||||
"image",
|
||||
@@ -3296,6 +3320,7 @@ dependencies = [
|
||||
"core-types",
|
||||
"dyn-any",
|
||||
"glam",
|
||||
"graphene-hash",
|
||||
"half",
|
||||
"log",
|
||||
"node-macro",
|
||||
@@ -4316,6 +4341,7 @@ dependencies = [
|
||||
"fastnoise-lite",
|
||||
"futures",
|
||||
"glam",
|
||||
"graphene-hash",
|
||||
"image",
|
||||
"kurbo",
|
||||
"ndarray",
|
||||
@@ -4361,6 +4387,7 @@ dependencies = [
|
||||
"core-types",
|
||||
"dyn-any",
|
||||
"glam",
|
||||
"graphene-hash",
|
||||
"image",
|
||||
"node-macro",
|
||||
"serde",
|
||||
@@ -4501,6 +4528,7 @@ dependencies = [
|
||||
"core-types",
|
||||
"dyn-any",
|
||||
"glam",
|
||||
"graphene-hash",
|
||||
"graphic-types",
|
||||
"kurbo",
|
||||
"log",
|
||||
@@ -5513,6 +5541,7 @@ dependencies = [
|
||||
"dyn-any",
|
||||
"fancy-regex",
|
||||
"glam",
|
||||
"graphene-hash",
|
||||
"log",
|
||||
"node-macro",
|
||||
"parley",
|
||||
@@ -6157,6 +6186,7 @@ dependencies = [
|
||||
"futures",
|
||||
"glam",
|
||||
"graphene-core",
|
||||
"graphene-hash",
|
||||
"graphic-types",
|
||||
"kurbo",
|
||||
"log",
|
||||
@@ -6182,6 +6212,7 @@ dependencies = [
|
||||
"dyn-any",
|
||||
"fixedbitset",
|
||||
"glam",
|
||||
"graphene-hash",
|
||||
"kurbo",
|
||||
"log",
|
||||
"lyon_geom",
|
||||
|
||||
Reference in New Issue
Block a user