diff options
author | 2024-09-18 22:02:15 +0200 | |
---|---|---|
committer | 2024-09-18 22:02:15 +0200 | |
commit | a61c84b7e09a53ed7977692c4d7d7d5c589aed5c (patch) | |
tree | e17f88a9f1507200fca387fd578c7abcce3f7f2f | |
parent | db7ba958d1ddebe6a2fcbec00582f81524cc6e69 (diff) | |
parent | 15e6c949d73fa43285ad713c5abe32355823956f (diff) | |
download | iced-a61c84b7e09a53ed7977692c4d7d7d5c589aed5c.tar.gz iced-a61c84b7e09a53ed7977692c4d7d7d5c589aed5c.tar.bz2 iced-a61c84b7e09a53ed7977692c4d7d7d5c589aed5c.zip |
Merge pull request #2579 from dcampbell24/add-rust-version
Add rust-version.
-rw-r--r-- | .github/workflows/test.yml | 2 | ||||
-rw-r--r-- | Cargo.toml | 2 | ||||
-rw-r--r-- | widget/src/markdown.rs | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 47c61f5e..ea941509 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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: @@ -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 = "." } diff --git a/widget/src/markdown.rs b/widget/src/markdown.rs index fa4ee6bf..4bcd3353 100644 --- a/widget/src/markdown.rs +++ b/widget/src/markdown.rs @@ -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 = |