From e72278b232989659aaa01a92264bd775df2b7708 Mon Sep 17 00:00:00 2001 From: John Vandenberg Date: Thu, 4 Jul 2024 10:06:17 +0800 Subject: [PATCH] Use font-config-sys 6.0 --- Cargo.toml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 351abf7..26773b6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "font-kit" -version = "0.13.2" +version = "0.14.0" authors = ["Patrick Walton "] description = "A cross-platform font loading library" license = "MIT OR Apache-2.0" @@ -9,6 +9,7 @@ repository = "https://github.com/servo/font-kit" homepage = "https://github.com/servo/font-kit" exclude = ["resources/**"] edition = "2018" +rust-version = "1.77" [features] default = ["source"] @@ -34,7 +35,7 @@ version = "0.7" optional = true [dependencies.yeslogic-fontconfig-sys] -version = "5.0" +version = "6.0" optional = true [dev-dependencies] @@ -59,7 +60,7 @@ core-text = "20.1.0" freetype-sys = "0.20" [target.'cfg(not(any(target_family = "windows", target_os = "macos", target_os = "ios", target_arch = "wasm32", target_env = "ohos")))'.dependencies] -yeslogic-fontconfig-sys = "5.0" +yeslogic-fontconfig-sys = "6.0" [target.'cfg(not(any(target_arch = "wasm32", target_family = "windows", target_os = "android", target_env = "ohos")))'.dependencies] dirs-next = "2.0"