# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.77.2" name = "tauri-plugin-upload" version = "2.1.0" authors = ["Tauri Programme within The Commons Conservancy"] build = "build.rs" links = "tauri-plugin-upload" autobins = false autoexamples = false autotests = false autobenches = false description = "Upload files from disk to a remote server over HTTP." readme = "README.md" license = "Apache-2.0 OR MIT" repository = "https://github.com/tauri-apps/plugins-workspace" [package.metadata.docs.rs] rustc-args = [ "--cfg", "docsrs", ] rustdoc-args = [ "--cfg", "docsrs", ] [package.metadata.platforms.support.android] level = "full" notes = "" [package.metadata.platforms.support.ios] level = "full" notes = "" [package.metadata.platforms.support.linux] level = "full" notes = "" [package.metadata.platforms.support.macos] level = "full" notes = "" [package.metadata.platforms.support.windows] level = "full" notes = "" [lib] name = "tauri_plugin_upload" path = "src/lib.rs" [dependencies.futures-util] version = "0.3" [dependencies.log] version = "0.4" [dependencies.read-progress-stream] version = "1.0.0" [dependencies.reqwest] version = "0.12" features = [ "json", "stream", ] default-features = false [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.tauri] version = "2.0.4" default-features = false [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1" features = ["fs"] [dependencies.tokio-util] version = "0.7" features = ["codec"] [dev-dependencies.mockito] version = "1.5.0" [dev-dependencies.tokio] version = "1" features = ["macros"] [build-dependencies.tauri-plugin] version = "2.0.1" features = ["build"] [features] native-tls = ["reqwest/native-tls"] native-tls-vendored = ["reqwest/native-tls-vendored"] rustls-tls = ["reqwest/rustls-tls"]