123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321 |
- [package]
- authors = [ "Tauri Programme within The Commons Conservancy" ]
- categories = [ "gui", "web-programming" ]
- description = "Make tiny, secure apps for all desktop platforms with Tauri"
- edition = "2021"
- rust-version = "1.64"
- exclude = [ "/test", "/.scripts", "CHANGELOG.md", "/target" ]
- homepage = "https://tauri.app"
- license = "Apache-2.0 OR MIT"
- name = "tauri"
- readme = "README.md"
- repository = "https://github.com/tauri-apps/tauri"
- version = "2.0.0-alpha.8"
- links = "Tauri"
- [package.metadata.docs.rs]
- no-default-features = true
- features = [
- "wry",
- "custom-protocol",
- "api-all",
- "updater",
- "fs-extract-api",
- "system-tray",
- "devtools",
- "icon-png",
- "dox"
- ]
- rustdoc-args = [ "--cfg", "doc_cfg" ]
- default-target = "x86_64-unknown-linux-gnu"
- targets = [
- "x86_64-pc-windows-msvc",
- "x86_64-unknown-linux-gnu",
- "x86_64-apple-darwin"
- ]
- [dependencies]
- serde_json = { workspace = true, features = [ "raw_value" ] }
- serde.workspace = true
- tokio = { version = "1", features = [ "rt", "rt-multi-thread", "sync", "fs", "io-util" ] }
- futures-util = "0.3"
- uuid = { version = "1", features = [ "v4" ] }
- url.workspace = true
- anyhow.workspace = true
- thiserror.workspace = true
- once_cell = "1"
- tauri-runtime = { version = "0.13.0-alpha.4", path = "../tauri-runtime" }
- tauri-macros = { version = "2.0.0-alpha.4", path = "../tauri-macros" }
- tauri-utils = { version = "2.0.0-alpha.4", features = [ "resources" ], path = "../tauri-utils" }
- tauri-runtime-wry = { version = "0.13.0-alpha.4", path = "../tauri-runtime-wry", optional = true }
- rand = "0.8"
- semver = { version = "1.0", features = [ "serde" ] }
- serde_repr = "0.1"
- state = "0.5"
- tar = "0.4.38"
- tempfile.workspace = true
- zip = { version = "0.6", default-features = false, optional = true }
- ignore = "0.4"
- flate2 = "1.0"
- http = "0.2"
- dirs-next = "2.0"
- percent-encoding = "2.2"
- base64 = { version = "0.21", optional = true }
- reqwest = { version = "0.11", default-features = false, features = [ "json", "stream" ] }
- bytes = { version = "1", features = [ "serde" ] }
- raw-window-handle = "0.5"
- minisign-verify = { version = "0.2", optional = true }
- time = { version = "0.3", features = [ "parsing", "formatting" ], optional = true }
- os_info = { version = "3", optional = true }
- glob.workspace = true
- data-url = { version = "0.2", optional = true }
- serialize-to-javascript = "=0.1.1"
- infer = { version = "0.9", optional = true }
- png = { version = "0.17", optional = true }
- ico = { version = "0.2.0", optional = true }
- encoding_rs = "0.8.31"
- [target."cfg(any(target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies]
- gtk = { version = "0.16", features = [ "v3_24" ] }
- glib = "0.16"
- webkit2gtk = { version = "0.19.1", features = [ "v2_38" ] }
- [target."cfg(target_os = \"macos\")".dependencies]
- embed_plist = "1.2"
- cocoa = "0.24"
- objc = "0.2"
- [target."cfg(windows)".dependencies]
- webview2-com = "0.22"
- [target."cfg(windows)".dependencies.windows]
- version = "0.44"
- features = [ "Win32_Foundation" ]
- [target."cfg(any(target_os = \"android\", target_os = \"ios\"))".dependencies]
- log = "0.4"
- heck = "0.4"
- [target."cfg(target_os = \"android\")".dependencies]
- jni = "0.20"
- [target."cfg(target_os = \"ios\")".dependencies]
- libc = "0.2"
- objc = "0.2"
- cocoa = "0.24"
- swift-rs = "1.0.4"
- [build-dependencies]
- heck = "0.4"
- once_cell = "1"
- tauri-build = { path = "../tauri-build/", version = "2.0.0-alpha.1" }
- [dev-dependencies]
- mockito = "0.31"
- proptest = "1.0.0"
- quickcheck = "1.0.3"
- quickcheck_macros = "1.0.0"
- serde.workspace = true
- serde_json.workspace = true
- tauri = { path = ".", default-features = false, features = [ "wry" ] }
- tokio-test = "0.4.2"
- tokio = { version = "1", features = [ "full" ] }
- cargo_toml = "0.11"
- [features]
- default = [ "wry", "compression", "objc-exception" ]
- compression = [ "tauri-macros/compression", "tauri-utils/compression" ]
- wry = [ "tauri-runtime-wry" ]
- objc-exception = [ "tauri-runtime-wry/objc-exception" ]
- linux-protocol-headers = [ "tauri-runtime-wry/linux-headers", "webkit2gtk/v2_36" ]
- isolation = [ "tauri-utils/isolation", "tauri-macros/isolation" ]
- custom-protocol = [ "tauri-macros/custom-protocol" ]
- updater = [
- "minisign-verify",
- "time",
- "base64",
- "dialog-ask",
- "fs-extract-api"
- ]
- fs-extract-api = [ "zip" ]
- native-tls = [ "reqwest/native-tls" ]
- native-tls-vendored = [ "reqwest/native-tls-vendored" ]
- rustls-tls = [ "reqwest/rustls-tls" ]
- system-tray = [ "tauri-runtime/system-tray", "tauri-runtime-wry/system-tray" ]
- devtools = [ "tauri-runtime/devtools", "tauri-runtime-wry/devtools" ]
- dox = [ "tauri-runtime-wry/dox" ]
- macos-private-api = [
- "tauri-runtime/macos-private-api",
- "tauri-runtime-wry/macos-private-api"
- ]
- window-data-url = [ "data-url" ]
- api-all = [
- "clipboard-all",
- "dialog-all",
- "fs-all",
- "global-shortcut-all",
- "http-all",
- "notification-all",
- "os-all",
- "path-all",
- "process-all",
- "protocol-all",
- "shell-all",
- "window-all",
- "app-all"
- ]
- clipboard-all = [ "clipboard-write-text", "clipboard-read-text" ]
- clipboard-read-text = [ ]
- clipboard-write-text = [ ]
- dialog-all = [ "dialog-open", "dialog-save", "dialog-message", "dialog-ask" ]
- dialog-ask = [ ]
- dialog-confirm = [ ]
- dialog-message = [ ]
- dialog-open = [ ]
- dialog-save = [ ]
- fs-all = [
- "fs-copy-file",
- "fs-create-dir",
- "fs-exists",
- "fs-read-file",
- "fs-read-dir",
- "fs-remove-dir",
- "fs-remove-file",
- "fs-rename-file",
- "fs-write-file"
- ]
- fs-copy-file = [ ]
- fs-create-dir = [ ]
- fs-exists = [ ]
- fs-read-file = [ ]
- fs-read-dir = [ ]
- fs-remove-dir = [ ]
- fs-remove-file = [ ]
- fs-rename-file = [ ]
- fs-write-file = [ ]
- global-shortcut-all = [ ]
- http-all = [ "http-request" ]
- http-request = [ ]
- notification-all = [ ]
- os-all = [ "os_info" ]
- path-all = [ ]
- process-all = [ "process-relaunch", "process-exit" ]
- process-exit = [ ]
- process-relaunch = [ ]
- process-relaunch-dangerous-allow-symlink-macos = [ "tauri-utils/process-relaunch-dangerous-allow-symlink-macos" ]
- protocol-all = [ "protocol-asset" ]
- protocol-asset = [ ]
- shell-all = [ "shell-execute", "shell-sidecar", "shell-open" ]
- shell-execute = [ ]
- shell-sidecar = [ ]
- shell-open = [ ]
- window-all = [
- "window-create",
- "window-center",
- "window-request-user-attention",
- "window-set-resizable",
- "window-set-title",
- "window-maximize",
- "window-unmaximize",
- "window-minimize",
- "window-unminimize",
- "window-show",
- "window-hide",
- "window-close",
- "window-set-decorations",
- "window-set-shadow",
- "window-set-always-on-top",
- "window-set-content-protected",
- "window-set-size",
- "window-set-min-size",
- "window-set-max-size",
- "window-set-position",
- "window-set-fullscreen",
- "window-set-focus",
- "window-set-icon",
- "window-set-skip-taskbar",
- "window-set-cursor-grab",
- "window-set-cursor-visible",
- "window-set-cursor-icon",
- "window-set-cursor-position",
- "window-set-ignore-cursor-events",
- "window-start-dragging",
- "window-print"
- ]
- window-create = [ ]
- window-center = [ ]
- window-request-user-attention = [ ]
- window-set-resizable = [ ]
- window-set-title = [ ]
- window-maximize = [ ]
- window-unmaximize = [ ]
- window-minimize = [ ]
- window-unminimize = [ ]
- window-show = [ ]
- window-hide = [ ]
- window-close = [ ]
- window-set-decorations = [ ]
- window-set-shadow = [ ]
- window-set-always-on-top = [ ]
- window-set-content-protected = [ ]
- window-set-size = [ ]
- window-set-min-size = [ ]
- window-set-max-size = [ ]
- window-set-position = [ ]
- window-set-fullscreen = [ ]
- window-set-focus = [ ]
- window-set-icon = [ ]
- window-set-skip-taskbar = [ ]
- window-set-cursor-grab = [ ]
- window-set-cursor-visible = [ ]
- window-set-cursor-icon = [ ]
- window-set-cursor-position = [ ]
- window-set-ignore-cursor-events = [ ]
- window-start-dragging = [ ]
- window-print = [ ]
- app-all = [ "app-show", "app-hide" ]
- app-show = [ ]
- app-hide = [ ]
- config-json5 = [ "tauri-macros/config-json5" ]
- config-toml = [ "tauri-macros/config-toml" ]
- icon-ico = [ "infer", "ico" ]
- icon-png = [ "infer", "png" ]
- [[example]]
- name = "commands"
- path = "../../examples/commands/main.rs"
- [[example]]
- name = "helloworld"
- path = "../../examples/helloworld/main.rs"
- [[example]]
- name = "multiwindow"
- path = "../../examples/multiwindow/main.rs"
- required-features = [ "window-create" ]
- [[example]]
- name = "parent-window"
- path = "../../examples/parent-window/main.rs"
- [[example]]
- name = "navigation"
- path = "../../examples/navigation/main.rs"
- required-features = [ "window-create" ]
- [[example]]
- name = "splashscreen"
- path = "../../examples/splashscreen/main.rs"
- [[example]]
- name = "state"
- path = "../../examples/state/main.rs"
- [[example]]
- name = "streaming"
- path = "../../examples/streaming/main.rs"
- [[example]]
- name = "isolation"
- path = "../../examples/isolation/main.rs"
- required-features = [ "isolation" ]
|