Skip to content

Commit 2dca792

Browse files
namvdonamvdo
andauthored
Implementing the wc command (#1)
* wc command --------- Co-authored-by: namvdo <namvdo11@gmail.com>
1 parent 4623940 commit 2dca792

File tree

14 files changed

+429
-66
lines changed

14 files changed

+429
-66
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
/target
2-
.idea
2+
.idea
3+
.DS_Store

Cargo.lock

Lines changed: 189 additions & 3 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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ version = "0.1.0"
44
edition = "2021"
55

66
[workspace]
7-
members = [ "challenges/foo", "challenges/simple-parser" , "challenges/wc-command"]
7+
members = [ "challenges/simple-parser" , "challenges/wc-command"]
88

99
[dependencies]

challenges/foo/Cargo.toml

Lines changed: 0 additions & 7 deletions
This file was deleted.

challenges/foo/README.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

challenges/foo/src/lib.rs

Lines changed: 0 additions & 4 deletions
This file was deleted.

challenges/foo/src/main.rs

Lines changed: 0 additions & 9 deletions
This file was deleted.

challenges/foo/tests/test.rs

Lines changed: 0 additions & 13 deletions
This file was deleted.

challenges/wc-command/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,6 @@ edition = "2021"
55

66
[dependencies]
77
rust-coding-challenges = { path = "../../" }
8+
rayon = "1.10"
9+
rand = "0.8"
10+
memmap2 = "0.9.5"

challenges/wc-command/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Given By
44

5-
## Relevant Background Knowledge
5+
## Topics
66

77
## Main Functions
88

0 commit comments

Comments
 (0)