🐳 chore(code/rust): add cargo in chapier

pull/251/head
xblakicex 2 years ago
parent 3d4469203b
commit 4249872e25

@ -1,14 +1,5 @@
[package]
name = "chapter_computational_complexity"
version = "0.1.0"
edition = "2021"
[[bin]] [workspace]
name = "time_complexity" members = [
path = "chapter_computational_complexity/time_complexity.rs" "chapter_computational_complexity",
]
[[bin]]
name = "worst_best_time_complexity"
path = "chapter_computational_complexity/worst_best_time_complexity.rs"
[dependencies]
rand = "0.8.5"

@ -0,0 +1,21 @@
[package]
name = "chapter_computational_complexity"
version = "0.1.0"
edition = "2021"
[[bin]]
name = "leetcode_two_sum"
path = "leetcode_two_sum.rs"
[[bin]]
name = "time_complexity"
path = "time_complexity.rs"
[[bin]]
name = "worst_best_time_complexity"
path = "worst_best_time_complexity.rs"
[dependencies]
rand = "0.8.5"
Loading…
Cancel
Save