typst-lsp: update to 0.9.0.

This commit is contained in:
classabbyamp 2023-08-11 15:10:58 -04:00
parent 5660bdfa80
commit 4bbe673b42
No known key found for this signature in database
GPG Key ID: 6BE0755918A4C7F5
2 changed files with 50 additions and 2 deletions

View File

@ -0,0 +1,42 @@
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,14 +1,20 @@
# Template file for 'typst-lsp'
pkgname=typst-lsp
version=0.7.2
version=0.9.0
revision=1
build_style=cargo
hostmakedepends="pkg-config"
makedepends="openssl-devel"
short_desc="Language server for Typst"
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=45023dc67276b87856ce5189ae904f408162521dde390d302ca01a928765ca08
checksum=fbebdff828c9f4be6899e4e8884f9d46ac5f5b5de17fda45df7dbb4d79b51f30
post_patch() {
cargo generate-lockfile
}
post_install() {
vlicense LICENSE-MIT.txt