Merge pull request #2579 from dcampbell24/add-rust-version

Add rust-version.
This commit is contained in:
Héctor Ramón 2024-09-18 22:02:15 +02:00 committed by GitHub
commit a61c84b7e0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 2 deletions

View file

@ -8,7 +8,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
rust: [stable, beta]
rust: [stable, beta, "1.80"]
steps:
- uses: hecrj/setup-rust-action@v2
with:

View file

@ -9,6 +9,7 @@ repository.workspace = true
homepage.workspace = true
categories.workspace = true
keywords.workspace = true
rust-version.workspace = true
[lints]
workspace = true
@ -124,6 +125,7 @@ repository = "https://github.com/iced-rs/iced"
homepage = "https://iced.rs"
categories = ["gui"]
keywords = ["gui", "ui", "graphics", "interface", "widgets"]
rust-version = "1.80"
[workspace.dependencies]
iced = { version = "0.13.0", path = "." }

View file

@ -239,7 +239,7 @@ pub fn parse(markdown: &str) -> impl Iterator<Item = Item> + '_ {
) if !metadata && !table => {
#[cfg(feature = "highlighter")]
{
use iced_highlighter::{self, Highlighter};
use iced_highlighter::Highlighter;
use text::Highlighter as _;
highlighter =