From c23be6b4130e671ce3baabc8dac09498a84b599e Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Mon, 9 Sep 2024 08:13:13 +0700 Subject: [PATCH] deps: Update `yazi` and `zeno` to current --- Cargo.toml | 6 +++--- src/scale/mod.rs | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 6a23af1..0ea436a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,10 +14,10 @@ readme = "README.md" [features] default = ["scale", "render"] -scale = ["dep:yazi", "dep:zeno"] +scale = ["dep:yazi", "dep:zeno", "zeno/std"] render = ["scale", "zeno/eval"] [dependencies] -yazi = { version = "0.1.6", optional = true } -zeno = { version = "0.2.2", optional = true, default-features = false } +yazi = { version = "0.2.0", optional = true } +zeno = { version = "0.3.1", optional = true, default-features = false } skrifa = { version = "0.20.0" } diff --git a/src/scale/mod.rs b/src/scale/mod.rs index e022ea6..df6d7b2 100644 --- a/src/scale/mod.rs +++ b/src/scale/mod.rs @@ -234,9 +234,9 @@ use super::internal; use super::{cache::FontCache, setting::Setting, FontRef, GlyphId, NormalizedCoord}; use core::borrow::Borrow; use proxy::*; +use zeno::Placement; #[cfg(feature = "render")] -use zeno::{Format, Mask, Origin, Scratch, Style, Transform, Vector}; -use zeno::{Placement, Point}; +use zeno::{Format, Mask, Origin, Point, Scratch, Style, Transform, Vector}; pub(crate) use bitmap::decode_png;