rust toml
-
优化
[profile.release] lto=true strip = true codegen-units = 1 panic = "abort"
-
添加依赖
[dependencies] log = { version = "*", default-features = false } component = { path = "../../../../data/esp/component" } tokio = { version = "*", features = ["sync", "time"] } serde = "*"
-
指定依赖来源
[patch.crates-io] embuild = { git = "https://github.com/esp-rs/embuild" }