summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2022-01-23 13:27:41 +0100
committerCanop <cano.petrole@gmail.com>2022-01-23 13:27:41 +0100
commit375a29fe7526e7ab7a9aa4288772a4dca79a8c82 (patch)
tree665834b6d2e1c7b51e53ec753c826d066704d6c4
parent93273606de88fa76623a1a2e69f68c42e077f1de (diff)
put syntect-no-panic on crates.io to allow publishv1.9.2
-rw-r--r--Cargo.lock9
-rw-r--r--Cargo.toml6
2 files changed, 9 insertions, 6 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 0968eb8..1f21d1d 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -178,7 +178,7 @@ dependencies = [
"smallvec",
"splitty",
"strict",
- "syntect",
+ "syntect-no-panic",
"tempfile",
"termimad 0.20.0",
"terminal-clipboard",
@@ -1587,9 +1587,10 @@ dependencies = [
]
[[package]]
-name = "syntect"
-version = "4.6.0"
-source = "git+https://github.com/Canop/syntect?branch=version-4.6#5c9840eab9477c3964b1a310ede4f5e3070ccc67"
+name = "syntect-no-panic"
+version = "4.6.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bee6d840027be11d9fae1432a799c548eaf0332a9a8dbe8526281d55a9600e4f"
dependencies = [
"bincode",
"bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index 6cd7f7c..a7b7c54 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -53,8 +53,8 @@ serde = { version = "1.0", features = ["derive"] }
smallvec = "1.6"
splitty = "0.1"
strict = "0.1.4"
-# syntect = "4.6"
-syntect = { git = "https://github.com/Canop/syntect", branch = "version-4.6" } # no panicky fork
+# a temporary fork, see issue #485
+syntect = { package = "syntect-no-panic", version = "4.6.1" }
tempfile = "3.2"
termimad = "0.20.0"
terminal-clipboard = { version = "0.3.1", optional = true }
@@ -109,6 +109,8 @@ harness = false
# secular = { path = "../secular", features=["normalization"] }
# strict = { path = "../strict" }
# syntect = { path = "../syntect" }
+# syntect = { path = "../syntect" }
+# syntect-no-panic = { path = "../syntect" }
# termimad = { path = "../termimad" }
# terminal-clipboard = { path = "../terminal-clipboard" }
# umask = { path = "../umask" }