From e39bd211d1579bfafa1774f6915af5725041781e Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Thu, 1 Oct 2020 12:23:07 +0900 Subject: argh -> clap to speed up compilation (no syn/proc_macro) --- helix-syntax/Cargo.toml | 1 - helix-syntax/src/lib.rs | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'helix-syntax') diff --git a/helix-syntax/Cargo.toml b/helix-syntax/Cargo.toml index 61a9b5b0..12da3924 100644 --- a/helix-syntax/Cargo.toml +++ b/helix-syntax/Cargo.toml @@ -8,7 +8,6 @@ edition = "2018" [dependencies] tree-sitter = "0.17" -enum-iterator = "0.6" [build-dependencies] cc = { version = "1", features = ["parallel"] } diff --git a/helix-syntax/src/lib.rs b/helix-syntax/src/lib.rs index 61d63273..a20a2ab7 100644 --- a/helix-syntax/src/lib.rs +++ b/helix-syntax/src/lib.rs @@ -1,4 +1,3 @@ -use enum_iterator::IntoEnumIterator; use tree_sitter::Language; #[macro_export] @@ -13,7 +12,7 @@ macro_rules! mk_extern { #[macro_export] macro_rules! mk_enum { ( $( $camel:ident ),* ) => { - #[derive(Clone, Copy, Debug, IntoEnumIterator, PartialEq)] + #[derive(Clone, Copy, Debug, PartialEq)] pub enum LANG { $( $camel, -- cgit v1.2.3-70-g09d2