typst-lsp: update to 0.9.1.

This commit is contained in:
classabbyamp 2023-08-14 03:00:30 -04:00
parent ae3f238b0d
commit 90fd0f242a
No known key found for this signature in database
GPG Key ID: 6BE0755918A4C7F5
2 changed files with 3 additions and 44 deletions

View File

@ -1,42 +0,0 @@
reverts 1e368ed9759671c5f4658dc37b186a1f9bdc9ff8
see https://github.com/nvarner/typst-lsp/issues/234
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -34,6 +34,7 @@
], optional = true }
parking_lot = "0.12.1"
regex = "1.8.1"
+reqwest = { version = "0.11.18", features = ["stream"] }
same-file = "1.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0.94"
@@ -60,29 +61,5 @@
typst-library = { git = "https://github.com/typst/typst.git", tag = "v0.7.0" }
walkdir = "2.3"
-[target.'cfg(not(any(all(target_arch = "aarch64", target_os = "linux"), all(target_arch = "x86_64", target_os = "linux", target_env = "musl"), all(target_arch = "arm", target_os = "linux", target_env = "gnu"))))'.dependencies]
-reqwest = { version = "0.11.18", default-features = false, features = [
- "stream",
- "default-tls",
-] }
-
-[target.aarch64-unknown-linux-gnu.dependencies]
-reqwest = { version = "0.11.18", default-features = false, features = [
- "stream",
- "rustls-tls",
-] }
-
-[target.x86_64-unknown-linux-musl.dependencies]
-reqwest = { version = "0.11.18", default-features = false, features = [
- "stream",
- "rustls-tls",
-] }
-
-[target.arm-unknown-linux-gnueabihf.dependencies]
-reqwest = { version = "0.11.18", default-features = false, features = [
- "stream",
- "rustls-tls",
-] }
-
[dev-dependencies]
temp-dir = "0.1.11"

View File

@ -1,8 +1,9 @@
# Template file for 'typst-lsp'
pkgname=typst-lsp
version=0.9.0
version=0.9.1
revision=1
build_style=cargo
configure_args="--no-default-features --features remote-packages,native-tls"
hostmakedepends="pkg-config"
makedepends="openssl-devel"
short_desc="Language server for Typst"
@ -10,7 +11,7 @@ maintainer="classabbyamp <void@placeviolette.net>"
license="Apache-2.0, MIT"
homepage="https://github.com/nvarner/typst-lsp"
distfiles="https://github.com/nvarner/typst-lsp/archive/refs/tags/v${version}.tar.gz"
checksum=fbebdff828c9f4be6899e4e8884f9d46ac5f5b5de17fda45df7dbb4d79b51f30
checksum=a7e3e814713060521548663a676ad24eb097c54fb405fbc6d63da79731d5169d
post_patch() {
cargo generate-lockfile