[package] name = "rust" version = "0.1.0" edition = "2021" [profile.release] opt-level = 3 lto = true codegen-units = 1 debug = false strip = "debuginfo" [lib] crate-type = ["cdylib", "staticlib"] [dependencies] flutter_rust_bridge = "=2.11.1" tokio = { version = "1.48.0", features = ["rt", "rt-multi-thread", "macros", "process", "sync"] } futures = { version = "0.3.31", default-features = false, features = ["executor"] } url = "2.5.7" once_cell = "1.21.3" reqwest = { version = "0.12.24", features = ["rustls-tls-webpki-roots", "cookies", "gzip", "json", "stream"] } hickory-resolver = { version = "0.25.2" } anyhow = "1.0.100" scopeguard = "1.0" notify-rust = "4.11.7" asar = "0.3.0" walkdir = "2.5.0" ort = { version = "2.0.0-rc.10", features = ["xnnpack", "download-binaries", "ndarray"] } tokenizers = { version = "0.22.2", default-features = false, features = ["onig"] } ndarray = "0.17.1" serde_json = "1.0.145" serde = { version = "1.0.228", features = ["derive"] } #unp4k_rs = { git = "https://github.com/StarCitizenToolBox/unp4k_rs", rev = "5553c64b035e54610d9d1c758bae5c24d3161dde" } unp4k_rs = { path = "../../unp4k_rs" } uuid = { version = "1.19.0", features = ["v4"] } parking_lot = "0.12.5" crossbeam-channel = "0.5.15" librqbit = { git = "https://github.com/StarCitizenToolBox/rqbit", rev = "f8c0b0927904e1d8b0e28e708bd69fd8069d413a" } bytes = "1.10" # WebView [target.'cfg(not(target_os = "macos"))'.dependencies] wry = "0.53.5" tao = { version = "0.34.5", features = ["serde"] } image = { version = "0.25.9", default-features = false, features = ["ico"] } [target.'cfg(windows)'.dependencies] windows = { version = "0.62.2", features = [ "Win32_UI_WindowsAndMessaging", "Win32_System_Diagnostics_ToolHelp", "Win32_System_Threading", "Win32_Foundation", "Win32_System_SystemInformation", "Win32_System_Registry", "Win32_Storage_FileSystem", "Win32_UI_Shell", "Win32_System_Com", "Win32_System_Ole", "Win32_System_Variant", "Win32_Security", "Win32_System_IO", "Win32_System_Ioctl" ] } win32job = "2.0.3" wmi = "0.18" [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(frb_expand)'] }