slint/Cargo.toml
Simon Hausmann 4cf3fa5179 Load custom fonts from disk only once
Use the new cargo resolver, enable the fs feature of fontdb (which enables mmap)
and then load the fonts from path only once.

This will avoid excessive I/O when the preview starts loading custom fonts.
2021-04-13 10:06:46 +02:00

73 lines
1.9 KiB
TOML

[workspace]
members = [
'sixtyfps_runtime/corelib',
'sixtyfps_runtime/corelib_macros',
'sixtyfps_runtime/interpreter',
'sixtyfps_runtime/rendering_backends/gl',
'sixtyfps_runtime/rendering_backends/qt',
'sixtyfps_runtime/rendering_backends/default',
'sixtyfps_compiler',
'sixtyfps_compiler/parser_test_macro',
'api/sixtyfps-rs',
'api/sixtyfps-rs/sixtyfps-macros',
'api/sixtyfps-rs/sixtyfps-build',
'api/sixtyfps-cpp',
'api/sixtyfps-node/native',
'api/sixtyfps-wasm-interpreter',
'tools/compiler',
'tools/viewer',
'tools/syntax_updater',
'tools/lsp',
'examples/gallery',
'examples/printerdemo/rust',
'examples/printerdemo_old/rust',
'examples/todo/rust',
'examples/slide_puzzle',
'examples/7gui',
'examples/memory',
'helper_crates/const-field-offset',
'helper_crates/vtable',
'helper_crates/vtable/macro',
'xtask',
'tests/doctests',
'tests/driver/driverlib',
'tests/driver/rust',
'tests/driver/cpp',
'tests/driver/nodejs',
'tests/driver/interpreter',
]
default-members = [
'sixtyfps_runtime/corelib',
'sixtyfps_runtime/interpreter',
'sixtyfps_runtime/rendering_backends/gl',
'sixtyfps_runtime/rendering_backends/qt',
'sixtyfps_runtime/rendering_backends/default',
'sixtyfps_compiler',
'api/sixtyfps-rs',
'api/sixtyfps-rs/sixtyfps-build',
'api/sixtyfps-node/native',
'tools/compiler',
'tools/viewer',
'tools/syntax_updater',
'tools/lsp',
'examples/gallery',
'examples/printerdemo/rust',
'examples/printerdemo_old/rust',
'examples/todo/rust',
'examples/slide_puzzle',
'examples/memory',
'tests/doctests',
'tests/driver/rust',
'tests/driver/nodejs',
'tests/driver/interpreter',
]
resolver = "2"
[profile.release]
lto = true
panic = "abort"
[profile.dev]
panic = "abort"