diff options
Diffstat (limited to 'crates/globset/src/lib.rs')
-rw-r--r-- | crates/globset/src/lib.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crates/globset/src/lib.rs b/crates/globset/src/lib.rs index 862be689..a8c3acc1 100644 --- a/crates/globset/src/lib.rs +++ b/crates/globset/src/lib.rs @@ -110,6 +110,9 @@ extern crate fnv; extern crate log; extern crate regex; +#[cfg(feature = "serde1")] +extern crate serde; + use std::borrow::Cow; use std::collections::{BTreeMap, HashMap}; use std::error::Error as StdError; @@ -129,6 +132,9 @@ use pathutil::{file_name, file_name_ext, normalize_path}; mod glob; mod pathutil; +#[cfg(feature = "serde1")] +mod serde_impl; + /// Represents an error that can occur when parsing a glob pattern. #[derive(Clone, Debug, Eq, PartialEq)] pub struct Error { |