mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-30 23:27:22 +00:00
Remormat all the toml file again to fix npm upload
Commit cd6f2e2
reformated the .toml, but the 80 char width column is
judged too small to be practical
Add a .taplo.toml file
Also do not split feature array
This commit is contained in:
parent
9942afd183
commit
78a3757b7f
52 changed files with 144 additions and 700 deletions
|
@ -22,13 +22,7 @@ name = "stub-gen"
|
|||
path = "stub-gen/main.rs"
|
||||
|
||||
[features]
|
||||
default = [
|
||||
"backend-winit",
|
||||
"renderer-femtovg",
|
||||
"renderer-software",
|
||||
"backend-qt",
|
||||
"accessibility",
|
||||
]
|
||||
default = ["backend-winit", "renderer-femtovg", "renderer-software", "backend-qt", "accessibility"]
|
||||
# Keep in sync with features in nightly_snapshot.yaml, cpp_package.yaml, slint_tool_binary.yaml, and api/node/Cargo.toml
|
||||
# binaries: default = ["backend-linuxkms-noseat", "backend-winit", "renderer-femtovg", "renderer-skia", "accessibility"]
|
||||
|
||||
|
@ -49,18 +43,9 @@ accessibility = ["slint-interpreter/accessibility"]
|
|||
[dependencies]
|
||||
i-slint-backend-selector = { workspace = true }
|
||||
i-slint-core = { workspace = true }
|
||||
slint-interpreter = { workspace = true, features = [
|
||||
"default",
|
||||
"display-diagnostics",
|
||||
"internal",
|
||||
] }
|
||||
slint-interpreter = { workspace = true, features = ["default", "display-diagnostics", "internal"] }
|
||||
i-slint-compiler = { workspace = true }
|
||||
pyo3 = { version = "0.24", features = [
|
||||
"extension-module",
|
||||
"indexmap",
|
||||
"chrono",
|
||||
"abi3-py310",
|
||||
] }
|
||||
pyo3 = { version = "0.24", features = ["extension-module", "indexmap", "chrono", "abi3-py310"] }
|
||||
indexmap = { version = "2.1.0" }
|
||||
chrono = "0.4"
|
||||
spin_on = { workspace = true }
|
||||
|
|
|
@ -41,21 +41,11 @@ Tracker = "https://github.com/slint-ui/slint/issues"
|
|||
dev = ["pytest"]
|
||||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"mypy>=1.15.0",
|
||||
"nox>=2024.10.9",
|
||||
"pdoc>=15.0.1",
|
||||
"pytest>=8.3.4",
|
||||
"ruff>=0.9.6",
|
||||
]
|
||||
dev = ["mypy>=1.15.0", "nox>=2024.10.9", "pdoc>=15.0.1", "pytest>=8.3.4", "ruff>=0.9.6"]
|
||||
|
||||
[tool.uv]
|
||||
# Rebuild package when any rust files change
|
||||
cache-keys = [
|
||||
{ file = "pyproject.toml" },
|
||||
{ file = "Cargo.toml" },
|
||||
{ file = "**/*.rs" },
|
||||
]
|
||||
cache-keys = [{ file = "pyproject.toml" }, { file = "Cargo.toml" }, { file = "**/*.rs" }]
|
||||
# Uncomment to build rust code in development mode
|
||||
# config-settings = { build-args = '--profile=dev' }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue