Skip to content

Commit 93426f8

Browse files
committed
fix: fix docsrs builds
1 parent 4ee61e0 commit 93426f8

File tree

32 files changed

+60
-102
lines changed

32 files changed

+60
-102
lines changed

.changes/docsrs.md

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
---
2+
"autostart": patch
3+
"autostart-js": patch
4+
"barcode-scanner": patch
5+
"barcode-scanner-js": patch
6+
"biometric": patch
7+
"biometric-js": patch
8+
"cli": patch
9+
"cli-js": patch
10+
"clipboard-manager": patch
11+
"clipboard-manager-js": patch
12+
"deep-link": patch
13+
"deep-link-js": patch
14+
"dialog": patch
15+
"dialog-js": patch
16+
"fs": patch
17+
"fs-js": patch
18+
"geolocation": patch
19+
"geolocation-js": patch
20+
"global-shortcut": patch
21+
"global-shortcut-js": patch
22+
"haptics": patch
23+
"haptics-js": patch
24+
"http": patch
25+
"http-js": patch
26+
"localhost": patch
27+
"log": patch
28+
"log-js": patch
29+
"nfc": patch
30+
"nfc-js": patch
31+
"notification": patch
32+
"notification-js": patch
33+
"opener": patch
34+
"opener-js": patch
35+
"os": patch
36+
"os-js": patch
37+
"persisted-scope": patch
38+
"positioner": patch
39+
"positioner-js": patch
40+
"process": patch
41+
"process-js": patch
42+
"shell": patch
43+
"shell-js": patch
44+
"single-instance": patch
45+
"sql": patch
46+
"sql-js": patch
47+
"store": patch
48+
"store-js": patch
49+
"stronghold": patch
50+
"stronghold-js": patch
51+
"upload": patch
52+
"upload-js": patch
53+
"websocket": patch
54+
"websocket-js": patch
55+
"window-state": patch
56+
"window-state-js": patch
57+
---
58+
59+
Fixed an issue that caused docs.rs builds to fail. No user facing changes.

plugins/autostart/Cargo.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@ rust-version = { workspace = true }
99
repository = { workspace = true }
1010
links = "tauri-plugin-autostart"
1111

12-
[package.metadata.docs.rs]
13-
rustc-args = ["--cfg", "docsrs"]
14-
rustdoc-args = ["--cfg", "docsrs"]
15-
1612
[package.metadata.platforms.support]
1713
windows = { level = "full", notes = "" }
1814
linux = { level = "full", notes = "" }

plugins/barcode-scanner/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ repository = { workspace = true }
1010
links = "tauri-plugin-barcode-scanner"
1111

1212
[package.metadata.docs.rs]
13-
rustc-args = ["--cfg", "docsrs"]
14-
rustdoc-args = ["--cfg", "docsrs"]
1513
targets = ["x86_64-linux-android"]
1614

1715
[package.metadata.platforms.support]

plugins/biometric/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ repository = { workspace = true }
99
links = "tauri-plugin-biometric"
1010

1111
[package.metadata.docs.rs]
12-
rustc-args = ["--cfg", "docsrs"]
13-
rustdoc-args = ["--cfg", "docsrs"]
1412
targets = ["x86_64-linux-android"]
1513

1614
[package.metadata.platforms.support]

plugins/cli/Cargo.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@ rust-version = { workspace = true }
99
repository = { workspace = true }
1010
links = "tauri-plugin-cli"
1111

12-
[package.metadata.docs.rs]
13-
rustc-args = ["--cfg", "docsrs"]
14-
rustdoc-args = ["--cfg", "docsrs"]
15-
1612
[package.metadata.platforms.support]
1713
windows = { level = "full", notes = "" }
1814
linux = { level = "full", notes = "" }

plugins/clipboard-manager/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ repository = { workspace = true }
1010
links = "tauri-plugin-clipboard-manager"
1111

1212
[package.metadata.docs.rs]
13-
rustc-args = ["--cfg", "docsrs"]
14-
rustdoc-args = ["--cfg", "docsrs"]
13+
1514
targets = ["x86_64-unknown-linux-gnu", "x86_64-linux-android"]
1615

1716
[package.metadata.platforms.support]

plugins/deep-link/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ repository = { workspace = true }
1010
links = "tauri-plugin-deep-link"
1111

1212
[package.metadata.docs.rs]
13-
rustc-args = ["--cfg", "docsrs"]
14-
rustdoc-args = ["--cfg", "docsrs"]
1513
targets = ["x86_64-linux-android"]
1614

1715
[package.metadata.platforms.support]

plugins/dialog/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ repository = { workspace = true }
1010
links = "tauri-plugin-dialog"
1111

1212
[package.metadata.docs.rs]
13-
rustc-args = ["--cfg", "docsrs"]
14-
rustdoc-args = ["--cfg", "docsrs"]
1513
targets = ["x86_64-unknown-linux-gnu", "x86_64-linux-android"]
1614

1715
[package.metadata.platforms.support]

plugins/fs/Cargo.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@ rust-version = { workspace = true }
99
repository = { workspace = true }
1010
links = "tauri-plugin-fs"
1111

12-
[package.metadata.docs.rs]
13-
rustc-args = ["--cfg", "docsrs"]
14-
rustdoc-args = ["--cfg", "docsrs"]
15-
1612
[package.metadata.platforms.support]
1713
windows = { level = "full", notes = "Apps installed via MSI or NSIS in `perMachine` and `both` mode require admin permissions for write access in `$RESOURCES` folder" }
1814
linux = { level = "full", notes = "No write access to `$RESOURCES` folder" }

plugins/geolocation/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ repository = { workspace = true }
99
links = "tauri-plugin-geolocation"
1010

1111
[package.metadata.docs.rs]
12-
rustc-args = ["--cfg", "docsrs"]
13-
rustdoc-args = ["--cfg", "docsrs"]
1412
targets = ["x86_64-linux-android"]
1513

1614
[package.metadata.platforms.support]

0 commit comments

Comments
 (0)