Skip to content

Commit 2dca792

Browse files
namvdonamvdo
and
namvdo
authored
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

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
/target
2-
.idea
2+
.idea
3+
.DS_Store

Cargo.lock

+189-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
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

-7
This file was deleted.

challenges/foo/README.md

-12
This file was deleted.

challenges/foo/src/lib.rs

-4
This file was deleted.

challenges/foo/src/main.rs

-9
This file was deleted.

challenges/foo/tests/test.rs

-13
This file was deleted.

challenges/wc-command/Cargo.toml

+3
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

+1-1
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)