Skip to content

Commit 3a65efc

Browse files
committed
Add rustc-args to package.metadata.docs.rs
1 parent 5a4846e commit 3a65efc

File tree

7 files changed

+7
-0
lines changed

7 files changed

+7
-0
lines changed

godot-bindings/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ regex = { workspace = true }
5151
[package.metadata.docs.rs]
5252
features = ["experimental-godot-api"]
5353
rustdoc-args = ["--cfg", "published_docs"]
54+
rustc-args = ["--cfg", "published_docs"]
5455

5556
# Currently causes "unused manifest key" warnings. Maybe re-enable in the future, to make `published_docs` known.
5657
#[lints.rust]

godot-cell/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ proptest = { workspace = true, optional = true }
2020
[package.metadata.docs.rs]
2121
features = ["experimental-godot-api"]
2222
rustdoc-args = ["--cfg", "published_docs"]
23+
rustc-args = ["--cfg", "published_docs"]
2324

2425
# Currently causes "unused manifest key" warnings. Maybe re-enable in the future, to make `published_docs` known.
2526
#[lints.rust]

godot-codegen/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ godot-bindings = { path = "../godot-bindings", version = "=0.2.4" } # emit_godot
3636
[package.metadata.docs.rs]
3737
features = ["experimental-godot-api"]
3838
rustdoc-args = ["--cfg", "published_docs"]
39+
rustc-args = ["--cfg", "published_docs"]
3940

4041
# Currently causes "unused manifest key" warnings. Maybe re-enable in the future, to make `published_docs` known.
4142
#[lints.rust]

godot-core/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ serde_json = { workspace = true }
6262
[package.metadata.docs.rs]
6363
features = ["experimental-godot-api"]
6464
rustdoc-args = ["--cfg", "published_docs"]
65+
rustc-args = ["--cfg", "published_docs"]
6566

6667
# Currently causes "unused manifest key" warnings. Maybe re-enable in the future, to make `published_docs` known.
6768
#[lints.rust]

godot-ffi/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ godot-codegen = { path = "../godot-codegen", version = "=0.2.4" }
5050
[package.metadata.docs.rs]
5151
features = ["experimental-godot-api"]
5252
rustdoc-args = ["--cfg", "published_docs"]
53+
rustc-args = ["--cfg", "published_docs"]
5354

5455
# Currently causes "unused manifest key" warnings. Maybe re-enable in the future, to make `published_docs` known.
5556
#[lints.rust]

godot-macros/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ godot = { path = "../godot", default-features = false}
4242
[package.metadata.docs.rs]
4343
features = ["experimental-godot-api"]
4444
rustdoc-args = ["--cfg", "published_docs"]
45+
rustc-args = ["--cfg", "published_docs"]
4546

4647
# Currently causes "unused manifest key" warnings. Maybe re-enable in the future, to make `published_docs` known.
4748
#[lints.rust]

godot/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ godot-macros = { path = "../godot-macros", version = "=0.2.4" }
5656
[package.metadata.docs.rs]
5757
features = ["experimental-godot-api"]
5858
rustdoc-args = ["--cfg", "published_docs"]
59+
rustc-args = ["--cfg", "published_docs"]
5960

6061
# Currently causes "unused manifest key" warnings. Maybe re-enable in the future, to make `published_docs` known.
6162
#[lints.rust]

0 commit comments

Comments
 (0)