diff --git a/Cargo.lock b/Cargo.lock index 05a6d68..afee03c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -404,7 +404,7 @@ dependencies = [ "serde", "serde_yaml", "shell-words", - "syntect", + "syntect 4.6.0", "thiserror", "unicode-width", "walkdir", @@ -431,7 +431,7 @@ dependencies = [ "pretty_env_logger", "rand 0.8.5", "serde", - "syntect", + "syntect 5.0.0", "tokio", ] @@ -1887,6 +1887,29 @@ dependencies = [ "yaml-rust", ] +[[package]] +name = "syntect" +version = "5.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6c454c27d9d7d9a84c7803aaa3c50cd088d2906fe3c6e42da3209aa623576a8" +dependencies = [ + "bincode", + "bitflags", + "flate2", + "fnv", + "lazy_static", + "once_cell", + "onig", + "plist", + "regex-syntax", + "serde", + "serde_derive", + "serde_json", + "thiserror", + "walkdir", + "yaml-rust", +] + [[package]] name = "sys-info" version = "0.9.1" diff --git a/Cargo.toml b/Cargo.toml index b2f086e..c5663a3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,7 +23,7 @@ actix-web = "4.0" htmlescape = "0.3" askama = "0.11" bat = "0.20" -syntect = "4.6" +syntect = "5.0" tokio = { version = "1.20", features = ["sync"] } futures = "0.3"