mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-24 03:04:36 +03:00
e1e85dc2a5
* chore: fix ci and cleanup leftovers
1. removed leftover feature flags
2. remove zip/extract apis which are not used anymore
3. removed leftoever scopes
4. removed leftover allowlist and updater options
5. updated the example api
* remove leftover updater structs
* move updater under bundle and remove uneeded options
* fix cli on linux
* remove create_proxy
* clippy
* more clippy
* clippppy
* readd path api
* fix api example
* remove window allowlist
* remove window from allowlist config
* remove `all` allowlist option
* remove file_move
* lint
* fix windows build
* remvoe unused deps
* remvoe allowlist config option, move protocol to `security > asset_protocol`
* fix diffing features
* fmt and test
* fix scope alias
* change files
* android lint
* simplify allow_file impl
* Revert "simplify allow_file impl"
This reverts commit b8882f2fd0
.
* expose scopes
* remove unused error variants
* protocol-asset on docs.rs
* ignore reqwest on udeps
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
59 lines
1.6 KiB
TOML
59 lines
1.6 KiB
TOML
[package]
|
|
name = "api"
|
|
version = "0.1.0"
|
|
description = "An example Tauri Application showcasing the api"
|
|
edition = "2021"
|
|
rust-version = "1.65"
|
|
license = "Apache-2.0 OR MIT"
|
|
|
|
[lib]
|
|
name = "api_lib"
|
|
crate-type = ["staticlib", "cdylib", "rlib"]
|
|
|
|
[build-dependencies]
|
|
tauri-build = { path = "../../../core/tauri-build", features = ["codegen", "isolation"] }
|
|
|
|
[dependencies]
|
|
serde_json = "1.0"
|
|
serde = { version = "1.0", features = [ "derive" ] }
|
|
tiny_http = "0.11"
|
|
log = "0.4"
|
|
tauri-plugin-log = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "next" }
|
|
tauri-plugin-sample = { path = "./tauri-plugin-sample/" }
|
|
|
|
[target."cfg(any(target_os = \"macos\", windows, target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies]
|
|
tauri-plugin-cli = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "next" }
|
|
|
|
[patch.crates-io]
|
|
tauri = { path = "../../../core/tauri" }
|
|
tauri-build = { path = "../../../core/tauri-build" }
|
|
|
|
[patch.'https://github.com/tauri-apps/tauri']
|
|
tauri = { path = "../../../core/tauri" }
|
|
tauri-build = { path = "../../../core/tauri-build" }
|
|
|
|
[dependencies.tauri]
|
|
path = "../../../core/tauri"
|
|
features = [
|
|
"protocol-asset",
|
|
"icon-ico",
|
|
"icon-png",
|
|
"isolation",
|
|
"macos-private-api",
|
|
"system-tray"
|
|
]
|
|
|
|
[target."cfg(target_os = \"windows\")".dependencies]
|
|
window-shadows= "0.2"
|
|
|
|
[features]
|
|
custom-protocol = [ "tauri/custom-protocol" ]
|
|
|
|
# default to small, optimized release binaries
|
|
[profile.release]
|
|
panic = "abort"
|
|
codegen-units = 1
|
|
lto = true
|
|
incremental = false
|
|
opt-level = "s"
|