1 Star 0 Fork 0

行有不得/salvo-learn

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Cargo.toml 1.25 KB
一键复制 编辑 原始数据 按行查看 历史
行有不得 提交于 2024-12-08 23:22 . 11
[package]
name = "salvo-learn"
version = "0.1.0"
edition = "2021"
[dependencies]
bevy = "0.15.0"
log = { version = "*", features = ["max_level_debug", "release_max_level_warn"] }
rand = "0.8.5"
rand_chacha = "0.3.1"
# Enable a small amount of optimization in the dev profile.
[profile.dev]
opt-level = 0
# Enable a large amount of optimization in the dev profile for dependencies.
[profile.dev.package."*"]
opt-level = 3
# Enable more optimization in the release profile at the cost of compile time.
[profile.release]
# Compile the entire crate as one unit.
# Slows compile times, marginal improvements.
codegen-units = 1
# Do a second optimization pass over the entire program, including dependencies.
# Slows compile times, marginal improvements.
lto = "thin"
# Optimize for size in the wasm-release profile to reduce load times and bandwidth usage on web.
[profile.wasm-release]
# Default to release profile values.
inherits = "release"
# Optimize with size in mind (also try "z", sometimes it is better).
# Slightly slows compile times, great improvements to file size and runtime performance.
opt-level = "s"
# Strip all debugging information from the binary to slightly reduce file size.
strip = "debuginfo"
[[example]]
name = "movable"
path = "src/movable.rs"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/openaddr/salvo-learn.git
git@gitee.com:openaddr/salvo-learn.git
openaddr
salvo-learn
salvo-learn
master

搜索帮助