rustdesk/examples/custom_plugin/Cargo.toml

28 lines
542 B
TOML
Raw Permalink Normal View History

[package]
name = "custom_plugin"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "custom_plugin"
path = "src/lib.rs"
crate-type = ["cdylib"]
2023-04-13 23:00:01 +08:00
[features]
default = ["flutter"]
flutter = []
[dependencies]
lazy_static = "1.4.0"
2023-04-13 23:00:01 +08:00
rustdesk = { path = "../../", version = "1.2.0", features = ["flutter"]}
[profile.release]
lto = true
codegen-units = 1
panic = 'abort'
strip = true
#opt-level = 'z' # only have smaller size after strip
rpath = true