uniffi-rs-fullstack-examples/Cargo.toml

21 lines
769 B
TOML
Raw Normal View History

[workspace]
resolver = "2"
members = ["hello", "uniffi-bindgen"]
default-members = ["hello"]
[profile.release]
codegen-units = 1 # Reduce number of codegen units to increase optimizations.
lto = true # Enable Link Time Optimization
opt-level = 3 # All optimizations # https://doc.rust-lang.org/cargo/reference/profiles.html#opt-level
# panic = 'abort' # Abort on panic
debug = true # Enable debug symbols. For example, we can use `dwarfdump` to check crash traces.
[workspace.dependencies]
# uniffi = { version = "0.24" }
# uniffi_bindgen = { version = "0.24" }
# Note uniffi 0.24 has bugs so some interfaces are not created.
uniffi = { git = "https://github.com/mozilla/uniffi-rs" }
uniffi_bindgen = { git = "https://github.com/mozilla/uniffi-rs" }