File tree Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Original file line number Diff line number Diff line change 2
2
name = " rustlings"
3
3
version = " 0.1.0"
4
4
authors = [" olivia <olivia@fastmail.com>" ]
5
+ edition = " 2018"
5
6
6
7
[dependencies ]
7
8
clap = " 2.32.0"
Original file line number Diff line number Diff line change 1
- #[ macro_use]
2
- extern crate clap;
3
- extern crate console;
4
- extern crate indicatif;
5
- extern crate syntect;
6
- extern crate notify;
7
-
8
- use clap:: { App , Arg , SubCommand } ;
1
+ use clap:: { App , Arg , SubCommand , crate_version} ;
9
2
use console:: { style, Emoji } ;
10
3
use indicatif:: ProgressBar ;
11
4
use syntect:: easy:: HighlightFile ;
12
5
use syntect:: parsing:: SyntaxSet ;
13
6
use syntect:: highlighting:: { ThemeSet , Style } ;
14
- use syntect:: util:: { as_24_bit_terminal_escaped, LinesWithEndings } ;
7
+ use syntect:: util:: { as_24_bit_terminal_escaped} ;
15
8
use std:: fs:: remove_file;
16
9
use std:: io:: BufRead ;
17
10
use std:: process:: Command ;
18
- use std:: fs:: read_to_string;
19
11
use std:: sync:: mpsc:: channel;
20
12
use std:: time:: Duration ;
21
13
use notify:: DebouncedEvent ;
You can’t perform that action at this time.
0 commit comments