Skip to content

Commit b08ae63

Browse files
authored
fix(cli): remove default features from template (#6074)
1 parent 8c842a5 commit b08ae63

File tree

14 files changed

+10
-27
lines changed

14 files changed

+10
-27
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'cli.rs': minor
3+
'cli.js': minor
4+
---
5+
6+
Remove default features from Cargo.toml template.

examples/api/src-tauri/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ mobile-entry-point = "0.1.0"
4949
env_logger = "0.9.0"
5050

5151
[features]
52-
default = [ "custom-protocol" ]
5352
custom-protocol = [ "tauri/custom-protocol" ]
5453

5554
# default to small, optimized release binaries

examples/resources/src-tauri/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,4 @@ serde = { version = "1.0", features = [ "derive" ] }
1414
tauri = { path = "../../../core/tauri", features = ["shell-execute"] }
1515

1616
[features]
17-
default = [ "custom-protocol" ]
1817
custom-protocol = [ "tauri/custom-protocol" ]

examples/sidecar/src-tauri/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,4 @@ serde = { version = "1.0", features = [ "derive" ] }
1414
tauri = { path = "../../../core/tauri", features = ["process-command-api", "shell-sidecar"] }
1515

1616
[features]
17-
default = [ "custom-protocol" ]
1817
custom-protocol = [ "tauri/custom-protocol" ]

examples/tauri-dynamic-lib/src-tauri/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,4 @@ serde = { version = "1.0", features = [ "derive" ] }
1919
tauri = { path = "../../../core/tauri", features = [] }
2020

2121
[features]
22-
default = [ "custom-protocol" ]
2322
custom-protocol = [ "tauri/custom-protocol" ]

examples/updater/src-tauri/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ serde = { version = "1.0", features = [ "derive" ] }
1515
tauri = { path = "../../../core/tauri", features = ["updater"] }
1616

1717
[features]
18-
default = [ "custom-protocol" ]
1918
custom-protocol = [ "tauri/custom-protocol" ]
2019

2120
[[bin]]

examples/web/core/tauri/Cargo.toml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,4 @@ api = { path = "../api" }
1717
tauri = { path = "../../../../core/tauri", features = ["dialog"] }
1818

1919
[features]
20-
# by default Tauri runs in production mode
21-
# when `tauri dev` runs it is executed with `cargo run --no-default-features` if `devPath` is an URL
22-
default = [ "custom-protocol" ]
23-
# this feature is used for production builds where `devPath` points to the filesystem
24-
# DO NOT remove this
2520
custom-protocol = [ "tauri/custom-protocol" ]

examples/workspace/src-tauri/Cargo.toml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,4 @@ tauri = { path = "../../../core/tauri", features = [] }
1919
core-api = { path = "../core" }
2020

2121
[features]
22-
# by default Tauri runs in production mode
23-
# when `tauri dev` runs it is executed with `cargo run --no-default-features` if `devPath` is an URL
24-
default = [ "custom-protocol" ]
25-
# this feature is used for production builds where `devPath` points to the filesystem
26-
# DO NOT remove this
2722
custom-protocol = [ "tauri/custom-protocol" ]

tooling/bench/tests/cpu_intensive/src-tauri/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,4 @@ serde = { version = "1.0", features = [ "derive" ] }
1414
tauri = { path = "../../../../../core/tauri", features = [] }
1515

1616
[features]
17-
default = [ "custom-protocol" ]
1817
custom-protocol = [ "tauri/custom-protocol" ]

tooling/bench/tests/files_transfer/src-tauri/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,4 @@ serde = { version = "1.0", features = [ "derive" ] }
1414
tauri = { path = "../../../../../core/tauri", features = ["fs-read-file"] }
1515

1616
[features]
17-
default = [ "custom-protocol" ]
1817
custom-protocol = [ "tauri/custom-protocol" ]

0 commit comments

Comments
 (0)