| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- [package]
- name = "rquest"
- version = "0.1.0"
- description = "REST made easier."
- authors = ["you"]
- edition = "2021"
- # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
- [lib]
- # The `_lib` suffix may seem redundant but it is necessary
- # to make the lib name unique and wouldn't conflict with the bin name.
- # This seems to be only an issue on Windows, see https://github.com/rust-lang/cargo/issues/8519
- name = "rquest_lib"
- crate-type = ["staticlib", "cdylib", "rlib"]
- [build-dependencies]
- tauri-build = { version = "2", features = [] }
- [dependencies]
- # Tauri
- tauri = { version = "2", features = [] }
- tauri-plugin-opener = "2"
- tokio = { version = "1.44.1", features = ["macros"] }
- tokio-stream = "0.1.18"
- thiserror = "2.0.17"
- sqlx = { version = "0.8.6", features = ["sqlite", "runtime-tokio"] }
- mime = "0.3.17"
- nom = "8.0.0"
- serde = { version = "1.0.228", features = ["derive"] }
- serde_json = "1.0.145"
- serde_urlencoded = "0.7.1"
- roxmltree = "0.21.1"
- reqwest = { version = "0.12.15", features = [
- "multipart",
- "json",
- "charset",
- "stream",
- ] }
- tauri-plugin-log = "2"
- tauri-plugin-store = "2"
- base64 = "0.22.1"
- tauri-plugin-fs = "2"
- futures = "0.3.31"
- [profile.dev]
- incremental = true
- # rustflags = ["-Z", "threads=8"]
- [profile.release]
- codegen-units = 1 # Allows LLVM to perform better optimization.
- lto = true # Enables link-time-optimizations.
- opt-level = "s" # Prioritizes small binary size. Use `3` if you prefer speed.
- panic = "abort" # Higher performance by disabling panic handlers.
- strip = true # Ensures debug symbols are removed.
- # rustflags = ["-Z", "threads=8"]
- [target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
- tauri-plugin-global-shortcut = "2"
|