mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-11-24 05:06:41 +00:00
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
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:
parent
d227ad2a53
commit
05280aec4d
128 changed files with 340 additions and 331 deletions
|
|
@ -13,7 +13,7 @@ use tinymist_world::{CompilerFeat, CompilerWorld};
|
|||
use typst::diag::FileResult;
|
||||
use typst::foundations::func;
|
||||
use typst::syntax::ast::AstNode;
|
||||
use typst::syntax::{ast, Source, Span, SyntaxNode};
|
||||
use typst::syntax::{Source, Span, SyntaxNode, ast};
|
||||
use typst::{World, WorldExt};
|
||||
|
||||
use crate::instrument::Instrumenter;
|
||||
|
|
|
|||
|
|
@ -8,11 +8,11 @@ use comemo::Tracked;
|
|||
use parking_lot::RwLock;
|
||||
use tinymist_std::hash::{FxHashMap, FxHashSet};
|
||||
use tinymist_world::vfs::FileId;
|
||||
use typst::World;
|
||||
use typst::diag::FileResult;
|
||||
use typst::engine::Engine;
|
||||
use typst::foundations::{func, Binding, Context, Dict, Scopes};
|
||||
use typst::foundations::{Binding, Context, Dict, Scopes, func};
|
||||
use typst::syntax::{Source, Span};
|
||||
use typst::World;
|
||||
|
||||
use crate::instrument::Instrumenter;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
use typst::diag::FileError;
|
||||
use typst::syntax::ast::{self, AstNode};
|
||||
use typst::syntax::SyntaxNode;
|
||||
use typst::syntax::ast::{self, AstNode};
|
||||
|
||||
use super::*;
|
||||
|
||||
|
|
|
|||
|
|
@ -4,15 +4,15 @@ use std::sync::Arc;
|
|||
|
||||
use parking_lot::Mutex;
|
||||
use tinymist_std::hash::FxHashMap;
|
||||
use tinymist_world::vfs::PathResolution;
|
||||
use tinymist_world::SourceWorld;
|
||||
use tinymist_world::{vfs::FileId, CompilerFeat, CompilerWorld};
|
||||
use tinymist_world::vfs::PathResolution;
|
||||
use tinymist_world::{CompilerFeat, CompilerWorld, vfs::FileId};
|
||||
use typst::Library;
|
||||
use typst::diag::FileResult;
|
||||
use typst::foundations::{Bytes, Datetime};
|
||||
use typst::syntax::Source;
|
||||
use typst::text::{Font, FontBook};
|
||||
use typst::utils::LazyHash;
|
||||
use typst::Library;
|
||||
|
||||
pub trait Instrumenter: Send + Sync {
|
||||
fn instrument(&self, source: Source) -> FileResult<Source>;
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
pub use cov::CoverageResult;
|
||||
pub use debugger::{
|
||||
set_debug_session, with_debug_session, BreakpointKind, DebugSession, DebugSessionHandler,
|
||||
BreakpointKind, DebugSession, DebugSessionHandler, set_debug_session, with_debug_session,
|
||||
};
|
||||
|
||||
mod cov;
|
||||
|
|
@ -16,11 +16,11 @@ use debugger::BreakpointInstr;
|
|||
use parking_lot::Mutex;
|
||||
use tinymist_std::{error::prelude::*, hash::FxHashMap};
|
||||
use tinymist_world::package::PackageSpec;
|
||||
use tinymist_world::{print_diagnostics, CompilerFeat, CompilerWorld};
|
||||
use tinymist_world::{CompilerFeat, CompilerWorld, print_diagnostics};
|
||||
use typst::Library;
|
||||
use typst::diag::EcoString;
|
||||
use typst::syntax::package::PackageVersion;
|
||||
use typst::utils::LazyHash;
|
||||
use typst::Library;
|
||||
|
||||
use cov::*;
|
||||
use instrument::InstrumentWorld;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue