mirror of
https://github.com/element-hq/matrix-rich-text-editor.git
synced 2026-01-11 19:46:33 +00:00
32 lines
1.2 KiB
TOML
32 lines
1.2 KiB
TOML
[workspace]
|
|
members = [
|
|
"bindings/wysiwyg-ffi",
|
|
"bindings/wysiwyg-wasm",
|
|
"crates/wysiwyg",
|
|
"crates/matrix_mentions",
|
|
"uniffi-bindgen",
|
|
]
|
|
default-members = [
|
|
"crates/wysiwyg",
|
|
"crates/matrix_mentions",
|
|
]
|
|
resolver = "2"
|
|
|
|
[workspace.package]
|
|
rust-version = "1.90"
|
|
license-file = "README.md"
|
|
|
|
[workspace.dependencies]
|
|
uniffi = { git = "https://github.com/mozilla/uniffi-rs", rev = "789a9023b522562a95618443cee5a0d4f111c4c7" }
|
|
uniffi_macros = { git = "https://github.com/mozilla/uniffi-rs", rev = "789a9023b522562a95618443cee5a0d4f111c4c7" }
|
|
uniffi_build = { git = "https://github.com/mozilla/uniffi-rs", rev = "789a9023b522562a95618443cee5a0d4f111c4c7" }
|
|
|
|
[profile.release]
|
|
opt-level = 'z' # Optimize for size.
|
|
lto = true # Enable Link Time Optimization
|
|
codegen-units = 1 # Reduce number of codegen units to increase optimizations.
|
|
# Unwind on panic to allow error handling at the FFI boundary. Note this
|
|
# imposes a small performance/size cost and it could be worth switching
|
|
# the behaviour to 'abort' once the library is stable.
|
|
panic = 'unwind'
|
|
debug = true # Enable debug symbols. For example, we can use `dwarfdump` to check crash traces.
|