mirror of
https://github.com/notohh/rustlings.git
synced 2024-10-30 08:49:12 -04:00
ah well it was worth a try
This commit is contained in:
parent
ad26a6d0e6
commit
679508b278
2 changed files with 3 additions and 10 deletions
|
@ -2,6 +2,7 @@
|
|||
name = "rustlings"
|
||||
version = "0.1.0"
|
||||
authors = ["olivia <olivia@fastmail.com>"]
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
clap = "2.32.0"
|
||||
|
|
12
src/main.rs
12
src/main.rs
|
@ -1,21 +1,13 @@
|
|||
#[macro_use]
|
||||
extern crate clap;
|
||||
extern crate console;
|
||||
extern crate indicatif;
|
||||
extern crate syntect;
|
||||
extern crate notify;
|
||||
|
||||
use clap::{App, Arg, SubCommand};
|
||||
use clap::{App, Arg, SubCommand, crate_version};
|
||||
use console::{style, Emoji};
|
||||
use indicatif::ProgressBar;
|
||||
use syntect::easy::HighlightFile;
|
||||
use syntect::parsing::SyntaxSet;
|
||||
use syntect::highlighting::{ThemeSet, Style};
|
||||
use syntect::util::{as_24_bit_terminal_escaped, LinesWithEndings};
|
||||
use syntect::util::{as_24_bit_terminal_escaped};
|
||||
use std::fs::remove_file;
|
||||
use std::io::BufRead;
|
||||
use std::process::Command;
|
||||
use std::fs::read_to_string;
|
||||
use std::sync::mpsc::channel;
|
||||
use std::time::Duration;
|
||||
use notify::DebouncedEvent;
|
||||
|
|
Loading…
Reference in a new issue