removed syntect dependency, limited bat to regex-fancy and paging (#2347)

This commit is contained in:
Darren Schroeder 2020-08-13 15:33:35 -05:00 committed by GitHub
parent da4d24d082
commit baf84f05d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 6 deletions

2
Cargo.lock generated
View File

@ -2948,7 +2948,6 @@ dependencies = [
"quick-xml 0.18.1",
"semver 0.10.0",
"serde 1.0.115",
"syntect",
"toml 0.5.6",
"url 2.1.1",
]
@ -3342,7 +3341,6 @@ dependencies = [
"nu-plugin",
"nu-protocol",
"nu-source",
"syntect",
"term_size",
"url 2.1.1",
]

View File

@ -44,7 +44,6 @@ nu_plugin_s3 = { version = "0.18.2", path = "./crates/nu_plugin_s3", optional=tr
crossterm = {version = "0.17.5", optional = true}
semver = {version = "0.10.0", optional = true}
syntect = {version = "4.2", default-features = false, features = ["default-fancy"], optional = true}
url = {version = "2.1.1", optional = true}
clap = "2.33.1"
@ -82,7 +81,7 @@ stable = ["default", "binaryview", "match", "tree", "post", "fetch", "clipboard-
inc = ["semver", "nu_plugin_inc"]
ps = ["nu_plugin_ps"]
sys = ["nu_plugin_sys"]
textview = ["crossterm", "syntect", "url", "nu_plugin_textview"]
textview = ["crossterm", "url", "nu_plugin_textview"]
# Stable
binaryview = ["nu_plugin_binaryview"]

View File

@ -17,9 +17,9 @@ nu-protocol = {path = "../nu-protocol", version = "0.18.2"}
nu-source = {path = "../nu-source", version = "0.18.2"}
ansi_term = "0.12.1"
bat = "0.15.4"
bat = {version = "0.15.4", features = ["regex-fancy", "paging"]}
crossterm = "0.17.5"
syntect = {version = "4.2", default-features = false, features = ["default-fancy"]}
term_size = "0.3.2"
url = "2.1.1"