mirror of
https://github.com/slint-ui/slint.git
synced 2025-12-23 09:19:32 +00:00
Centralize rust-version in Cargo.toml
Require 1.64 in the workspace and inherit the setting in package Cargo.toml files.
This commit is contained in:
parent
d764796e0c
commit
11f46906a2
10 changed files with 12 additions and 8 deletions
|
|
@ -78,6 +78,9 @@ default-members = [
|
|||
|
||||
resolver="2"
|
||||
|
||||
[workspace.package]
|
||||
rust-version = "1.64"
|
||||
|
||||
[profile.release]
|
||||
lto = true
|
||||
panic = "abort"
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ description = "Slint C++ integration"
|
|||
repository = "https://github.com/slint-ui/slint"
|
||||
homepage = "https://slint-ui.com"
|
||||
publish = false
|
||||
rust-version = "1.60"
|
||||
rust-version.workspace = true
|
||||
# prefix used to convey path to generated includes to the C++ test driver
|
||||
links = "slint_cpp"
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ license = "GPL-3.0-only OR LicenseRef-Slint-commercial"
|
|||
description = "Helper for Slint build script"
|
||||
repository = "https://github.com/slint-ui/slint"
|
||||
homepage = "https://slint-ui.com"
|
||||
rust-version = "1.60"
|
||||
rust-version.workspace = true
|
||||
|
||||
[lib]
|
||||
path = "lib.rs"
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ repository = "https://github.com/slint-ui/slint"
|
|||
homepage = "https://slint-ui.com"
|
||||
categories = ["gui", "rendering::engine"]
|
||||
keywords = ["gui", "toolkit", "graphics", "design", "ui"]
|
||||
rust-version = "1.60"
|
||||
rust-version.workspace = true
|
||||
|
||||
[lib]
|
||||
path = "lib.rs"
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ authors = ["Slint Developers <info@slint-ui.com>"]
|
|||
edition = "2021"
|
||||
publish = false
|
||||
license = "GPL-3.0-only OR LicenseRef-Slint-commercial"
|
||||
rust-version = "1.60"
|
||||
rust-version.workspace = true
|
||||
|
||||
[[bin]]
|
||||
path = "booker.rs"
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ description = "OpenGL rendering backend for Slint"
|
|||
repository = "https://github.com/slint-ui/slint"
|
||||
homepage = "https://slint-ui.com"
|
||||
build = "build.rs"
|
||||
rust-version.workspace = true
|
||||
|
||||
[lib]
|
||||
path = "lib.rs"
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ license = "GPL-3.0-only OR LicenseRef-Slint-commercial"
|
|||
description = "Internal Slint Compiler Library"
|
||||
repository = "https://github.com/slint-ui/slint"
|
||||
homepage = "https://slint-ui.com"
|
||||
rust-version = "1.60"
|
||||
rust-version.workspace = true
|
||||
|
||||
[lib]
|
||||
path = "lib.rs"
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ repository = "https://github.com/slint-ui/slint"
|
|||
homepage = "https://slint-ui.com"
|
||||
categories = ["gui", "development-tools"]
|
||||
keywords = ["gui", "ui", "toolkit", "graphics", "design"]
|
||||
rust-version = "1.60"
|
||||
rust-version.workspace = true
|
||||
|
||||
[lib]
|
||||
path = "lib.rs"
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ repository = "https://github.com/slint-ui/slint"
|
|||
homepage = "https://slint-ui.com"
|
||||
categories = ["gui", "rendering::engine"]
|
||||
keywords = ["gui", "toolkit", "graphics", "design", "ui"]
|
||||
rust-version = "1.60"
|
||||
rust-version.workspace = true
|
||||
|
||||
[lib]
|
||||
path = "lib.rs"
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ repository = "https://github.com/slint-ui/slint"
|
|||
homepage = "https://slint-ui.com"
|
||||
categories = ["gui", "development-tools"]
|
||||
keywords = ["lsp"]
|
||||
rust-version = "1.60"
|
||||
rust-version.workspace = true
|
||||
|
||||
[package.metadata.bundle]
|
||||
name = "Slint Live Preview"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue