aboutsummaryrefslogtreecommitdiff
path: root/helix-syntax
diff options
context:
space:
mode:
authorBlaž Hrastnik2020-10-01 03:23:07 +0000
committerBlaž Hrastnik2020-10-01 03:25:03 +0000
commite39bd211d1579bfafa1774f6915af5725041781e (patch)
tree258a92098896a3e903da6b27a076388e2a6a0fb6 /helix-syntax
parent1da0be0aa045a4acd0246d82bf6214f8ec651476 (diff)
argh -> clap to speed up compilation (no syn/proc_macro)
Diffstat (limited to 'helix-syntax')
-rw-r--r--helix-syntax/Cargo.toml1
-rw-r--r--helix-syntax/src/lib.rs3
2 files changed, 1 insertions, 3 deletions
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,