-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
69 lines (60 loc) · 1.82 KB
/
Cargo.toml
File metadata and controls
69 lines (60 loc) · 1.82 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
[package]
name = "tikibase"
version = "0.6.2"
authors = ["Kevin Goslar <kevin.goslar@gmail.com>"]
edition = "2024"
rust-version = "1.89"
[dependencies]
ahash = "0.7.8"
big_s = "1.0.2"
camino = "1.1.9"
clap = { version = "3.2.25", features = ["derive"] }
colored = "2.2.0"
fs-err = "2.11.0"
heck = "0.4.1"
indoc = "1.0.9"
merge = "0.1.0"
once_cell = "1.21.3"
regex = "1.11.1"
schemars = { version = "0.8.22", features = ["url"] }
serde = { version = "1.0.219", features = ["derive"] }
serde_json = "1.0.140"
[[test]]
name = "cucumber"
harness = false # Allows Cucumber to print output instead of libtest
test = false
[dev-dependencies]
camino-tempfile = "1.4.1"
cucumber = "0.21.1"
futures = "0.3.31"
itertools = "0.10.5"
pretty = { package = "pretty_assertions", version = "1.4.1" }
[profile.dev]
debug = "line-tables-only" # make compiling in debug mode faster
[profile.release]
codegen-units = 1
debug = 0
lto = true
opt-level = "s"
panic = "abort"
strip = "symbols"
# We allow warnings here, the Makefile denies them.
# This way warnings don't hold up compiling and running tests,
# and also don't slip past CI.
[workspace.lints.rust]
unsafe_code = "forbid"
[workspace.lints.clippy]
pedantic = { level = "warn", priority = -1 }
cast_possible_truncation = "allow" # we cast lots of values, they are usually small so we don't need to check cast problems
missing_panics_doc = "allow" # all panics indicate programmer errors and should be fixed
missing_errors_doc = "allow" # all returned errors are UserError
too_many_lines = "allow" # TODO: refactor the long functions or add ignore this problem in the code
use_self = "deny"
[lints.clippy]
derive_partial_eq_without_eq = "deny"
impl_trait_in_params = "deny"
module_name_repetitions = "deny"
redundant_pub_crate = "deny"
std_instead_of_core = "deny"
str_to_string = "deny"
string_to_string = "deny"