-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
77 lines (73 loc) · 2.36 KB
/
Cargo.toml
File metadata and controls
77 lines (73 loc) · 2.36 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
[package]
name = "muse2"
version = "2.1.0"
authors = ["Hawkes Research Group @ Chemical Engineering, Imperial College London <[email protected]>", "Imperial College London RSE Team <[email protected]>"]
edition = "2024"
description = "A tool for running simulations of energy systems"
documentation = "https://energysystemsmodellinglab.github.io/MUSE2"
readme = "README.md"
repository = "https://github.com/EnergySystemsModellingLab/MUSE2"
license = "GPL-3.0-only"
keywords = ["energy", "modelling"]
categories = ["science", "simulation", "command-line-utilities"]
[dependencies]
anyhow = "1.0.102"
csv = "1.4.0"
log = "0.4.29"
float-cmp = "0.10.0"
itertools = "0.14.0"
serde = {version = "1.0.228", features = ["derive", "rc"]}
serde_string_enum = "0.2.1"
tempfile = "3.27.0"
toml = "1.1.1"
unicase = "2.9.0"
fern = {version = "0.7.1", features = ["chrono", "colored"]}
chrono = "0.4"
clap = {version = "4.6.0", features = ["cargo", "derive"]}
include_dir = "0.7.4"
highs = "2.0.0"
indexmap = "2.13.0"
human-panic = "2.0.7"
clap-markdown = "0.1.5"
platform-info = "2.1.0"
derive_more = {version = "2.1", features = ["add", "display"]}
petgraph = "0.8.3"
strum = {version = "0.28.0", features = ["derive"]}
documented = "0.9.2"
dirs = "6.0.0"
edit = "0.1.5"
erased-serde = "0.4.10"
[dev-dependencies]
assert_cmd = "2.2.0"
map-macro = "0.3.0"
rstest = {version = "0.26.1", default-features = false, features = ["crate-name"]}
yaml-rust2 = {version = "0.11.0", default-features = false}
[build-dependencies]
built = {version = "0.8.0", features = ["chrono", "git2"]}
[lints.clippy]
# Disallow lints from "all" and "pedantic" groups by default
all = {level = "deny", priority = -1}
pedantic = {level = "deny", priority = -1}
# Extra lints to disallow
redundant_test_prefix = "deny"
assertions_on_result_states = "deny"
get_unwrap = "deny"
if_then_some_else_none = "deny"
renamed_function_params = "deny"
string_slice = "deny"
dbg_macro = "deny"
infinite_loop = "deny"
integer_division = "deny"
needless_raw_strings = "deny"
redundant_type_annotations = "deny"
return_and_then = "deny"
suspicious_xor_used_as_pow = "deny"
# Whitelist some lints from "pedantic" group
similar_names = "allow"
must_use_candidate = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
implicit_hasher = "allow"
cast_lossless = "allow"
return_self_not_must_use = "allow"
from_iter_instead_of_collect = "allow"