Merge pull request #2579 from dcampbell24/add-rust-version
Add rust-version.
This commit is contained in:
commit
a61c84b7e0
3 changed files with 4 additions and 2 deletions
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
|
|
@ -8,7 +8,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, windows-latest, macOS-latest]
|
os: [ubuntu-latest, windows-latest, macOS-latest]
|
||||||
rust: [stable, beta]
|
rust: [stable, beta, "1.80"]
|
||||||
steps:
|
steps:
|
||||||
- uses: hecrj/setup-rust-action@v2
|
- uses: hecrj/setup-rust-action@v2
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@ repository.workspace = true
|
||||||
homepage.workspace = true
|
homepage.workspace = true
|
||||||
categories.workspace = true
|
categories.workspace = true
|
||||||
keywords.workspace = true
|
keywords.workspace = true
|
||||||
|
rust-version.workspace = true
|
||||||
|
|
||||||
[lints]
|
[lints]
|
||||||
workspace = true
|
workspace = true
|
||||||
|
|
@ -124,6 +125,7 @@ repository = "https://github.com/iced-rs/iced"
|
||||||
homepage = "https://iced.rs"
|
homepage = "https://iced.rs"
|
||||||
categories = ["gui"]
|
categories = ["gui"]
|
||||||
keywords = ["gui", "ui", "graphics", "interface", "widgets"]
|
keywords = ["gui", "ui", "graphics", "interface", "widgets"]
|
||||||
|
rust-version = "1.80"
|
||||||
|
|
||||||
[workspace.dependencies]
|
[workspace.dependencies]
|
||||||
iced = { version = "0.13.0", path = "." }
|
iced = { version = "0.13.0", path = "." }
|
||||||
|
|
|
||||||
|
|
@ -239,7 +239,7 @@ pub fn parse(markdown: &str) -> impl Iterator<Item = Item> + '_ {
|
||||||
) if !metadata && !table => {
|
) if !metadata && !table => {
|
||||||
#[cfg(feature = "highlighter")]
|
#[cfg(feature = "highlighter")]
|
||||||
{
|
{
|
||||||
use iced_highlighter::{self, Highlighter};
|
use iced_highlighter::Highlighter;
|
||||||
use text::Highlighter as _;
|
use text::Highlighter as _;
|
||||||
|
|
||||||
highlighter =
|
highlighter =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue