加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Cargo.toml 1022 Bytes
一键复制 编辑 原始数据 按行查看 历史
Cassie 提交于 2022-10-13 16:13 . 代码优化
[workspace]
resolver = "2"
members = [
"cassie_common",
"cassie_config",
"cassie_domain",
"cassie_devtools",
"cassie_orm",
"cassie_storage",
"cassie_web",
"cassie_wx",
"cassie_casbin_adapter",
"cassie_tests",
"cassie_macros",
"cassie_msg"
]
exclude = ["cassie_tests","cassie_devtools"]
[profile.release]
codegen-units = 1
incremental = true
lto = true
opt-level = 'z' # Optimize for size
[profile.release.package.cassie_common]
opt-level = 3
[profile.release.package.cassie_config]
opt-level = 3
[profile.release.package.cassie_domain]
opt-level = 3
[profile.release.package.cassie_orm]
opt-level = 3
[profile.release.package.cassie_storage]
opt-level = 3
[profile.release.package.cassie_web]
opt-level = 3
[profile.release.package.cassie_wx]
opt-level = 3
[profile.release.package.cassie_casbin_adapter]
opt-level = 3
[profile.release.package.v8]
opt-level = 3
[profile.release.package.serde_v8]
opt-level = 3
[profile.release.package.serde]
opt-level = 3
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化