Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ rust-version = "1.77"

[features]
default = ["source"]
loader-freetype = ["freetype"]
loader-freetype = ["freetype-sys"]
loader-freetype-default = ["loader-freetype"]
source-fontconfig = ["yeslogic-fontconfig-sys"]
source-fontconfig-dlopen = ["yeslogic-fontconfig-sys/dlopen"]
Expand All @@ -28,10 +28,7 @@ libc = "0.2"
log = "0.4.4"
pathfinder_geometry = "0.5"
pathfinder_simd = "0.5.5"

[dependencies.freetype]
version = "0.7"
optional = true
freetype-sys = {version = "0.23", optional = true}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
freetype-sys = {version = "0.23", optional = true}
freetype-sys = { version = "0.23", optional = true }

Also this should be moved below float-ord = "0.3".


[dependencies.yeslogic-fontconfig-sys]
version = "6.0"
Expand All @@ -56,7 +53,7 @@ core-graphics = "0.23"
core-text = "20.1.0"

[target.'cfg(not(any(target_family = "windows", target_os = "macos", target_os = "ios")))'.dependencies]
freetype-sys = "0.20"
freetype-sys = "0.23"

[target.'cfg(not(any(target_family = "windows", target_os = "macos", target_os = "ios", target_arch = "wasm32", target_env = "ohos")))'.dependencies]
yeslogic-fontconfig-sys = "6.0"
Expand Down