自学内容网 自学内容网

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" }
    

原文地址:https://blog.csdn.net/qq_41544116/article/details/145152066

免责声明:本站文章内容转载自网络资源,如侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!