@@ -85,6 +85,7 @@ infer = { version = "0.9", optional = true }
85
85
png = { version = " 0.17" , optional = true }
86
86
ico = { version = " 0.2.0" , optional = true }
87
87
encoding_rs = " 0.8.31"
88
+ sys-locale = { version = " 0.2.3" , optional = true }
88
89
89
90
[target ."cfg(any(target_os = \"macos\", windows, target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))" .dependencies ]
90
91
rfd = { version = " 0.10" , optional = true , features = [ " gtk3" , " common-controls-v6" ] }
@@ -142,6 +143,7 @@ updater = [
142
143
]
143
144
http-api = [ " attohttpc" ]
144
145
http-multipart = [ " attohttpc/multipart-form" , " reqwest/multipart" ]
146
+ os-api = [ " sys-locale" ]
145
147
shell-open-api = [ " open" , " regex" , " tauri-macros/shell-scope" ]
146
148
fs-extract-api = [ " zip" ]
147
149
reqwest-client = [ " reqwest" , " bytes" ]
@@ -213,7 +215,7 @@ global-shortcut-all = [ "global-shortcut" ]
213
215
http-all = [ " http-request" ]
214
216
http-request = [ " http-api" ]
215
217
notification-all = [ " notification" , " dialog-ask" ]
216
- os-all = [ " os_info" ]
218
+ os-all = [ " os_info" , " os-api " ]
217
219
path-all = [ ]
218
220
process-all = [ " process-relaunch" , " process-exit" ]
219
221
process-exit = [ ]
0 commit comments