Skip to content

Commit

Permalink
Merge pull request #61 from waywardmonkeys/update-non-fontation-deps
Browse files Browse the repository at this point in the history
deps: Update `yazi` and `zeno` to current
  • Loading branch information
dfrg authored Nov 6, 2024
2 parents 648e0cf + ba840f2 commit bb8c583
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ readme = "README.md"
[features]
default = ["scale", "render"]

scale = ["dep:yazi", "dep:zeno"]
scale = ["dep:yazi", "dep:zeno", "zeno/std"]
render = ["scale", "zeno/eval"]

[lints]
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" }
4 changes: 2 additions & 2 deletions src/scale/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit bb8c583

Please sign in to comment.