Skip to content

Commit bf595c0

Browse files
committed
add pick
1 parent 0f7a718 commit bf595c0

File tree

22 files changed

+3115
-14
lines changed

22 files changed

+3115
-14
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
/target
2-
leetcode-cli
2+
leetcode-cli
3+
temp*

Cargo.lock

Lines changed: 135 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ serde_json = "1.0.82"
3232
toml = "0.5.9"
3333
regex = "1.6.0"
3434
scraper = "0.13.0"
35+
chrono = "0.4.22"
3536

3637
[dependencies.diesel]
3738
version = "1.4.8"

src/bin/lc.rs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
// use leetcode_cli::cli;
2-
// use tokio::runtime::Builder;
1+
use leetcode_cli::cli;
2+
use tokio::runtime::Builder;
33

44
fn main() {
5-
// if let Err(err) = Builder::new_multi_thread()
6-
// .enable_all()
7-
// .build()
8-
// .expect("Build tokio runtime failed")
9-
// .block_on(cli::main())
10-
// {
11-
// println!("{:?}", err);
12-
// }
5+
if let Err(err) = Builder::new_multi_thread()
6+
.enable_all()
7+
.build()
8+
.expect("Build tokio runtime failed")
9+
.block_on(cli::main())
10+
{
11+
println!("{:?}", err);
12+
}
1313
}

0 commit comments

Comments
 (0)