From 1784d290b5907266e1388d79711e33e2c75c76a5 Mon Sep 17 00:00:00 2001 From: Lucas Nogueira Date: Thu, 10 Aug 2023 07:52:35 -0300 Subject: [PATCH] remove dox from features table --- Cargo.lock | 34 ---------------------------- plugins/app/Cargo.toml | 5 +--- plugins/authenticator/Cargo.toml | 5 +--- plugins/autostart/Cargo.toml | 5 +--- plugins/cli/Cargo.toml | 5 +--- plugins/clipboard-manager/Cargo.toml | 5 +--- plugins/dialog/Cargo.toml | 5 +--- plugins/fs/Cargo.toml | 3 +-- plugins/global-shortcut/Cargo.toml | 5 +--- plugins/http/Cargo.toml | 3 +-- plugins/localhost/Cargo.toml | 5 +--- plugins/log/Cargo.toml | 3 +-- plugins/notification/Cargo.toml | 3 +-- plugins/os/Cargo.toml | 5 +--- plugins/persisted-scope/Cargo.toml | 3 +-- plugins/positioner/Cargo.toml | 3 +-- plugins/process/Cargo.toml | 5 +--- plugins/shell/Cargo.toml | 5 +--- plugins/single-instance/Cargo.toml | 5 +--- plugins/sql/Cargo.toml | 1 - plugins/store/Cargo.toml | 5 +--- plugins/stronghold/Cargo.toml | 5 +--- plugins/updater/Cargo.toml | 3 +-- plugins/upload/Cargo.toml | 3 +-- plugins/websocket/Cargo.toml | 3 +-- plugins/window-state/Cargo.toml | 5 +--- plugins/window/Cargo.toml | 3 +-- shared/template/Cargo.toml | 5 +--- 28 files changed, 26 insertions(+), 119 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f9031ea6..457bbe4d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -744,7 +744,6 @@ checksum = "f3125b15ec28b84c238f6f476c6034016a5f6cc0221cb514ca46c532139fc97d" dependencies = [ "bitflags 1.3.2", "cairo-sys-rs", - "freetype-rs", "glib", "libc", "once_cell", @@ -760,7 +759,6 @@ dependencies = [ "glib-sys", "libc", "system-deps", - "x11", ] [[package]] @@ -919,15 +917,6 @@ dependencies = [ "winapi", ] -[[package]] -name = "cmake" -version = "0.1.50" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a31c789563b815f77f4250caee12365734369f942439b7defd71e18a48197130" -dependencies = [ - "cc", -] - [[package]] name = "cocoa" version = "0.24.1" @@ -1697,28 +1686,6 @@ dependencies = [ "percent-encoding", ] -[[package]] -name = "freetype-rs" -version = "0.31.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4200d5c6da26d4b5acff9098c1747f9f86da5e0f23bd7d63fed4c4a07e0b60ba" -dependencies = [ - "bitflags 1.3.2", - "freetype-sys", - "libc", -] - -[[package]] -name = "freetype-sys" -version = "0.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a17c696ead7d51c6c585f3513eee3b604a73c4e8345b16d450843eb0a59591b2" -dependencies = [ - "cmake", - "libc", - "pkg-config", -] - [[package]] name = "fsevent-sys" version = "4.1.0" @@ -2091,7 +2058,6 @@ dependencies = [ "glib-sys", "gobject-sys", "libc", - "log", "once_cell", "smallvec", "thiserror", diff --git a/plugins/app/Cargo.toml b/plugins/app/Cargo.toml index b71352bc..267a39dc 100644 --- a/plugins/app/Cargo.toml +++ b/plugins/app/Cargo.toml @@ -7,10 +7,7 @@ authors = { workspace = true } license = { workspace = true } [package.metadata.docs.rs] -features = [ "dox" ] +features = [ "tauri/dox" ] [dependencies] tauri = { workspace = true } - -[features] -dox = [ "tauri/dox" ] diff --git a/plugins/authenticator/Cargo.toml b/plugins/authenticator/Cargo.toml index 6138095c..11269de2 100644 --- a/plugins/authenticator/Cargo.toml +++ b/plugins/authenticator/Cargo.toml @@ -8,7 +8,7 @@ edition = { workspace = true } rust-version = { workspace = true } [package.metadata.docs.rs] -features = [ "dox" ] +features = [ "tauri/dox" ] [dependencies] serde = { workspace = true } @@ -28,6 +28,3 @@ chrono = "0.4" [dev-dependencies] rand = "0.8" rusty-fork = "0.3" - -[features] -dox = [ "tauri/dox" ] diff --git a/plugins/autostart/Cargo.toml b/plugins/autostart/Cargo.toml index 1b0660f3..1b7476be 100644 --- a/plugins/autostart/Cargo.toml +++ b/plugins/autostart/Cargo.toml @@ -8,7 +8,7 @@ edition = { workspace = true } rust-version = { workspace = true } [package.metadata.docs.rs] -features = [ "dox" ] +features = [ "tauri/dox" ] [dependencies] serde = { workspace = true } @@ -17,6 +17,3 @@ tauri = { workspace = true } log = { workspace = true } thiserror = { workspace = true } auto-launch = "0.4" - -[features] -dox = [ "tauri/dox" ] diff --git a/plugins/cli/Cargo.toml b/plugins/cli/Cargo.toml index 9aa64df1..3eb1075b 100644 --- a/plugins/cli/Cargo.toml +++ b/plugins/cli/Cargo.toml @@ -7,7 +7,7 @@ authors = { workspace = true } license = { workspace = true } [package.metadata.docs.rs] -features = [ "dox" ] +features = [ "tauri/dox" ] [dependencies] serde = { workspace = true } @@ -16,6 +16,3 @@ tauri = { workspace = true } log = { workspace = true } thiserror = { workspace = true } clap = { version = "4", features = [ "string" ] } - -[features] -dox = [ "tauri/dox" ] diff --git a/plugins/clipboard-manager/Cargo.toml b/plugins/clipboard-manager/Cargo.toml index 11de6b74..9b36b2e8 100644 --- a/plugins/clipboard-manager/Cargo.toml +++ b/plugins/clipboard-manager/Cargo.toml @@ -8,7 +8,7 @@ license = { workspace = true } links = "tauri-plugin-clipboard-manager" [package.metadata.docs.rs] -features = [ "dox" ] +features = [ "tauri/dox" ] [build-dependencies] tauri-build = { workspace = true } @@ -22,6 +22,3 @@ thiserror = { workspace = true } [target."cfg(any(target_os = \"macos\", windows, target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies] arboard = "3" - -[features] -dox = [ "tauri/dox" ] diff --git a/plugins/dialog/Cargo.toml b/plugins/dialog/Cargo.toml index e84ed676..df4398a9 100644 --- a/plugins/dialog/Cargo.toml +++ b/plugins/dialog/Cargo.toml @@ -8,7 +8,7 @@ license = { workspace = true } links = "tauri-plugin-dialog" [package.metadata.docs.rs] -features = [ "dox" ] +features = [ "tauri/dox" ] [dependencies] serde = { workspace = true } @@ -27,6 +27,3 @@ raw-window-handle = "0.5" [build-dependencies] tauri-build = { workspace = true } - -[features] -dox = [ "tauri/dox" ] diff --git a/plugins/fs/Cargo.toml b/plugins/fs/Cargo.toml index 2df8ff60..2a8b5910 100644 --- a/plugins/fs/Cargo.toml +++ b/plugins/fs/Cargo.toml @@ -8,7 +8,7 @@ edition = { workspace = true } rust-version = { workspace = true } [package.metadata.docs.rs] -features = [ "dox" ] +features = [ "tauri/dox" ] [dependencies] serde = { workspace = true } @@ -21,5 +21,4 @@ notify = { version = "5", optional = true, features = [ "serde" ] } notify-debouncer-mini = { version = "0.2.1", optional = true, features = [ "serde" ] } [features] -dox = [ "tauri/dox" ] watch = [ "notify", "notify-debouncer-mini" ] diff --git a/plugins/global-shortcut/Cargo.toml b/plugins/global-shortcut/Cargo.toml index 4f823c00..cb37c08b 100644 --- a/plugins/global-shortcut/Cargo.toml +++ b/plugins/global-shortcut/Cargo.toml @@ -7,7 +7,7 @@ authors = { workspace = true } license = { workspace = true } [package.metadata.docs.rs] -features = [ "dox" ] +features = [ "tauri/dox" ] [dependencies] serde = { workspace = true } @@ -18,6 +18,3 @@ thiserror = { workspace = true } [target."cfg(not(any(target_os = \"android\", target_os = \"ios\")))".dependencies] global-hotkey = "0.2.1" - -[features] -dox = [ "tauri/dox" ] diff --git a/plugins/http/Cargo.toml b/plugins/http/Cargo.toml index 526fc698..8dc315f7 100644 --- a/plugins/http/Cargo.toml +++ b/plugins/http/Cargo.toml @@ -7,7 +7,7 @@ authors = { workspace = true } license = { workspace = true } [package.metadata.docs.rs] -features = [ "dox" ] +features = [ "tauri/dox" ] [dependencies] serde = { workspace = true } @@ -22,7 +22,6 @@ url = "2.4" data-url = "0.3" [features] -dox = [ "tauri/dox" ] multipart = ["reqwest/multipart"] json = ["reqwest/json"] stream = ["reqwest/stream"] diff --git a/plugins/localhost/Cargo.toml b/plugins/localhost/Cargo.toml index 92297ead..bc91624a 100644 --- a/plugins/localhost/Cargo.toml +++ b/plugins/localhost/Cargo.toml @@ -8,7 +8,7 @@ edition = { workspace = true } rust-version = { workspace = true } [package.metadata.docs.rs] -features = [ "dox" ] +features = [ "tauri/dox" ] [dependencies] serde = { workspace = true } @@ -18,6 +18,3 @@ log = { workspace = true } thiserror = { workspace = true } tiny_http = "0.12" http = "0.2" - -[features] -dox = [ "tauri/dox" ] diff --git a/plugins/log/Cargo.toml b/plugins/log/Cargo.toml index 78e4a256..b6fa4547 100644 --- a/plugins/log/Cargo.toml +++ b/plugins/log/Cargo.toml @@ -8,7 +8,7 @@ edition = { workspace = true } rust-version = { workspace = true } [package.metadata.docs.rs] -features = [ "dox" ] +features = [ "tauri/dox" ] [build-dependencies] tauri-build = { workspace = true } @@ -32,5 +32,4 @@ objc = "0.2" cocoa = "0.24" [features] -dox = [ "tauri/dox" ] colored = [ "fern/colored" ] diff --git a/plugins/notification/Cargo.toml b/plugins/notification/Cargo.toml index 169bbd54..ad284e9f 100644 --- a/plugins/notification/Cargo.toml +++ b/plugins/notification/Cargo.toml @@ -8,7 +8,7 @@ license = { workspace = true } links = "tauri-plugin-notification" [package.metadata.docs.rs] -features = [ "dox" ] +features = [ "tauri/dox" ] [build-dependencies] tauri-build = { workspace = true } @@ -31,5 +31,4 @@ notify-rust = "4.5" win7-notifications = { version = "0.3.1", optional = true } [features] -dox = [ "tauri/dox" ] windows7-compat = [ "win7-notifications" ] diff --git a/plugins/os/Cargo.toml b/plugins/os/Cargo.toml index 26a13aca..d3e6abe5 100644 --- a/plugins/os/Cargo.toml +++ b/plugins/os/Cargo.toml @@ -7,7 +7,7 @@ authors = { workspace = true } license = { workspace = true } [package.metadata.docs.rs] -features = [ "dox" ] +features = [ "tauri/dox" ] [dependencies] serde = { workspace = true } @@ -19,6 +19,3 @@ os_info = "3" sys-locale = "0.3" gethostname = "0.4" serialize-to-javascript = "=0.1.1" - -[features] -dox = [ "tauri/dox" ] diff --git a/plugins/persisted-scope/Cargo.toml b/plugins/persisted-scope/Cargo.toml index 4dbd3edc..8967960a 100644 --- a/plugins/persisted-scope/Cargo.toml +++ b/plugins/persisted-scope/Cargo.toml @@ -8,7 +8,7 @@ edition = { workspace = true } rust-version = { workspace = true } [package.metadata.docs.rs] -features = [ "dox" ] +features = [ "tauri/dox" ] [dependencies] serde = { workspace = true } @@ -21,5 +21,4 @@ bincode = "1" tauri-plugin-fs = { path = "../fs", version = "2.0.0-alpha.0" } [features] -dox = [ "tauri/dox" ] protocol-asset = [ "tauri/protocol-asset" ] diff --git a/plugins/positioner/Cargo.toml b/plugins/positioner/Cargo.toml index bebdaf39..25189be5 100644 --- a/plugins/positioner/Cargo.toml +++ b/plugins/positioner/Cargo.toml @@ -8,7 +8,7 @@ edition = { workspace = true } rust-version = { workspace = true } [package.metadata.docs.rs] -features = [ "dox" ] +features = [ "tauri/dox" ] [dependencies] serde = { workspace = true } @@ -19,5 +19,4 @@ thiserror = { workspace = true } serde_repr = "0.1" [features] -dox = [ "tauri/dox" ] system-tray = [ "tauri/system-tray" ] diff --git a/plugins/process/Cargo.toml b/plugins/process/Cargo.toml index 1962e056..c5e8036d 100644 --- a/plugins/process/Cargo.toml +++ b/plugins/process/Cargo.toml @@ -7,10 +7,7 @@ authors = { workspace = true } license = { workspace = true } [package.metadata.docs.rs] -features = [ "dox" ] +features = [ "tauri/dox" ] [dependencies] tauri = { workspace = true } - -[features] -dox = [ "tauri/dox" ] diff --git a/plugins/shell/Cargo.toml b/plugins/shell/Cargo.toml index ba4ea847..5ab6d87e 100644 --- a/plugins/shell/Cargo.toml +++ b/plugins/shell/Cargo.toml @@ -7,7 +7,7 @@ authors = { workspace = true } license = { workspace = true } [package.metadata.docs.rs] -features = [ "dox" ] +features = [ "tauri/dox" ] [dependencies] serde = { workspace = true } @@ -20,6 +20,3 @@ regex = "1" open = "4" encoding_rs = "0.8" os_pipe = "1" - -[features] -dox = [ "tauri/dox" ] diff --git a/plugins/single-instance/Cargo.toml b/plugins/single-instance/Cargo.toml index cd6c0aed..109f8c3f 100644 --- a/plugins/single-instance/Cargo.toml +++ b/plugins/single-instance/Cargo.toml @@ -9,7 +9,7 @@ rust-version = { workspace = true } exclude = [ "/examples" ] [package.metadata.docs.rs] -features = [ "dox" ] +features = [ "tauri/dox" ] [dependencies] serde = { workspace = true } @@ -32,6 +32,3 @@ features = [ [target."cfg(target_os = \"linux\")".dependencies] zbus = "3" - -[features] -dox = [ "tauri/dox" ] diff --git a/plugins/sql/Cargo.toml b/plugins/sql/Cargo.toml index b8b74166..4fc170a9 100644 --- a/plugins/sql/Cargo.toml +++ b/plugins/sql/Cargo.toml @@ -22,7 +22,6 @@ time = "0.3" tokio = { version = "1", features = [ "sync" ] } [features] -dox = [ "tauri/dox" ] sqlite = [ "sqlx/sqlite" ] mysql = [ "sqlx/mysql" ] postgres = [ "sqlx/postgres" ] diff --git a/plugins/store/Cargo.toml b/plugins/store/Cargo.toml index 66d2ecdb..fee875ef 100644 --- a/plugins/store/Cargo.toml +++ b/plugins/store/Cargo.toml @@ -8,7 +8,7 @@ edition = { workspace = true } rust-version = { workspace = true } [package.metadata.docs.rs] -features = [ "dox" ] +features = [ "tauri/dox" ] [dependencies] serde = { workspace = true } @@ -16,6 +16,3 @@ serde_json = { workspace = true } tauri = { workspace = true } log = { workspace = true } thiserror = { workspace = true } - -[features] -dox = [ "tauri/dox" ] diff --git a/plugins/stronghold/Cargo.toml b/plugins/stronghold/Cargo.toml index 21ba6cd2..d425f395 100644 --- a/plugins/stronghold/Cargo.toml +++ b/plugins/stronghold/Cargo.toml @@ -8,7 +8,7 @@ edition = { workspace = true } rust-version = { workspace = true } [package.metadata.docs.rs] -features = [ "dox" ] +features = [ "tauri/dox" ] [dependencies] serde = { workspace = true } @@ -24,6 +24,3 @@ zeroize = { version = "1", features = [ "zeroize_derive" ] } [dev-dependencies] rand = "0.8" rusty-fork = "0.3" - -[features] -dox = [ "tauri/dox" ] diff --git a/plugins/updater/Cargo.toml b/plugins/updater/Cargo.toml index e31bc7ef..76573fc6 100644 --- a/plugins/updater/Cargo.toml +++ b/plugins/updater/Cargo.toml @@ -7,7 +7,7 @@ authors = { workspace = true } license = { workspace = true } [package.metadata.docs.rs] -features = [ "dox" ] +features = [ "tauri/dox" ] [dependencies] tauri = { workspace = true } @@ -36,7 +36,6 @@ zip = { version = "0.6", default-features = false } mockito = "0.31" [features] -dox = [ "tauri/dox" ] native-tls = [ "reqwest/native-tls" ] native-tls-vendored = [ "reqwest/native-tls-vendored" ] rustls-tls = [ "reqwest/rustls-tls" ] diff --git a/plugins/upload/Cargo.toml b/plugins/upload/Cargo.toml index c316d5e9..c7178ecf 100644 --- a/plugins/upload/Cargo.toml +++ b/plugins/upload/Cargo.toml @@ -8,7 +8,7 @@ edition = { workspace = true } rust-version = { workspace = true } [package.metadata.docs.rs] -features = [ "dox" ] +features = [ "tauri/dox" ] [dependencies] serde = { workspace = true } @@ -23,7 +23,6 @@ futures-util = "0.3" read-progress-stream = "1.0.0" [features] -dox = [ "tauri/dox" ] native-tls = [ "reqwest/native-tls" ] native-tls-vendored = [ "reqwest/native-tls-vendored" ] rustls-tls = [ "reqwest/rustls-tls" ] diff --git a/plugins/websocket/Cargo.toml b/plugins/websocket/Cargo.toml index f6a2501c..439d71c2 100644 --- a/plugins/websocket/Cargo.toml +++ b/plugins/websocket/Cargo.toml @@ -9,7 +9,7 @@ rust-version = { workspace = true } exclude = [ "/examples" ] [package.metadata.docs.rs] -features = [ "dox" ] +features = [ "tauri/dox" ] [dependencies] serde = { workspace = true } @@ -23,7 +23,6 @@ tokio = { version = "1", features = [ "net", "sync" ] } tokio-tungstenite = { version = "0.19" } [features] -dox = [ "tauri/dox" ] native-tls = [ "tokio-tungstenite/native-tls" ] native-tls-vendored = [ "tokio-tungstenite/native-tls-vendored" ] rustls-tls-webpki-roots = [ "tokio-tungstenite/rustls-tls-webpki-roots" ] diff --git a/plugins/window-state/Cargo.toml b/plugins/window-state/Cargo.toml index 72097ae7..52759d75 100644 --- a/plugins/window-state/Cargo.toml +++ b/plugins/window-state/Cargo.toml @@ -8,7 +8,7 @@ edition = { workspace = true } rust-version = { workspace = true } [package.metadata.docs.rs] -features = [ "dox" ] +features = [ "tauri/dox" ] [dependencies] serde = { workspace = true } @@ -18,6 +18,3 @@ log = { workspace = true } thiserror = { workspace = true } bincode = "1.3" bitflags = "2" - -[features] -dox = [ "tauri/dox" ] diff --git a/plugins/window/Cargo.toml b/plugins/window/Cargo.toml index 03445321..229bbc3b 100644 --- a/plugins/window/Cargo.toml +++ b/plugins/window/Cargo.toml @@ -7,7 +7,7 @@ authors = { workspace = true } license = { workspace = true } [package.metadata.docs.rs] -features = [ "dox" ] +features = [ "tauri/dox" ] [dependencies] tauri = { workspace = true } @@ -15,7 +15,6 @@ serde = { workspace = true } thiserror = { workspace = true } [features] -dox = [ "tauri/dox" ] icon-png = [ "tauri/icon-png" ] icon-ico = [ "tauri/icon-ico" ] devtools = [ ] diff --git a/shared/template/Cargo.toml b/shared/template/Cargo.toml index 22fa8075..00b6ca47 100644 --- a/shared/template/Cargo.toml +++ b/shared/template/Cargo.toml @@ -7,7 +7,7 @@ license = { workspace = true } links = "tauri-plugin-{{name}}" [package.metadata.docs.rs] -features = [ "dox" ] +features = [ "tauri/dox" ] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -20,6 +20,3 @@ serde_json = { workspace = true } tauri = { workspace = true } log = { workspace = true } thiserror = { workspace = true } - -[features] -dox = [ "tauri/dox" ]