@@ -23,10 +23,14 @@ icu_properties = ["dep:icu_properties"]
23
23
unicode_script = [" dep:unicode-script" ]
24
24
# Enables support for system font backends
25
25
system = [
26
- " std" ,
27
- " dep:windows" , " dep:windows-core" ,
28
- " dep:objc2-core-foundation" , " dep:objc2-core-text" , " dep:objc2-foundation" ,
29
- " dep:fontconfig-cache-parser" , " dep:roxmltree" ,
26
+ " std" ,
27
+ " dep:windows" ,
28
+ " dep:windows-core" ,
29
+ " dep:objc2-core-foundation" ,
30
+ " dep:objc2-core-text" ,
31
+ " dep:objc2-foundation" ,
32
+ " dep:fontconfig-cache-parser" ,
33
+ " dep:roxmltree" ,
30
34
]
31
35
32
36
[dependencies ]
@@ -42,13 +46,27 @@ icu_locid = "1.5.0"
42
46
hashbrown = { workspace = true }
43
47
44
48
[target .'cfg(target_os = "windows")' .dependencies ]
45
- windows = { version = " 0.58.0" , features = [" implement" , " Win32_Graphics_DirectWrite" ], optional = true }
49
+ windows = { version = " 0.58.0" , features = [
50
+ " implement" ,
51
+ " Win32_Graphics_DirectWrite" ,
52
+ ], optional = true }
46
53
windows-core = { version = " 0.58" , optional = true }
47
54
48
55
[target .'cfg(target_vendor = "apple")' .dependencies ]
49
- objc2-foundation = { version = " 0.3.0" , optional = true , default-features = false , features = [" alloc" , " NSArray" , " NSEnumerator" , " NSPathUtilities" , " NSString" ] }
50
- objc2-core-foundation = { version = " 0.3.0" , optional = true , default-features = false , features = [" CFBase" ] }
51
- objc2-core-text = { version = " 0.3.0" , optional = true , default-features = false , features = [" CTFont" , " CTFontDescriptor" ] }
56
+ objc2-foundation = { version = " 0.3.0" , optional = true , default-features = false , features = [
57
+ " alloc" ,
58
+ " NSArray" ,
59
+ " NSEnumerator" ,
60
+ " NSPathUtilities" ,
61
+ " NSString" ,
62
+ ] }
63
+ objc2-core-foundation = { version = " 0.3.0" , optional = true , default-features = false , features = [
64
+ " CFBase" ,
65
+ ] }
66
+ objc2-core-text = { version = " 0.3.0" , optional = true , default-features = false , features = [
67
+ " CTFont" ,
68
+ " CTFontDescriptor" ,
69
+ ] }
52
70
53
71
[target .'cfg(target_os = "linux")' .dependencies ]
54
72
fontconfig-cache-parser = { version = " 0.2.0" , optional = true }
0 commit comments