Skip to content

Commit d5a7c77

Browse files
authored
fix(docs): enable tauri/dox feature on docs.rs build (#545)
1 parent 4ab90f0 commit d5a7c77

28 files changed

Lines changed: 111 additions & 2 deletions

File tree

.changes/fix-docs-build.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
"app": patch
3+
"authenticator": patch
4+
"autostart": patch
5+
"cli": patch
6+
"clipboard-manager": patch
7+
"dialog": patch
8+
"fs": patch
9+
"global-shortcut": patch
10+
"http": patch
11+
"localhost": patch
12+
"log-plugin": patch
13+
"notification": patch
14+
"os": patch
15+
"persisted-scope": patch
16+
"positioner": patch
17+
"process": patch
18+
"shell": patch
19+
"single-instance": patch
20+
"sql": patch
21+
"store": patch
22+
"stronghold": patch
23+
"updater": patch
24+
"upload": patch
25+
"websocket": patch
26+
"window": patch
27+
"window-state": patch
28+
---
29+
30+
Fixes docs.rs build by enabling the `tauri/dox` feature flag.
31+

plugins/app/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,8 @@ edition = { workspace = true }
66
authors = { workspace = true }
77
license = { workspace = true }
88

9+
[package.metadata.docs.rs]
10+
features = [ "tauri/dox" ]
11+
912
[dependencies]
1013
tauri = { workspace = true }

plugins/authenticator/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ license = { workspace = true }
77
edition = { workspace = true }
88
rust-version = { workspace = true }
99

10+
[package.metadata.docs.rs]
11+
features = [ "tauri/dox" ]
12+
1013
[dependencies]
1114
serde = { workspace = true }
1215
serde_json = { workspace = true }

plugins/autostart/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ license = { workspace = true }
77
edition = { workspace = true }
88
rust-version = { workspace = true }
99

10+
[package.metadata.docs.rs]
11+
features = [ "tauri/dox" ]
12+
1013
[dependencies]
1114
serde = { workspace = true }
1215
serde_json = { workspace = true }

plugins/cli/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ edition = { workspace = true }
66
authors = { workspace = true }
77
license = { workspace = true }
88

9+
[package.metadata.docs.rs]
10+
features = [ "tauri/dox" ]
11+
912
[dependencies]
1013
serde = { workspace = true }
1114
serde_json = { workspace = true }

plugins/clipboard-manager/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ authors = { workspace = true }
77
license = { workspace = true }
88
links = "tauri-plugin-clipboard-manager"
99

10+
[package.metadata.docs.rs]
11+
features = [ "tauri/dox" ]
12+
1013
[build-dependencies]
1114
tauri-build = { workspace = true }
1215

plugins/dialog/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ authors = { workspace = true }
77
license = { workspace = true }
88
links = "tauri-plugin-dialog"
99

10+
[package.metadata.docs.rs]
11+
features = [ "tauri/dox" ]
12+
1013
[dependencies]
1114
serde = { workspace = true }
1215
serde_json = { workspace = true }

plugins/fs/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ license = { workspace = true }
77
edition = { workspace = true }
88
rust-version = { workspace = true }
99

10+
[package.metadata.docs.rs]
11+
features = [ "tauri/dox" ]
12+
1013
[dependencies]
1114
serde = { workspace = true }
1215
tauri = { workspace = true }

plugins/global-shortcut/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ edition = { workspace = true }
66
authors = { workspace = true }
77
license = { workspace = true }
88

9+
[package.metadata.docs.rs]
10+
features = [ "tauri/dox" ]
11+
912
[dependencies]
1013
serde = { workspace = true }
1114
serde_json = { workspace = true }

plugins/http/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ edition = { workspace = true }
66
authors = { workspace = true }
77
license = { workspace = true }
88

9+
[package.metadata.docs.rs]
10+
features = [ "tauri/dox" ]
11+
912
[dependencies]
1013
serde = { workspace = true }
1114
serde_json = { workspace = true }

0 commit comments

Comments
 (0)