mirror of
https://github.com/krahets/hello-algo.git
synced 2026-08-30 11:57:13 +00:00
🐳 chore(code/rust): add cargo in chapier
This commit is contained in:
+4
-13
@@ -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"
|
||||||
Reference in New Issue
Block a user