-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
80 lines (67 loc) · 1.93 KB
/
Copy pathCargo.toml
File metadata and controls
80 lines (67 loc) · 1.93 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
[package]
name = "simul"
version = "0.5.1"
rust-version = "1.85"
edition = "2021"
authors = ["Jordan McQueen <j@jm.dev>"]
license = "MIT"
keywords = ["sim", "simulation", "annealing", "experiment"]
categories = ["mathematics", "science", "development-tools"]
description = """
A discrete-event simulation library aimed at high-level use-cases to
quickly simulate real-world problems and run simulated experiments.
Some example use cases might include simulating logistics or operations research
problems, running experiments to determine optimal parameters, simulating
queueing systems, distributed systems, performance engineering, and so on.
"""
# homepage, documentation, repository currently all point to the GitHub repo.
homepage = "https://github.com/jmqd/simul"
repository = "https://github.com/jmqd/simul"
readme = "README.md"
[profile.release]
lto = "fat"
panic = "abort"
strip = true
[lib]
name = "simul"
path = "src/lib.rs"
[dev-dependencies]
env_logger = "0.11.11"
criterion = "0.7.0"
[[bench]]
name = "benchmarks"
harness = false
[[bench]]
name = "simulated_annealing_benchmark"
harness = false
[dependencies]
rand = {version = "0.10.2", features = ["alloc"]}
rand_distr = "0.6.0"
log = "0.4.33"
dyn-clone = "1.0.20"
[lints.rust]
unsafe_op_in_unsafe_fn = "deny"
unreachable_pub = "deny"
[lints.clippy]
all = { level = "deny", priority = -3 }
pedantic = { level = "warn", priority = -2 }
nursery = { level = "warn", priority = -1 }
module_name_repetitions = "allow"
cast_precision_loss = "allow"
integer_division = "deny"
checked_conversions = "deny"
cast_possible_truncation = "deny"
cast_possible_wrap = "deny"
cast_sign_loss = "deny"
float_cmp = "deny"
unchecked_time_subtraction = "deny"
unwrap_used = "deny"
expect_used = "deny"
todo = "deny"
unimplemented = "deny"
unreachable = "deny"
wildcard_enum_match_arm = "deny"
clone_on_copy = "deny"
redundant_closure_for_method_calls = "deny"
missing_docs_in_private_items = "warn"
too_many_lines = "warn"