翻译模块
This commit is contained in:
+16
-1
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "thing"
|
||||
version = "26.9.2"
|
||||
version = "26.9.3"
|
||||
description = "A Tauri App"
|
||||
authors = ["you"]
|
||||
edition = "2021"
|
||||
@@ -24,6 +24,9 @@ tauri-plugin-dialog = "2"
|
||||
tauri-plugin-snap-layout = "1"
|
||||
tauri-plugin-global-shortcut = "2"
|
||||
tauri-plugin-notification = "2"
|
||||
# 翻译引擎抽象:TranslateEngine 需要 Box<dyn> 动态分派(多源在运行期决定),
|
||||
# 原生 async fn in trait 在 dyn 场景下不可用
|
||||
async-trait = "0.1"
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
regex = "1"
|
||||
@@ -94,6 +97,18 @@ windows = { version = "0.52", features = [
|
||||
"Win32_System_Variant",
|
||||
"Win32_UI_Shell",
|
||||
"Win32_UI_WindowsAndMessaging",
|
||||
# 翻译模块:Windows.Media.Ocr 本地识别(WinRT)
|
||||
# Foundation_Collections:OcrResult.Lines / OcrEngine.AvailableRecognizerLanguages 返回 IVectorView
|
||||
# Security_Cryptography:用 CryptographicBuffer 从内存字节构造 IBuffer(不落盘)
|
||||
"Foundation",
|
||||
"Foundation_Collections",
|
||||
"Globalization",
|
||||
"Graphics_Imaging",
|
||||
"Media_Ocr",
|
||||
"Security_Cryptography",
|
||||
# 划词取词的智能路径:UIA 直读焦点元素选区(IUIAutomation / ITextProvider)
|
||||
"Win32_UI_Accessibility",
|
||||
"Storage_Streams",
|
||||
# HDR 鬮ォ・エ繝サ・ス繝サ縺、ツ鬮ョ雜」・ス・ャ髯キ闌ィ・ス・キ郢晢スサ繝サ・シ髯橸ス「繝サ・ス髫カツ繝サ・「鬮」蛹・スス・ウ郢晢スサ繝サ・セ DXGI 鬯ョ・エ陞ウ謖会スァ驛「譎「・ス・サ髮趣スシ繝サ・カ郢晢スサ繝サ・イ鬮ッ貅キ遘√・・ス繝サ・ゥ鬯ゥ蛹・スス・ィ郢晢スサ繝サ・コ鬯ッ・ョ繝サ・」郢晢スサ繝サ・エ驛「譎「・ス・サ驛「譎「・ス・サdvanced color 鬮ォ・エ鬲・シ夲スス・ス繝サ・カ鬯ョ・エ陞ウ謖会スァ驛「譎「・ス・サ G2084/PQ 鬯ゥ蛹・スス・ィ郢晢スサ繝サ・コ鬯ッ・ョ繝サ・」郢晢スサ繝サ・エ驛「譎「・ス・サ驛「譎「・ス・サ "Win32_Graphics_Dxgi",
|
||||
"Win32_Graphics_Dxgi_Common",
|
||||
"Win32_Graphics_Gdi",
|
||||
|
||||
Reference in New Issue
Block a user