mirror of
https://github.com/typst/typst
synced 2025-05-14 04:56:26 +08:00
Remove dependency on itertools
This commit is contained in:
parent
b0f4b13f6d
commit
4f85fc3acd
11
Cargo.lock
generated
11
Cargo.lock
generated
@ -274,15 +274,6 @@ dependencies = [
|
|||||||
"hashbrown",
|
"hashbrown",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "itertools"
|
|
||||||
version = "0.10.3"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "a9a9d19fa1e79b6215ff29b9d6880b706147f16e9b1dbb1e4e5947b5b02bc5e3"
|
|
||||||
dependencies = [
|
|
||||||
"either",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "itoa"
|
name = "itoa"
|
||||||
version = "0.4.8"
|
version = "0.4.8"
|
||||||
@ -812,11 +803,11 @@ dependencies = [
|
|||||||
"bytemuck",
|
"bytemuck",
|
||||||
"codespan-reporting",
|
"codespan-reporting",
|
||||||
"dirs",
|
"dirs",
|
||||||
|
"either",
|
||||||
"flate2",
|
"flate2",
|
||||||
"fxhash",
|
"fxhash",
|
||||||
"iai",
|
"iai",
|
||||||
"image",
|
"image",
|
||||||
"itertools",
|
|
||||||
"kurbo",
|
"kurbo",
|
||||||
"memmap2",
|
"memmap2",
|
||||||
"miniz_oxide 0.4.4",
|
"miniz_oxide 0.4.4",
|
||||||
|
@ -9,18 +9,14 @@ default = ["fs"]
|
|||||||
cli = ["fs", "pico-args", "codespan-reporting", "same-file"]
|
cli = ["fs", "pico-args", "codespan-reporting", "same-file"]
|
||||||
fs = ["dirs", "memmap2", "same-file", "walkdir"]
|
fs = ["dirs", "memmap2", "same-file", "walkdir"]
|
||||||
|
|
||||||
# Dependency updates:
|
|
||||||
# - Bump ttf-parser when rustybuzz is updated
|
|
||||||
# - Bump usvg and resvg in conjunction with svg2pdf
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
# Workspace
|
# Workspace
|
||||||
typst-macros = { path = "./macros" }
|
typst-macros = { path = "./macros" }
|
||||||
|
|
||||||
# Utilities
|
# Utilities
|
||||||
bytemuck = "1"
|
bytemuck = "1"
|
||||||
|
either = "1"
|
||||||
fxhash = "0.2"
|
fxhash = "0.2"
|
||||||
itertools = "0.10"
|
|
||||||
once_cell = "1"
|
once_cell = "1"
|
||||||
serde = { version = "1", features = ["derive"] }
|
serde = { version = "1", features = ["derive"] }
|
||||||
typed-arena = "2"
|
typed-arena = "2"
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
use std::sync::Arc;
|
use std::sync::Arc;
|
||||||
|
|
||||||
use itertools::Either;
|
use either::Either;
|
||||||
use unicode_bidi::{BidiInfo, Level};
|
use unicode_bidi::{BidiInfo, Level};
|
||||||
use xi_unicode::LineBreakIterator;
|
use xi_unicode::LineBreakIterator;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user