-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
89 lines (77 loc) · 1.88 KB
/
Cargo.toml
File metadata and controls
89 lines (77 loc) · 1.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
# cargo-features = ["profile-rustflags"]
[package]
name = "general"
version = "0.3.0"
edition = "2024"
description = "Code for challenges from various platforms"
homepage = "github.com/raj-open/code-challenges"
rust-version = "1.86"
authors = [
"raj-open <raj-open@users.noreply.github.com>",
]
# cf. https://doc.rust-lang.org/cargo/reference/manifest.html
# [lib]
# name = "general"
# crate-type = ["lib"]
[workspace]
members = [
".",
]
# [env]
# NOTE: has no effect
# PYO3_PYTHON = { value = "python3" }
# CC = "zig cc"
# CXX = "zig c++"
[profile.release]
# rustflags = [
# "-A", "unused_imports",
# "-A", "dead_code",
# "-C", "link-arg=-undefined",
# "-C", "link-arg=dynamic_lookup",
# ]
debug = true
strip = false
opt-level = 3
lto = true # link-time optimisation
codegen-units = 1
[profile.dev]
# rustflags = [
# "-A", "unused_imports",
# "-A", "dead_code",
# ]
opt-level = 0
lto = false # link-time optimisation
[profile.test]
# rustflags = [
# "-A", "unused_imports",
# "-A", "dead_code",
# ]
[dependencies]
regex = {version = "^1.11.2"}
serde = {version = "^1.0.219", features = ["derive"]}
serde_json = {version = "^1.0.143"}
dict_derive = {version = "^0.6.0" }
dedent = {version="^0.1.1"}
itertools = {version = "^0.14.0"}
indoc = {version="^2.0.6"}
indicatif = {version = "^0.18.0"}
rayon = {version = "^1.11.0"}
strip-ansi-escapes = {version="^0.2.1"}
rand = {version="^0.9.2"}
rand_chacha = {version = "^0.9.0"}
# numpy = {version = "^0.26.0"}
ndarray = {version = "^0.16.1"}
[dev-dependencies]
cargo-zigbuild = {version = "^0.20.1"}
rstest = {version = "^0.26.1"}
rustfmt = {version = "^0.10.0", features = []}
# just = {version = "^1.40.0"}
[[bin]]
name = "CodeChallenges"
path = "src/main.rs"
[[bin]]
name = "HackerRankMathematics"
path = "src/problems/hackerrank/mathematics/main.rs"
[[bin]]
name = "GeniusSquare"
path = "src/bin/games/genius_square/main.rs"