From ba840f25a6af69007f0d4189fb94e6c3c4b58ae1 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 799ecee..da76ed8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,7 +14,7 @@ readme = "README.md" [features] default = ["scale", "render"] -scale = ["dep:yazi", "dep:zeno"] +scale = ["dep:yazi", "dep:zeno", "zeno/std"] render = ["scale", "zeno/eval"] [lints] @@ -22,6 +22,6 @@ clippy.doc_markdown = "warn" clippy.semicolon_if_nothing_returned = "warn" [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.22.3" } diff --git a/src/scale/mod.rs b/src/scale/mod.rs index ffb6ce7..6853f03 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;