Skip to content

Commit

Permalink
refactor(core): remove http-multipart Cargo feature
Browse files Browse the repository at this point in the history
Following #6742
  • Loading branch information
lucasfernog committed Apr 19, 2023
1 parent 86488a6 commit 67ae321
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint-fmt-core.yml
Expand Up @@ -50,7 +50,7 @@ jobs:
clippy:
- { args: '', key: 'empty' }
- {
args: '--features compression,wry,linux-protocol-headers,isolation,custom-protocol,api-all,updater,system-tray,http-multipart',
args: '--features compression,wry,linux-protocol-headers,isolation,custom-protocol,api-all,updater,system-tray',
key: 'all'
}
- { args: '--features custom-protocol', key: 'custom-protocol' }
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-core.yml
Expand Up @@ -76,7 +76,7 @@ jobs:
key: api-all
}
- {
args: --features compression,wry,linux-protocol-headers,isolation,custom-protocol,api-all,updater,system-tray,http-multipart,
args: --features compression,wry,linux-protocol-headers,isolation,custom-protocol,api-all,updater,system-tray,
key: all
}

Expand Down
2 changes: 0 additions & 2 deletions core/tauri/Cargo.toml
Expand Up @@ -23,7 +23,6 @@ features = [
"fs-extract-api",
"system-tray",
"devtools",
"http-multipart",
"icon-png",
"dox"
]
Expand Down Expand Up @@ -142,7 +141,6 @@ updater = [
"dialog-ask",
"fs-extract-api"
]
http-multipart = [ "reqwest/multipart" ]
shell-open-api = [ "open", "regex", "tauri-macros/shell-scope" ]
fs-extract-api = [ "zip" ]
native-tls = [ "reqwest/native-tls" ]
Expand Down
2 changes: 0 additions & 2 deletions core/tauri/src/lib.rs
Expand Up @@ -20,7 +20,6 @@
//! - **devtools**: Enables the developer tools (Web inspector) and [`Window::open_devtools`]. Enabled by default on debug builds.
//! On macOS it uses private APIs, so you can't enable it if your app will be published to the App Store.
//! - **shell-open-api**: Enables the [`api::shell`] module.
//! - **http-multipart**: Adds support to `multipart/form-data` requests.
//! - **native-tls**: Provides TLS support to connect over HTTPS.
//! - **native-tls-vendored**: Compile and statically link to a vendored copy of OpenSSL.
//! - **rustls-tls**: Provides TLS support to connect over HTTPS using rustls.
Expand Down Expand Up @@ -973,7 +972,6 @@ mod tests {
// features that look like an allowlist feature, but are not
let allowed = [
"fs-extract-api",
"http-multipart",
"process-command-api",
"process-relaunch-dangerous-allow-symlink-macos",
"window-data-url",
Expand Down
1 change: 0 additions & 1 deletion examples/api/src-tauri/Cargo.toml
Expand Up @@ -35,7 +35,6 @@ tauri-build = { path = "../../../core/tauri-build" }
path = "../../../core/tauri"
features = [
"api-all",
"http-multipart",
"icon-ico",
"icon-png",
"isolation",
Expand Down

0 comments on commit 67ae321

Please sign in to comment.