Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to edition 2024 #292

Merged
merged 2 commits into from
Mar 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ env:
# If the compilation fails, then the version specified here needs to be bumped up to reality.
# Be sure to also update the rust-version property in the workspace Cargo.toml file,
# plus all the README.md files of the affected packages.
RUST_MIN_VER: "1.82"
RUST_MIN_VER: "1.85"
# List of packages that will be checked with the minimum supported Rust version.
# This should be limited to packages that are intended for publishing.
RUST_MIN_VER_PKGS: "-p parley -p fontique"
Expand Down
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ You can find its changes [documented below](#030---2025-02-27).

## [Unreleased]

This release has an [MSRV] of 1.82.
This release has an [MSRV] of 1.85.

### Internals

Switched to edition 2024.

## [0.3.0] - 2025-02-27

Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ members = [
]

[workspace.package]
edition = "2021"
edition = "2024"
# Keep in sync with RUST_MIN_VER in .github/workflows/ci.yml, with the relevant README.md files
# and with the MSRV in the `Unreleased` section of CHANGELOG.md.
rust-version = "1.82"
rust-version = "1.85"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/linebender/parley"

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Besides what the other libraries do, this involves things like determining a gly

## Minimum supported Rust Version (MSRV)

This version of Parley has been verified to compile with **Rust 1.82** and later.
This version of Parley has been verified to compile with **Rust 1.85** and later.

Future versions of Parley might increase the Rust version requirement.
It will not be treated as a breaking change and as such can even happen with small patch releases.
Expand Down
2 changes: 1 addition & 1 deletion examples/swash_render/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ use parley::layout::{Alignment, Glyph, GlyphRun, Layout, PositionedLayoutItem};
use parley::style::{FontStack, FontWeight, StyleProperty, TextStyle};
use parley::{AlignmentOptions, FontContext, InlineBox, LayoutContext};
use std::fs::File;
use swash::FontRef;
use swash::scale::image::Content;
use swash::scale::{Render, ScaleContext, Scaler, Source, StrikeWith};
use swash::zeno;
use swash::FontRef;
use zeno::{Format, Vector};

#[derive(Clone, Copy, Debug, PartialEq)]
Expand Down
2 changes: 1 addition & 1 deletion examples/tiny_skia_render/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ use parley::{
Layout, LayoutContext, PositionedLayoutItem, StyleProperty,
};
use skrifa::{
GlyphId, MetadataProvider, OutlineGlyph,
instance::{LocationRef, NormalizedCoord, Size},
outline::{DrawSettings, OutlinePen},
raw::FontRef as ReadFontsRef,
GlyphId, MetadataProvider, OutlineGlyph,
};
use tiny_skia::{Color, FillRule, Paint, PathBuilder, Pixmap, PixmapMut, Rect, Transform};

Expand Down
4 changes: 2 additions & 2 deletions examples/vello_editor/src/text.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@

use accesskit::{Node, TreeUpdate};
use core::default::Default;
use parley::{editor::SplitString, layout::PositionedLayoutItem, GenericFamily, StyleProperty};
use parley::{GenericFamily, StyleProperty, editor::SplitString, layout::PositionedLayoutItem};
use std::time::{Duration, Instant};
use vello::{
Scene,
kurbo::{Affine, Line, Stroke},
peniko::color::palette,
peniko::{Brush, Fill},
Scene,
};
use winit::{
event::{Ime, Modifiers, Touch, WindowEvent},
Expand Down
2 changes: 1 addition & 1 deletion fontique/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Fontique provides font enumeration and fallback.

## Minimum supported Rust Version (MSRV)

This version of Fontique has been verified to compile with **Rust 1.82** and later.
This version of Fontique has been verified to compile with **Rust 1.85** and later.

Future versions of Fontique might increase the Rust version requirement.
It will not be treated as a breaking change and as such can even happen with small patch releases.
Expand Down
2 changes: 1 addition & 1 deletion fontique/src/backend/android.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use icu_locid::LanguageIdentifier;
use roxmltree::{Document, Node};

use super::{
scan, FallbackKey, FamilyId, FamilyInfo, FamilyNameMap, GenericFamily, GenericFamilyMap, Script,
FallbackKey, FamilyId, FamilyInfo, FamilyNameMap, GenericFamily, GenericFamilyMap, Script, scan,
};

// TODO: Use actual generic families here, where available, when fonts.xml is properly parsed.
Expand Down
2 changes: 1 addition & 1 deletion fontique/src/backend/coretext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// SPDX-License-Identifier: Apache-2.0 OR MIT

use super::{
scan, FallbackKey, FamilyId, FamilyInfo, FamilyNameMap, GenericFamily, GenericFamilyMap,
FallbackKey, FamilyId, FamilyInfo, FamilyNameMap, GenericFamily, GenericFamilyMap, scan,
};
use alloc::sync::Arc;
use core::ptr::{null, null_mut};
Expand Down
16 changes: 8 additions & 8 deletions fontique/src/backend/dwrite.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@

use hashbrown::HashMap;
use std::{
ffi::{c_void, OsString},
ffi::{OsString, c_void},
os::windows::ffi::OsStringExt,
path::PathBuf,
sync::Arc,
};
use windows::{
core::{implement, Interface, PCWSTR},
Win32::Graphics::DirectWrite::{
DWriteCreateFactory, IDWriteFactory, IDWriteFactory2, IDWriteFont, IDWriteFontCollection,
IDWriteFontFace, IDWriteFontFallback, IDWriteFontFamily, IDWriteFontFile,
IDWriteLocalFontFileLoader, IDWriteNumberSubstitution, IDWriteTextAnalysisSource,
IDWriteTextAnalysisSource_Impl, DWRITE_FACTORY_TYPE_SHARED, DWRITE_FONT_STRETCH_NORMAL,
DWRITE_FONT_STYLE_NORMAL, DWRITE_FONT_WEIGHT_REGULAR, DWRITE_READING_DIRECTION,
DWRITE_READING_DIRECTION_LEFT_TO_RIGHT,
DWRITE_FACTORY_TYPE_SHARED, DWRITE_FONT_STRETCH_NORMAL, DWRITE_FONT_STYLE_NORMAL,
DWRITE_FONT_WEIGHT_REGULAR, DWRITE_READING_DIRECTION,
DWRITE_READING_DIRECTION_LEFT_TO_RIGHT, DWriteCreateFactory, IDWriteFactory,
IDWriteFactory2, IDWriteFont, IDWriteFontCollection, IDWriteFontFace, IDWriteFontFallback,
IDWriteFontFamily, IDWriteFontFile, IDWriteLocalFontFileLoader, IDWriteNumberSubstitution,
IDWriteTextAnalysisSource, IDWriteTextAnalysisSource_Impl,
},
core::{Interface, PCWSTR, implement},
};

use super::{
Expand Down
3 changes: 2 additions & 1 deletion fontique/src/backend/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ mod system;

#[allow(unused_imports)]
use super::{
FallbackKey, FamilyId, FamilyInfo, FontInfo, GenericFamily, Script, SourceInfo,
family_name::{FamilyName, FamilyNameMap},
generic::GenericFamilyMap,
scan, FallbackKey, FamilyId, FamilyInfo, FontInfo, GenericFamily, Script, SourceInfo,
scan,
};

#[cfg(feature = "std")]
Expand Down
16 changes: 8 additions & 8 deletions fontique/src/collection/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,21 @@ pub use query::{Query, QueryFamily, QueryFont, QueryStatus};
use super::SourceCache;

use super::{
Blob, GenericFamily, Script,
backend::SystemFonts,
fallback::{FallbackKey, FallbackMap},
family::{FamilyId, FamilyInfo},
family_name::{FamilyName, FamilyNameMap},
font::FontInfo,
generic::GenericFamilyMap,
source::{SourceId, SourceInfo, SourceKind},
Blob, GenericFamily, Script,
};
use alloc::{string::String, sync::Arc, vec::Vec};
use core::sync::atomic::AtomicU64;
use hashbrown::HashMap;
use read_fonts::types::NameId;
#[cfg(feature = "std")]
use std::sync::{atomic::Ordering, Mutex};
use std::sync::{Mutex, atomic::Ordering};

type FamilyMap = HashMap<FamilyId, Option<FamilyInfo>>;

Expand Down Expand Up @@ -85,7 +85,7 @@ impl Collection {
///
/// If `fontique` was compiled with the `"system"` feature, then it will
/// include system fonts after the registered fonts.
pub fn family_names(&mut self) -> impl Iterator<Item = &str> + '_ + Clone {
pub fn family_names(&mut self) -> impl Iterator<Item = &str> + Clone {
self.inner.family_names()
}

Expand Down Expand Up @@ -114,7 +114,7 @@ impl Collection {
pub fn generic_families(
&mut self,
family: GenericFamily,
) -> impl Iterator<Item = FamilyId> + '_ + Clone {
) -> impl Iterator<Item = FamilyId> + Clone {
self.inner.generic_families(family)
}

Expand Down Expand Up @@ -142,7 +142,7 @@ impl Collection {
pub fn fallback_families(
&mut self,
key: impl Into<FallbackKey>,
) -> impl Iterator<Item = FamilyId> + '_ + Clone {
) -> impl Iterator<Item = FamilyId> + Clone {
self.inner.fallback_families(key)
}

Expand Down Expand Up @@ -214,7 +214,7 @@ impl Inner {
/// Returns an iterator over all available family names in the collection.
///
/// This includes both system and registered fonts.
pub fn family_names(&mut self) -> impl Iterator<Item = &str> + '_ + Clone {
pub fn family_names(&mut self) -> impl Iterator<Item = &str> + Clone {
self.sync_shared();
FamilyNames {
ours: self.data.family_names.iter(),
Expand Down Expand Up @@ -286,7 +286,7 @@ impl Inner {
pub fn generic_families(
&mut self,
family: GenericFamily,
) -> impl Iterator<Item = FamilyId> + '_ + Clone {
) -> impl Iterator<Item = FamilyId> + Clone {
self.sync_shared();
GenericFamilies {
ours: self.data.generic_families.get(family).iter().copied(),
Expand Down Expand Up @@ -349,7 +349,7 @@ impl Inner {
pub fn fallback_families(
&mut self,
key: impl Into<FallbackKey>,
) -> impl Iterator<Item = FamilyId> + '_ + Clone {
) -> impl Iterator<Item = FamilyId> + Clone {
let selector = key.into();
let script = selector.script();
let lang_key = selector.locale();
Expand Down
6 changes: 3 additions & 3 deletions fontique/src/font.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

use super::attributes::{FontStyle, FontWeight, FontWidth};
use super::source::{SourceInfo, SourceKind};
use super::{source_cache::SourceCache, Blob};
use read_fonts::{types::Tag, FontRef, TableProvider as _};
use super::{Blob, source_cache::SourceCache};
use read_fonts::{FontRef, TableProvider as _, types::Tag};
use smallvec::SmallVec;

type AxisVec = SmallVec<[AxisInfo; 1]>;
Expand Down Expand Up @@ -337,12 +337,12 @@ impl Synthesis {

fn read_attributes(font: &FontRef<'_>) -> (FontWidth, FontStyle, FontWeight) {
use read_fonts::{
TableProvider,
tables::{
head::{Head, MacStyle},
os2::{Os2, SelectionFlags},
post::Post,
},
TableProvider,
};

fn width_from_width_class(width_class: u16) -> FontWidth {
Expand Down
8 changes: 4 additions & 4 deletions fontique/src/generic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//! Generic font families.

use super::FamilyId;
use bytemuck::{checked::CheckedBitPattern, Contiguous, NoUninit, Zeroable};
use bytemuck::{Contiguous, NoUninit, Zeroable, checked::CheckedBitPattern};
use core::fmt;
use smallvec::SmallVec;

Expand Down Expand Up @@ -178,7 +178,7 @@ impl GenericFamilyMap {
#[cfg(test)]
mod tests {
use crate::GenericFamily;
use bytemuck::{checked::try_from_bytes, Contiguous, Zeroable};
use bytemuck::{Contiguous, Zeroable, checked::try_from_bytes};
use core::ptr;

#[test]
Expand Down Expand Up @@ -214,7 +214,7 @@ mod tests {
let mut value = 0;
while value <= GenericFamily::MAX_VALUE {
// Safety: In a const context, therefore if this makes an invalid GenericFamily, that will be detected.
// When updating the MSRV to 1.82 or later, this can use `&raw const value` instead of the addr_of!
// TODO: use `&raw const value` instead of the addr_of!
let it: GenericFamily = unsafe { ptr::read((core::ptr::addr_of!(value)).cast()) };
// Evaluate the enum value to ensure it actually has a valid tag
if it as u8 != value {
Expand All @@ -239,7 +239,7 @@ mod doctests {
/// let value = GenericFamily::MAX_VALUE + 1;
/// // Safety: In a const context, therefore if this makes an invalid GenericFamily, that will be detected.
/// // (Indeed, we rely upon that)
/// // When updating the MSRV to 1.82 or later, this can use `&raw const value` instead of the addr_of!
/// // TODO: use `&raw const value` instead of the addr_of!
/// let it: GenericFamily = unsafe { core::ptr::read((core::ptr::addr_of!(value)).cast()) };
/// // Evaluate the enum value to ensure it actually has an invalid tag
/// if it as u8 != value {
Expand Down
2 changes: 1 addition & 1 deletion fontique/src/scan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use super::{
};
use alloc::string::String;
use hashbrown::HashMap;
use read_fonts::{tables::name, types::NameId, FileRef, FontRef, TableProvider as _};
use read_fonts::{FileRef, FontRef, TableProvider as _, tables::name, types::NameId};
use smallvec::SmallVec;
#[cfg(feature = "std")]
use {super::source::SourcePathMap, std::path::Path};
Expand Down
35 changes: 28 additions & 7 deletions fontique/src/script.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,17 @@ pub const SCRIPT_SAMPLES: &[(Script, &str)] = &[
(Script(*b"Adlm"), "𞤀𞤁𞤂𞤃𞤄𞤅𞤆𞤇𞤈𞤉𞤊𞤋𞤌𞤍𞤎𞤏"),
(Script(*b"Aghb"), "𐔰𐔱𐔲𐔳𐔴𐔵𐔶𐔷𐔸𐔹𐔺𐔻𐔼𐔽𐔾𐔿"),
(Script(*b"Ahom"), "𑜀𑜁𑜂𑜃𑜄𑜅𑜆𑜇𑜈𑜉𑜊𑜋𑜌𑜍𑜎𑜏"),
(Script(*b"Arab"), "\u{600}\u{601}\u{602}\u{603}\u{604}؆؇؈؉؊؋؍؎؏\u{610}\u{611}"),
(
Script(*b"Arab"),
"\u{600}\u{601}\u{602}\u{603}\u{604}؆؇؈؉؊؋؍؎؏\u{610}\u{611}",
),
(Script(*b"Armi"), "𐡀𐡁𐡂𐡃𐡄𐡅𐡆𐡇𐡈𐡉𐡊𐡋𐡌𐡍𐡎𐡏"),
(Script(*b"Armn"), "ԱԲԳԴԵԶԷԸԹԺԻԼԽԾԿՀ"),
(Script(*b"Avst"), "𐬀𐬁𐬂𐬃𐬄𐬅𐬆𐬇𐬈𐬉𐬊𐬋𐬌𐬍𐬎𐬏"),
(Script(*b"Bali"), "\u{1b00}\u{1b01}\u{1b02}\u{1b03}ᬄᬅᬆᬇᬈᬉᬊᬋᬌᬍᬎᬏ"),
(
Script(*b"Bali"),
"\u{1b00}\u{1b01}\u{1b02}\u{1b03}ᬄᬅᬆᬇᬈᬉᬊᬋᬌᬍᬎᬏ",
),
(Script(*b"Bamu"), "ꚠꚡꚢꚣꚤꚥꚦꚧꚨꚩꚪꚫꚬꚭꚮꚯ"),
(Script(*b"Bass"), "𖫐𖫑𖫒𖫓𖫔𖫕𖫖𖫗𖫘𖫙𖫚𖫛𖫜𖫝𖫞𖫟"),
(Script(*b"Batk"), "ᯀᯁᯂᯃᯄᯅᯆᯇᯈᯉᯊᯋᯌᯍᯎᯏ"),
Expand Down Expand Up @@ -144,7 +150,10 @@ pub const SCRIPT_SAMPLES: &[(Script, &str)] = &[
(Script(*b"Hani"), "今"),
(Script(*b"Hano"), "ᜠᜡᜢᜣᜤᜥᜦᜧᜨᜩᜪᜫᜬᜭᜮᜯ"),
(Script(*b"Hatr"), "𐣠𐣡𐣢𐣣𐣤𐣥𐣦𐣧𐣨𐣩𐣪𐣫𐣬𐣭𐣮𐣯"),
(Script(*b"Hebr"), "\u{591}\u{592}\u{593}\u{594}\u{595}\u{596}\u{597}\u{598}\u{599}\u{59a}\u{59b}\u{59c}\u{59d}\u{59e}\u{59f}\u{5a0}"),
(
Script(*b"Hebr"),
"\u{591}\u{592}\u{593}\u{594}\u{595}\u{596}\u{597}\u{598}\u{599}\u{59a}\u{59b}\u{59c}\u{59d}\u{59e}\u{59f}\u{5a0}",
),
(Script(*b"Hira"), "ぁあぃいぅうぇえぉおかがきぎくぐ"),
(Script(*b"Hluw"), "𔐀𔐁𔐂𔐃𔐄𔐅𔐆𔐇𔐈𔐉𔐊𔐋𔐌𔐍𔐎𔐏"),
(Script(*b"Hmng"), "𖬀𖬁𖬂𖬃𖬄𖬅𖬆𖬇𖬈𖬉𖬊𖬋𖬌𖬍𖬎𖬏"),
Expand All @@ -155,7 +164,10 @@ pub const SCRIPT_SAMPLES: &[(Script, &str)] = &[
(Script(*b"Kali"), "꤀꤁꤂꤃꤄꤅꤆꤇꤈꤉ꤊꤋꤌꤍꤎꤏ"),
(Script(*b"Kana"), "ァアィイゥウェエォオカガキギクグ"),
(Script(*b"Kawi"), "\u{11f00}\u{11f01}𑼂𑼃𑼄𑼅𑼆𑼇𑼈𑼉𑼊𑼋𑼌𑼍𑼎𑼏"),
(Script(*b"Khar"), "𐨀\u{10a01}\u{10a02}\u{10a03}\u{10a05}\u{10a06}\u{10a0c}\u{10a0d}\u{10a0e}\u{10a0f}𐨐𐨑𐨒𐨓𐨕𐨖"),
(
Script(*b"Khar"),
"𐨀\u{10a01}\u{10a02}\u{10a03}\u{10a05}\u{10a06}\u{10a0c}\u{10a0d}\u{10a0e}\u{10a0f}𐨐𐨑𐨒𐨓𐨕𐨖",
),
(Script(*b"Khmr"), "កខគឃងចឆជឈញដឋឌឍណត"),
(Script(*b"Khoj"), "𑈀𑈁𑈂𑈃𑈄𑈅𑈆𑈇𑈈𑈉𑈊𑈋𑈌𑈍𑈎𑈏"),
(Script(*b"Kits"), "\u{16fe4}𘬀𘬁𘬂𘬃𘬄𘬅𘬆𘬇𘬈𘬉𘬊𘬋𘬌𘬍𘬎"),
Expand All @@ -182,7 +194,10 @@ pub const SCRIPT_SAMPLES: &[(Script, &str)] = &[
(Script(*b"Mero"), "𐦀𐦁𐦂𐦃𐦄𐦅𐦆𐦇𐦈𐦉𐦊𐦋𐦌𐦍𐦎𐦏"),
(Script(*b"Mlym"), "\u{d00}\u{d01}ംഃഄഅആഇഈഉഊഋഌഎഏഐ"),
(Script(*b"Modi"), "𑘀𑘁𑘂𑘃𑘄𑘅𑘆𑘇𑘈𑘉𑘊𑘋𑘌𑘍𑘎𑘏"),
(Script(*b"Mong"), "᠀᠁᠄᠆᠇᠈᠉᠊\u{180b}\u{180c}\u{180d}\u{180e}\u{180f}᠐᠑᠒"),
(
Script(*b"Mong"),
"᠀᠁᠄᠆᠇᠈᠉᠊\u{180b}\u{180c}\u{180d}\u{180e}\u{180f}᠐᠑᠒",
),
(Script(*b"Mroo"), "𖩀𖩁𖩂𖩃𖩄𖩅𖩆𖩇𖩈𖩉𖩊𖩋𖩌𖩍𖩎𖩏"),
(Script(*b"Mtei"), "ꫠꫡꫢꫣꫤꫥꫦꫧꫨꫩꫪꫫ\u{aaec}\u{aaed}ꫮꫯ"),
(Script(*b"Mult"), "𑊀𑊁𑊂𑊃𑊄𑊅𑊆𑊈𑊊𑊋𑊌𑊍𑊏𑊐𑊑𑊒"),
Expand Down Expand Up @@ -225,7 +240,10 @@ pub const SCRIPT_SAMPLES: &[(Script, &str)] = &[
(Script(*b"Sogd"), "𐼰𐼱𐼲𐼳𐼴𐼵𐼶𐼷𐼸𐼹𐼺𐼻𐼼𐼽𐼾𐼿"),
(Script(*b"Sogo"), "𐼀𐼁𐼂𐼃𐼄𐼅𐼆𐼇𐼈𐼉𐼊𐼋𐼌𐼍𐼎𐼏"),
(Script(*b"Sora"), "𑃐𑃑𑃒𑃓𑃔𑃕𑃖𑃗𑃘𑃙𑃚𑃛𑃜𑃝𑃞𑃟"),
(Script(*b"Soyo"), "𑩐\u{11a51}\u{11a52}\u{11a53}\u{11a54}\u{11a55}\u{11a56}𑩗𑩘\u{11a59}\u{11a5a}\u{11a5b}𑩜𑩝𑩞𑩟"),
(
Script(*b"Soyo"),
"𑩐\u{11a51}\u{11a52}\u{11a53}\u{11a54}\u{11a55}\u{11a56}𑩗𑩘\u{11a59}\u{11a5a}\u{11a5b}𑩜𑩝𑩞𑩟",
),
(Script(*b"Sund"), "\u{1b80}\u{1b81}ᮂᮃᮄᮅᮆᮇᮈᮉᮊᮋᮌᮍᮎᮏ"),
(Script(*b"Sylo"), "ꠀꠁ\u{a802}ꠃꠄꠅ\u{a806}ꠇꠈꠉꠊ\u{a80b}ꠌꠍꠎꠏ"),
(Script(*b"Syrc"), "܀܁܂܃܄܅܆܇܈܉܊܋܌܍\u{70f}ܐ"),
Expand Down Expand Up @@ -254,5 +272,8 @@ pub const SCRIPT_SAMPLES: &[(Script, &str)] = &[
(Script(*b"Xsux"), "𒀀𒀁𒀂𒀃𒀄𒀅𒀆𒀇𒀈𒀉𒀊𒀋𒀌𒀍𒀎𒀏"),
(Script(*b"Yezi"), "𐺀𐺁𐺂𐺃𐺄𐺅𐺆𐺇𐺈𐺉𐺊𐺋𐺌𐺍𐺎𐺏"),
(Script(*b"Yiii"), "ꀀꀁꀂꀃꀄꀅꀆꀇꀈꀉꀊꀋꀌꀍꀎꀏ"),
(Script(*b"Zanb"), "𑨀\u{11a01}\u{11a02}\u{11a03}\u{11a04}\u{11a05}\u{11a06}\u{11a07}\u{11a08}\u{11a09}\u{11a0a}𑨋𑨌𑨍𑨎𑨏"),
(
Script(*b"Zanb"),
"𑨀\u{11a01}\u{11a02}\u{11a03}\u{11a04}\u{11a05}\u{11a06}\u{11a07}\u{11a08}\u{11a09}\u{11a0a}𑨋𑨌𑨍𑨎𑨏",
),
];
2 changes: 1 addition & 1 deletion parley/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ It is backed by [Swash](https://github.com/dfrg/swash).

## Minimum supported Rust Version (MSRV)

This version of Parley has been verified to compile with **Rust 1.82** and later.
This version of Parley has been verified to compile with **Rust 1.85** and later.

Future versions of Parley might increase the Rust version requirement.
It will not be treated as a breaking change and as such can even happen with small patch releases.
Expand Down
Loading
Loading