diff --git a/Cargo.toml b/Cargo.toml index cf05d4efe..92c77d1a8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -78,6 +78,9 @@ default-members = [ resolver="2" +[workspace.package] +rust-version = "1.64" + [profile.release] lto = true panic = "abort" diff --git a/api/cpp/Cargo.toml b/api/cpp/Cargo.toml index 350c77c76..05732bf0e 100644 --- a/api/cpp/Cargo.toml +++ b/api/cpp/Cargo.toml @@ -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" diff --git a/api/rs/build/Cargo.toml b/api/rs/build/Cargo.toml index 51b7210f0..97d539be9 100644 --- a/api/rs/build/Cargo.toml +++ b/api/rs/build/Cargo.toml @@ -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" diff --git a/api/rs/slint/Cargo.toml b/api/rs/slint/Cargo.toml index 1efa31665..7f70d46ba 100644 --- a/api/rs/slint/Cargo.toml +++ b/api/rs/slint/Cargo.toml @@ -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" diff --git a/examples/7guis/Cargo.toml b/examples/7guis/Cargo.toml index 985ca2f62..6e260e186 100644 --- a/examples/7guis/Cargo.toml +++ b/examples/7guis/Cargo.toml @@ -8,7 +8,7 @@ authors = ["Slint Developers "] 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" diff --git a/internal/backends/winit/Cargo.toml b/internal/backends/winit/Cargo.toml index 60a9ecdeb..0a0bb3610 100644 --- a/internal/backends/winit/Cargo.toml +++ b/internal/backends/winit/Cargo.toml @@ -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" diff --git a/internal/compiler/Cargo.toml b/internal/compiler/Cargo.toml index 91fa9476f..989850d58 100644 --- a/internal/compiler/Cargo.toml +++ b/internal/compiler/Cargo.toml @@ -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" diff --git a/internal/core/Cargo.toml b/internal/core/Cargo.toml index e33fbce57..b0b97bda0 100644 --- a/internal/core/Cargo.toml +++ b/internal/core/Cargo.toml @@ -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" diff --git a/internal/interpreter/Cargo.toml b/internal/interpreter/Cargo.toml index e15154e32..43340debd 100644 --- a/internal/interpreter/Cargo.toml +++ b/internal/interpreter/Cargo.toml @@ -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" diff --git a/tools/lsp/Cargo.toml b/tools/lsp/Cargo.toml index 41428b313..0880c850a 100644 --- a/tools/lsp/Cargo.toml +++ b/tools/lsp/Cargo.toml @@ -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"