Cargo.toml 542 B

12345678910111213141516171819202122232425262728
  1. [package]
  2. name = "custom_plugin"
  3. version = "0.1.0"
  4. edition = "2021"
  5. # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
  6. [lib]
  7. name = "custom_plugin"
  8. path = "src/lib.rs"
  9. crate-type = ["cdylib"]
  10. [features]
  11. default = ["flutter"]
  12. flutter = []
  13. [dependencies]
  14. lazy_static = "1.4.0"
  15. rustdesk = { path = "../../", version = "1.2.0", features = ["flutter"]}
  16. [profile.release]
  17. lto = true
  18. codegen-units = 1
  19. panic = 'abort'
  20. strip = true
  21. #opt-level = 'z' # only have smaller size after strip
  22. rpath = true