Skip to content

Commit

Permalink
🐳 chore(codes): add cargo for rust codes
Browse files Browse the repository at this point in the history
  • Loading branch information
xblakicex committed Jan 13, 2023
1 parent 705fc86 commit d035937
Show file tree
Hide file tree
Showing 3 changed files with 92 additions and 0 deletions.
3 changes: 3 additions & 0 deletions codes/rust/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
**/target
**/worst_best_time_complexity/
**/time_complexity/
75 changes: 75 additions & 0 deletions codes/rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions codes/rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[package]
name = "chapter_computational_complexity"
version = "0.1.0"
edition = "2021"

[[bin]]
name = "time_complexity"
path = "chapter_computational_complexity/time_complexity.rs"

[[bin]]
name = "worst_best_time_complexity"
path = "chapter_computational_complexity/worst_best_time_complexity.rs"
[dependencies]
rand = "0.8.5"

0 comments on commit d035937

Please sign in to comment.