Skip to content

Commit

Permalink
Merge pull request #32 from heroesofcode/structure/update-cargo.toml
Browse files Browse the repository at this point in the history
Update Cargo.toml and config cargo
  • Loading branch information
joaolfp authored Oct 13, 2024
2 parents e3da627 + 6b92bda commit 7b2bb21
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
27 changes: 27 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# macOS (x86_64 and aarch64)
[target.x86_64-apple-darwin]
linker = "clang"

[target.aarch64-apple-darwin]
linker = "clang"

# Linux (x86_64 and aarch64)
[target.x86_64-unknown-linux-gnu]
linker = "gcc"

[target.aarch64-unknown-linux-gnu]
linker = "gcc"

# Windows (MSVC)
[target.x86_64-pc-windows-msvc]
linker = "clang-cl"

[target.aarch64-pc-windows-msvc]
linker = "clang-cl"

# Windows (GNU)
[target.x86_64-pc-windows-gnu]
linker = "gcc"

[target.aarch64-pc-windows-gnu]
linker = "gcc"
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ reqwest = { version = "0.12.8", features = ["json"] }
tokio = { version = "1.40.0", features = ["full"] }
scraper = "0.20.0"
regex = "1.11.0"
colored = "2"
colored = "2.1.0"
clap = "4.5.20"

0 comments on commit 7b2bb21

Please sign in to comment.