globset: Implement serde::{Serialize, Deserialize} for Glob

PR #1492
This commit is contained in:
Lucien Greathouse
2020-02-21 04:40:47 -08:00
committed by GitHub
parent eef7a7e7ff
commit db7a8cdcb5
5 changed files with 53 additions and 0 deletions

View File

@@ -29,6 +29,10 @@ and this to your crate root:
extern crate globset;
```
### Features
* `serde1`: Enables implementing Serde traits on the `Glob` type.
### Example: one glob
This example shows how to match a single glob against a single file path.