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:
Olivier Goffart 2025-04-09 15:06:00 +02:00 committed by GitHub
parent 9942afd183
commit 78a3757b7f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
52 changed files with 144 additions and 700 deletions

View file

@ -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 }

View file

@ -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' }