From 3825a7e319f90a033eb20a3c967bb4d07cbdb355 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Fri, 23 Jun 2017 15:35:49 -0600 Subject: [PATCH] fix(linux): Debug dump broke syntect build It isn't entirely clear why this happened. Somehow, this caused syntect and yaml-rust to start erroring about mismatched map data types. It turns out, the yaml feature isn't needed, so its being disabled. --- Cargo.lock | 1 - Cargo.toml | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index de1f04c2..e859d3d9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -856,7 +856,6 @@ dependencies = [ "serde_derive 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)", "serde_json 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", "walkdir 1.0.7 (registry+https://github.com/rust-lang/crates.io-index)", - "yaml-rust 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 12624c21..38c1ac2c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -49,7 +49,8 @@ default-features = false [dependencies.syntect] version = "1.5" optional = true -features = ["static-onig"] +default-features = false +features = ["parsing", "assets", "html", "static-onig"] [dev-dependencies] assert_cli = "0.3"