mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-11-24 20:53:18 +08:00
28 lines
542 B
TOML
28 lines
542 B
TOML
[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"]
|
|
|
|
|
|
[features]
|
|
default = ["flutter"]
|
|
flutter = []
|
|
|
|
[dependencies]
|
|
lazy_static = "1.4.0"
|
|
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 |