Remove manual --cfg docsrs (#14376)

# Objective

- Fixes #14132 

## Solution

- Remove the cfg docsrs
This commit is contained in:
Coder-Joe458 2024-07-22 11:58:04 -07:00 committed by GitHub
parent d235d41af1
commit 8f5345573c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
55 changed files with 55 additions and 55 deletions

View file

@ -3339,6 +3339,6 @@ lto = "fat"
panic = "abort" panic = "abort"
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"] cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]

View file

@ -20,5 +20,5 @@ accesskit = "0.16"
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true

View file

@ -42,5 +42,5 @@ uuid = { version = "1.7", features = ["v4"] }
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true

View file

@ -38,5 +38,5 @@ console_error_panic_hook = "0.1.6"
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true

View file

@ -67,5 +67,5 @@ bevy_log = { path = "../bevy_log", version = "0.15.0-dev" }
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true

View file

@ -22,5 +22,5 @@ quote = "1.0"
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true

View file

@ -52,5 +52,5 @@ android_shared_stdcxx = ["cpal/oboe-shared-stdcxx"]
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true

View file

@ -28,5 +28,5 @@ serialize = ["serde"]
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true

View file

@ -39,5 +39,5 @@ serde_test = "1.0"
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true

View file

@ -45,5 +45,5 @@ thiserror = "1.0"
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true

View file

@ -21,5 +21,5 @@ syn = { version = "2.0", features = ["full"] }
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true

View file

@ -46,5 +46,5 @@ ron = { version = "0.8.0", optional = true }
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true

View file

@ -39,5 +39,5 @@ sysinfo = { version = "0.30.0", optional = true, default-features = false }
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true

View file

@ -18,5 +18,5 @@ bevy_internal = { path = "../bevy_internal", version = "0.15.0-dev", default-fea
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true

View file

@ -20,5 +20,5 @@ thiserror = "1.0"
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true

View file

@ -53,5 +53,5 @@ path = "examples/change_detection.rs"
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true

View file

@ -19,5 +19,5 @@ proc-macro2 = "1.0"
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true

View file

@ -19,5 +19,5 @@ encase_derive_impl = "0.8"
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true

View file

@ -24,5 +24,5 @@ thiserror = "1.0"
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true

View file

@ -35,5 +35,5 @@ bytemuck = "1.0"
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true

View file

@ -23,5 +23,5 @@ quote = "1.0"
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true

View file

@ -65,5 +65,5 @@ bevy_log = { path = "../bevy_log", version = "0.15.0-dev" }
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true

View file

@ -31,5 +31,5 @@ smallvec = { version = "1.11", features = ["union", "const_generics"] }
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true

View file

@ -43,5 +43,5 @@ smol_str = "0.2"
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true

View file

@ -244,5 +244,5 @@ bevy_winit = { path = "../bevy_winit", optional = true, version = "0.15.0-dev" }
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true

View file

@ -40,5 +40,5 @@ tracing-wasm = "0.2.1"
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true

View file

@ -20,5 +20,5 @@ proc-macro2 = "1.0"
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true

View file

@ -57,5 +57,5 @@ rand = ["dep:rand", "dep:rand_distr", "glam/rand"]
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true

View file

@ -25,5 +25,5 @@ name = "generate"
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true

View file

@ -64,5 +64,5 @@ static_assertions = "1"
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true

View file

@ -23,5 +23,5 @@ uuid = { version = "1.1", features = ["v4"] }
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true

View file

@ -14,5 +14,5 @@ keywords = ["bevy", "no_std"]
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true

View file

@ -57,5 +57,5 @@ required-features = ["documentation"]
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true

View file

@ -30,5 +30,5 @@ uuid = { version = "1.1", features = ["v4"] }
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true

View file

@ -130,5 +130,5 @@ send_wrapper = "0.6.0"
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true

View file

@ -22,5 +22,5 @@ quote = "1.0"
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true

View file

@ -40,5 +40,5 @@ rmp-serde = "1.1"
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true

View file

@ -41,5 +41,5 @@ radsort = "0.1"
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true

View file

@ -28,5 +28,5 @@ bevy_hierarchy = { path = "../bevy_hierarchy", version = "0.15.0-dev", optional
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true

View file

@ -19,5 +19,5 @@ proc-macro2 = "1.0"
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true

View file

@ -30,5 +30,5 @@ web-time = { version = "1.1" }
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true

View file

@ -42,5 +42,5 @@ approx = "0.5.1"
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true

View file

@ -32,5 +32,5 @@ thiserror = "1.0"
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true

View file

@ -52,5 +52,5 @@ serialize = ["dep:serde", "bevy_math/serialize"]
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true

View file

@ -46,5 +46,5 @@ serialize = ["serde", "smallvec/serde"]
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true

View file

@ -29,5 +29,5 @@ getrandom = { version = "0.2.0", features = ["js"] }
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true

View file

@ -18,5 +18,5 @@ proc-macro2 = "1.0"
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true

View file

@ -32,5 +32,5 @@ smol_str = "0.2"
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true

View file

@ -57,5 +57,5 @@ crossbeam-channel = "0.5"
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true

View file

@ -12,5 +12,5 @@ bevy = { path = ".." }
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true

View file

@ -37,5 +37,5 @@ label = "Bevy Example"
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true

View file

@ -18,5 +18,5 @@ hashbrown = { version = "0.14", features = ["serde"] }
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true

View file

@ -14,5 +14,5 @@ clap = { version = "4.0", features = ["derive"] }
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true

View file

@ -14,5 +14,5 @@ bitflags = "2.3"
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true

View file

@ -19,5 +19,5 @@ regex = "1.10.5"
workspace = true workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] rustdoc-args = ["-Zunstable-options"]
all-features = true all-features = true