interpreter: Introduce internal feature

... and use it to hide internal functionality so users will notice that
they depend on fucntionality we do not provide any guarantees for.

Make the lsp and viewer request the internal feature when building the
interpreter.
This commit is contained in:
Tobias Hunger 2023-10-20 13:51:21 +02:00 committed by Tobias Hunger
parent d6ec7f23a1
commit df544fe1c9
7 changed files with 22 additions and 7 deletions

View file

@ -22,7 +22,7 @@ name = "slint_node_native"
[dependencies]
i-slint-compiler = { workspace = true, features = ["default"] }
i-slint-core = { workspace = true, features = ["default"] }
slint-interpreter = { workspace = true, features = ["default", "display-diagnostics"] }
slint-interpreter = { workspace = true, features = ["default", "display-diagnostics", "internal"] }
vtable = { version = "0.1.6", path="../../../helper_crates/vtable" }