feat: bump edition of most crates to rust 2024 (#2042)
Some checks are pending
tinymist::auto_tag / auto-tag (push) Waiting to run
tinymist::ci / announce (push) Blocked by required conditions
tinymist::ci / Duplicate Actions Detection (push) Waiting to run
tinymist::ci / Check Clippy, Formatting, Completion, Documentation, and Tests (Linux) (push) Waiting to run
tinymist::ci / Check Minimum Rust version and Tests (Windows) (push) Waiting to run
tinymist::ci / prepare-build (push) Waiting to run
tinymist::ci / build (push) Blocked by required conditions
tinymist::gh_pages / build-gh-pages (push) Waiting to run

This commit is contained in:
Myriad-Dreamin 2025-08-18 16:48:41 +08:00 committed by GitHub
parent d227ad2a53
commit 05280aec4d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
128 changed files with 340 additions and 331 deletions

View file

@ -6,13 +6,13 @@ use ecow::EcoString;
use tinymist_std::error::prelude::*;
use tinymist_std::typst::{TypstDocument, TypstHtmlDocument, TypstPagedDocument};
use tinymist_world::{CompileSnapshot, CompilerFeat, ExportComputation, WorldComputeGraph};
use typst::World;
use typst::diag::{SourceResult, StrResult};
use typst::foundations::{Bytes, Content, IntoValue, LocatableSelector, Scope, Value};
use typst::layout::Abs;
use typst::routines::EvalMode;
use typst::syntax::{ast, Span, SyntaxNode};
use typst::syntax::{Span, SyntaxNode, ast};
use typst::visualize::Color;
use typst::World;
use typst_eval::eval_string;
use crate::model::{ExportHtmlTask, ExportPngTask, ExportSvgTask};

View file

@ -1,6 +1,6 @@
use tinymist_std::time::ToUtcDateTime;
pub use typst_pdf::pdf;
pub use typst_pdf::PdfStandard as TypstPdfStandard;
pub use typst_pdf::pdf;
use typst_pdf::{PdfOptions, PdfStandards, Timestamp};

View file

@ -1,6 +1,6 @@
use core::fmt;
use std::sync::Arc;
use typst::html::{tag, HtmlNode::*};
use typst::html::{HtmlNode::*, tag};
use crate::ExportTextTask;
use tinymist_std::error::prelude::*;

View file

@ -8,9 +8,9 @@ use std::path::PathBuf;
use std::{path::Path, str::FromStr};
use serde::{Deserialize, Serialize};
use tinymist_std::error::prelude::*;
use tinymist_std::path::{unix_slash, PathClean};
use tinymist_std::ImmutPath;
use tinymist_std::error::prelude::*;
use tinymist_std::path::{PathClean, unix_slash};
use tinymist_world::vfs::WorkspaceResolver;
use tinymist_world::{CompilerFeat, CompilerWorld, EntryReader, EntryState};
use typst::diag::EcoString;