remove --docs cfg to fix docsrs building (#4788)

This commit is contained in:
Jonathan Kelley authored and GitHub committed 2025-10-14 20:18:13 -07:00
1 parent 056b47fcd0
commit 7856679641
5 files changed
+1 -7

No files matched your search

+1 -1
View File
@@ -155,7 +155,7 @@ jobs:
# # Build the docs here too before publishing, to ensure they're up to date # # Build the docs here too before publishing, to ensure they're up to date
# - name: cargo doc # - name: cargo doc
# run: RUSTDOCFLAGS="--cfg docsrs" cargo doc --no-deps --workspace --all-features # run: cargo doc --no-deps --workspace --all-features
# - name: Publish to crates.io # - name: Publish to crates.io
# run: | # run: |
-2
View File
@@ -184,5 +184,3 @@ pkg-fmt = "zip"
[package.metadata.docs.rs] [package.metadata.docs.rs]
all-features = false all-features = false
rustc-args = ["--cfg", "docsrs"]
rustdoc-args = ["--cfg", "docsrs"]
-2
View File
@@ -111,8 +111,6 @@ targets = [
"aarch64-linux-android", "aarch64-linux-android",
"armv7-linux-androideabi", "armv7-linux-androideabi",
] ]
rustc-args = ["--cfg", "docsrs"]
rustdoc-args = ["--cfg", "docsrs"]
[dev-dependencies] [dev-dependencies]
dioxus = { workspace = true, features = ["desktop"] } dioxus = { workspace = true, features = ["desktop"] }
-1
View File
@@ -40,4 +40,3 @@ dioxus = { workspace = true }
[package.metadata.docs.rs] [package.metadata.docs.rs]
all-features = true all-features = true
rustdoc-args = ["--cfg", "docsrs"]
-1
View File
@@ -58,4 +58,3 @@ futures-util = { workspace = true }
[package.metadata.docs.rs] [package.metadata.docs.rs]
all-features = true all-features = true
rustdoc-args = ["--cfg", "docsrs"]