Skip to content

Commit

Permalink
chore: napi and ctor update (#1001)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brooooooklyn authored Feb 22, 2025
1 parent 0d21e72 commit 4586bc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const DEFAULT_JPEG_QUALITY: u8 = 92;
// https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/platform/image-encoders/image_encoder.cc;l=100;drc=81c6f843fdfd8ef660d733289a7a32abe68e247a
const DEFAULT_WEBP_QUALITY: u8 = 80;

#[napi::module_init]
#[napi_derive::module_init]
fn init() {
// pre init font regexp
FONT_REGEXP.get_or_init(init_font_regexp);
Expand Down

0 comments on commit 4586bc7

Please sign in to comment.