This commit is contained in:
Jonathan Turner 2019-10-13 17:53:58 +13:00 committed by GitHub
parent 193b00764b
commit 2716bb020f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 474 additions and 579 deletions

1046
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -56,7 +56,6 @@ url = "2.1.0"
roxmltree = "0.7.0" roxmltree = "0.7.0"
nom_locate = "1.0.0" nom_locate = "1.0.0"
nom-tracable = "0.4.0" nom-tracable = "0.4.0"
enum-utils = "0.1.1"
unicode-xid = "0.2.0" unicode-xid = "0.2.0"
serde_ini = "0.2.0" serde_ini = "0.2.0"
subprocess = "0.1.18" subprocess = "0.1.18"
@ -75,8 +74,8 @@ bigdecimal = { version = "0.1.0", features = ["serde"] }
natural = "0.3.0" natural = "0.3.0"
serde_urlencoded = "0.6.1" serde_urlencoded = "0.6.1"
sublime_fuzzy = "0.5" sublime_fuzzy = "0.5"
regex = "1"
regex = {version = "1", optional = true }
neso = { version = "0.5.0", optional = true } neso = { version = "0.5.0", optional = true }
crossterm = { version = "0.10.2", optional = true } crossterm = { version = "0.10.2", optional = true }
syntect = {version = "3.2.0", optional = true } syntect = {version = "3.2.0", optional = true }
@ -144,6 +143,7 @@ path = "src/plugins/skip.rs"
[[bin]] [[bin]]
name = "nu_plugin_match" name = "nu_plugin_match"
path = "src/plugins/match.rs" path = "src/plugins/match.rs"
required-features = ["regex"]
[[bin]] [[bin]]
name = "nu_plugin_sys" name = "nu_plugin_sys"

View file

@ -4,7 +4,6 @@ use crate::prelude::*;
use crate::traits::ToDebug; use crate::traits::ToDebug;
use crate::{Tagged, Text}; use crate::{Tagged, Text};
use derive_new::new; use derive_new::new;
use enum_utils::FromStr;
use getset::Getters; use getset::Getters;
use std::fmt; use std::fmt;
@ -298,7 +297,7 @@ impl DelimitedNode {
} }
} }
#[derive(Debug, Copy, Clone, Eq, PartialEq, Ord, PartialOrd, FromStr)] #[derive(Debug, Copy, Clone, Eq, PartialEq, Ord, PartialOrd)]
pub enum Delimiter { pub enum Delimiter {
Paren, Paren,
Brace, Brace,