Cargo.toml

教程导航 · 代码索引

Cargo.toml

教程导航 · 代码索引

原文件:Doc/tutorial/Cargo.toml。

阅读快照 以下内容来自 2026-11-17 导入时的本地源码,后续不会自动同步。编辑、编译和运行请回到原项目;本页 Markdown 不是可直接编译的源文件。

[package]
name = "bevy_immediate_tutorial"
version = "0.1.0"
edition = "2024"
rust-version = "1.97.1"
publish = false

# 独立教学工程,不改变上层项目的 workspace 成员。
[workspace]

[dependencies]
bevy_immediate = { path = "../.." }
bevy = { version = "0.20.0", default-features = false, features = [
    "bevy_ui", "bevy_ui_render", "bevy_log", "bevy_window", "bevy_winit",
    "bevy_text", "bevy_input_focus", "default_font", "ui_picking",
    "bevy_ui_widgets", "bevy_feathers", "bevy_scene", "bevy_ui_debug",
    "webgl2", "x11", "wayland", "ghost_nodes", "png", "custom_cursor",
] }

[profile.dev.package."*"]
opt-level = 2