Skip to content

Commit

Permalink
Add renderer-software to the default features for slint-viewer and sl…
Browse files Browse the repository at this point in the history
…int-lsp

This mirrors the defaults in the slint and slint-interpreter crates, as
well as the C++ API.
  • Loading branch information
tronical committed Jul 8, 2024
1 parent 882cbd1 commit 5ac5183
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/lsp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ preview-builtin = ["preview-engine"]
## Support the external preview optionally used by e.g. the VSCode plugin
preview-external = []

default = ["backend-default", "renderer-femtovg", "preview"]
default = ["backend-default", "renderer-femtovg", "renderer-software", "preview"]

[dependencies]
i-slint-compiler = { workspace = true, features = ["display-diagnostics"] }
Expand Down
2 changes: 1 addition & 1 deletion tools/viewer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ renderer-winit-software = ["renderer-software"]
## so that the viewer can find the translation
gettext = ["i-slint-core/gettext-rs"]

default = ["backend-default", "renderer-femtovg"]
default = ["backend-default", "renderer-femtovg", "renderer-software"]

[dependencies]
i-slint-compiler = { workspace = true }
Expand Down

0 comments on commit 5ac5183

Please sign in to comment.