File tree 5 files changed +3
-10
lines changed
5 files changed +3
-10
lines changed Original file line number Diff line number Diff line change 2
2
name = " tidy"
3
3
version = " 0.1.0"
4
4
authors = [
" Alex Crichton <[email protected] >" ]
5
+ edition = " 2018"
5
6
6
7
[dependencies ]
7
8
regex = " 1"
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ use std::fs;
5
5
use std:: path:: Path ;
6
6
use std:: process:: Command ;
7
7
8
+ use serde_derive:: Deserialize ;
8
9
use serde_json;
9
10
10
11
const LICENSES : & [ & str ] = & [
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ use std::path::Path;
18
18
use regex:: { Regex , escape} ;
19
19
20
20
mod version;
21
- use self :: version:: Version ;
21
+ use version:: Version ;
22
22
23
23
const FEATURE_GROUP_START_PREFIX : & str = "// feature-group-start" ;
24
24
const FEATURE_GROUP_END_PREFIX : & str = "// feature-group-end" ;
Original file line number Diff line number Diff line change 3
3
//! This library contains the tidy lints and exposes it
4
4
//! to be used by tools.
5
5
6
- #![ deny( rust_2018_idioms) ]
7
-
8
- extern crate regex;
9
- extern crate serde_json;
10
- #[ macro_use]
11
- extern crate serde_derive;
12
-
13
6
use std:: fs;
14
7
15
8
use std:: path:: Path ;
Original file line number Diff line number Diff line change 4
4
//! etc. This is run by default on `make check` and as part of the auto
5
5
//! builders.
6
6
7
- #![ deny( rust_2018_idioms) ]
8
7
#![ deny( warnings) ]
9
8
10
- extern crate tidy;
11
9
use tidy:: * ;
12
10
13
11
use std:: process;
You can’t perform that action at this time.
0 commit comments