summaryrefslogtreecommitdiff
path: root/Cargo.lock
diff options
context:
space:
mode:
author7sDream <7822577+7sDream@users.noreply.github.com>2023-10-26 00:38:08 +0800
committerGitHub <noreply@github.com>2023-10-25 18:38:08 +0200
commitb80382b216d79b56358002687ab288241873bb5b (patch)
tree2b25cc3a6290cf9bb7ec1dd702b3735d64982e16 /Cargo.lock
parente686a11ae7410dc9e99ad755881663303b2301d9 (diff)
Use fontdb to search fonts, with basic fontconfig support (#2472)
Diffstat (limited to 'Cargo.lock')
-rw-r--r--Cargo.lock18
1 files changed, 14 insertions, 4 deletions
diff --git a/Cargo.lock b/Cargo.lock
index dc06e318..e271201c 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -787,12 +787,23 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
[[package]]
+name = "fontconfig-parser"
+version = "0.5.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "674e258f4b5d2dcd63888c01c68413c51f565e8af99d2f7701c7b81d79ef41c4"
+dependencies = [
+ "roxmltree",
+]
+
+[[package]]
name = "fontdb"
version = "0.15.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "020e203f177c0fb250fb19455a252e838d2bbbce1f80f25ecc42402aafa8cd38"
dependencies = [
+ "fontconfig-parser",
"log",
+ "memmap2",
"slotmap",
"tinyvec",
"ttf-parser",
@@ -1458,9 +1469,9 @@ checksum = "f665ee40bc4a3c5590afb1e9677db74a508659dfd71e126420da8274909a0167"
[[package]]
name = "memmap2"
-version = "0.7.1"
+version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f49388d20533534cd19360ad3d6a7dadc885944aa802ba3995040c5ec11288c6"
+checksum = "43a5a03cefb0d953ec0be133036f14e109412fa594edc2f77227249db66cc3ed"
dependencies = [
"libc",
]
@@ -2821,8 +2832,8 @@ dependencies = [
"env_proxy",
"filetime",
"flate2",
+ "fontdb",
"inferno",
- "memmap2",
"notify",
"once_cell",
"open",
@@ -2845,7 +2856,6 @@ dependencies = [
"typst",
"typst-library",
"ureq",
- "walkdir",
"xz2",
"zip",
]