Skip to content

Commit

Permalink
Merge pull request #2579 from dcampbell24/add-rust-version
Browse files Browse the repository at this point in the history
Add rust-version.
  • Loading branch information
hecrj authored Sep 18, 2024
2 parents db7ba95 + 15e6c94 commit a61c84b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ repository.workspace = true
homepage.workspace = true
categories.workspace = true
keywords.workspace = true
rust-version.workspace = true

[lints]
workspace = true
Expand Down Expand Up @@ -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 = "." }
Expand Down
2 changes: 1 addition & 1 deletion widget/src/markdown.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit a61c84b

Please sign in to comment.