Skip to content

Commit 7b2bb21

Browse files
authored
Merge pull request #32 from heroesofcode/structure/update-cargo.toml
Update Cargo.toml and config cargo
2 parents e3da627 + 6b92bda commit 7b2bb21

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

.cargo/config.toml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# macOS (x86_64 and aarch64)
2+
[target.x86_64-apple-darwin]
3+
linker = "clang"
4+
5+
[target.aarch64-apple-darwin]
6+
linker = "clang"
7+
8+
# Linux (x86_64 and aarch64)
9+
[target.x86_64-unknown-linux-gnu]
10+
linker = "gcc"
11+
12+
[target.aarch64-unknown-linux-gnu]
13+
linker = "gcc"
14+
15+
# Windows (MSVC)
16+
[target.x86_64-pc-windows-msvc]
17+
linker = "clang-cl"
18+
19+
[target.aarch64-pc-windows-msvc]
20+
linker = "clang-cl"
21+
22+
# Windows (GNU)
23+
[target.x86_64-pc-windows-gnu]
24+
linker = "gcc"
25+
26+
[target.aarch64-pc-windows-gnu]
27+
linker = "gcc"

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ reqwest = { version = "0.12.8", features = ["json"] }
88
tokio = { version = "1.40.0", features = ["full"] }
99
scraper = "0.20.0"
1010
regex = "1.11.0"
11-
colored = "2"
11+
colored = "2.1.0"
1212
clap = "4.5.20"

0 commit comments

Comments
 (0)