mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-16 18:37:24 +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"
|
resolver="2"
|
||||||
|
|
||||||
|
[workspace.package]
|
||||||
|
rust-version = "1.64"
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
lto = true
|
lto = true
|
||||||
panic = "abort"
|
panic = "abort"
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ description = "Slint C++ integration"
|
||||||
repository = "https://github.com/slint-ui/slint"
|
repository = "https://github.com/slint-ui/slint"
|
||||||
homepage = "https://slint-ui.com"
|
homepage = "https://slint-ui.com"
|
||||||
publish = false
|
publish = false
|
||||||
rust-version = "1.60"
|
rust-version.workspace = true
|
||||||
# prefix used to convey path to generated includes to the C++ test driver
|
# prefix used to convey path to generated includes to the C++ test driver
|
||||||
links = "slint_cpp"
|
links = "slint_cpp"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ license = "GPL-3.0-only OR LicenseRef-Slint-commercial"
|
||||||
description = "Helper for Slint build script"
|
description = "Helper for Slint build script"
|
||||||
repository = "https://github.com/slint-ui/slint"
|
repository = "https://github.com/slint-ui/slint"
|
||||||
homepage = "https://slint-ui.com"
|
homepage = "https://slint-ui.com"
|
||||||
rust-version = "1.60"
|
rust-version.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "lib.rs"
|
path = "lib.rs"
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ repository = "https://github.com/slint-ui/slint"
|
||||||
homepage = "https://slint-ui.com"
|
homepage = "https://slint-ui.com"
|
||||||
categories = ["gui", "rendering::engine"]
|
categories = ["gui", "rendering::engine"]
|
||||||
keywords = ["gui", "toolkit", "graphics", "design", "ui"]
|
keywords = ["gui", "toolkit", "graphics", "design", "ui"]
|
||||||
rust-version = "1.60"
|
rust-version.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "lib.rs"
|
path = "lib.rs"
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ authors = ["Slint Developers <info@slint-ui.com>"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
publish = false
|
publish = false
|
||||||
license = "GPL-3.0-only OR LicenseRef-Slint-commercial"
|
license = "GPL-3.0-only OR LicenseRef-Slint-commercial"
|
||||||
rust-version = "1.60"
|
rust-version.workspace = true
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
path = "booker.rs"
|
path = "booker.rs"
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@ description = "OpenGL rendering backend for Slint"
|
||||||
repository = "https://github.com/slint-ui/slint"
|
repository = "https://github.com/slint-ui/slint"
|
||||||
homepage = "https://slint-ui.com"
|
homepage = "https://slint-ui.com"
|
||||||
build = "build.rs"
|
build = "build.rs"
|
||||||
|
rust-version.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "lib.rs"
|
path = "lib.rs"
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ license = "GPL-3.0-only OR LicenseRef-Slint-commercial"
|
||||||
description = "Internal Slint Compiler Library"
|
description = "Internal Slint Compiler Library"
|
||||||
repository = "https://github.com/slint-ui/slint"
|
repository = "https://github.com/slint-ui/slint"
|
||||||
homepage = "https://slint-ui.com"
|
homepage = "https://slint-ui.com"
|
||||||
rust-version = "1.60"
|
rust-version.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "lib.rs"
|
path = "lib.rs"
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ repository = "https://github.com/slint-ui/slint"
|
||||||
homepage = "https://slint-ui.com"
|
homepage = "https://slint-ui.com"
|
||||||
categories = ["gui", "development-tools"]
|
categories = ["gui", "development-tools"]
|
||||||
keywords = ["gui", "ui", "toolkit", "graphics", "design"]
|
keywords = ["gui", "ui", "toolkit", "graphics", "design"]
|
||||||
rust-version = "1.60"
|
rust-version.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "lib.rs"
|
path = "lib.rs"
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ repository = "https://github.com/slint-ui/slint"
|
||||||
homepage = "https://slint-ui.com"
|
homepage = "https://slint-ui.com"
|
||||||
categories = ["gui", "rendering::engine"]
|
categories = ["gui", "rendering::engine"]
|
||||||
keywords = ["gui", "toolkit", "graphics", "design", "ui"]
|
keywords = ["gui", "toolkit", "graphics", "design", "ui"]
|
||||||
rust-version = "1.60"
|
rust-version.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "lib.rs"
|
path = "lib.rs"
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ repository = "https://github.com/slint-ui/slint"
|
||||||
homepage = "https://slint-ui.com"
|
homepage = "https://slint-ui.com"
|
||||||
categories = ["gui", "development-tools"]
|
categories = ["gui", "development-tools"]
|
||||||
keywords = ["lsp"]
|
keywords = ["lsp"]
|
||||||
rust-version = "1.60"
|
rust-version.workspace = true
|
||||||
|
|
||||||
[package.metadata.bundle]
|
[package.metadata.bundle]
|
||||||
name = "Slint Live Preview"
|
name = "Slint Live Preview"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue