Skip to content

Commit 3a7a695

Browse files
Enable some features when generating documentation on docs.rs
1 parent e96b21a commit 3a7a695

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

Cargo.toml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,21 @@ debug_asset_server = ["bevy_internal/debug_asset_server"]
115115
# Enable animation support, and glTF animation loading
116116
animation = ["bevy_internal/animation"]
117117

118+
[package.metadata.docs.rs]
119+
features = [
120+
"default",
121+
"subpixel_glyph_atlas",
122+
"bevy_animation",
123+
"bevy_core_pipeline",
124+
"bevy_dynamic_plugin",
125+
"bevy_gltf",
126+
"bevy_pbr",
127+
"bevy_render",
128+
"bevy_sprite",
129+
"bevy_text",
130+
"bevy_ui",
131+
]
132+
118133
[dependencies]
119134
bevy_dylib = { path = "crates/bevy_dylib", version = "0.9.0-dev", default-features = false, optional = true }
120135
bevy_internal = { path = "crates/bevy_internal", version = "0.9.0-dev", default-features = false }

0 commit comments

Comments
 (0)