-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
84 lines (65 loc) · 2.07 KB
/
Cargo.toml
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
[package]
name = "bybe"
version = "2.4.0"
authors = ["RakuJa"]
# Compiler info
edition = "2021"
rust-version = "1.79.0"
description = "Beyond Your Bestiary Explorer (BYBE) is a web service that provides tools to help Pathfinder 2e Game Masters."
readme = "README.md"
homepage = "https://backbybe.fly.dev/"
repository = "https://github.com/RakuJa/BYBE"
license = "MIT"
keywords = ["webservice", "pathfinder"]
publish = false
build = "build/main.rs"
[lib]
name = "bybe"
path = "src/lib.rs"
[[bin]]
name = "bybe"
path = "src/main.rs"
[lints.rust]
unsafe_code = "forbid"
deprecated = "allow"
[lints.clippy]
struct_field_names = {level = "allow", priority = 2}
module_name_repetitions = {level = "allow", priority = 2}
# We are ok with losing some data without wrapping. We are not ok with wrapping
# Ex: 128.12 => 128 is ok, 128 => 0 is not.
cast_possible_truncation = {level = "allow", priority = 2}
cast_precision_loss = {level = "allow", priority = 2}
future_not_send = {level = "allow", priority = 2}
pedantic = {level = "warn", priority = 1}
nursery = {level= "warn", priority = 1}
# unwrap_used = {level = "warn", priority = 1}
[dependencies]
actix-web = "4.9.0"
actix-cors = "0.7.0"
utoipa = { version = "5.2.0", features = ["actix_extras"] }
utoipa-swagger-ui = { version = "8.0.3", features = ["actix-web", "reqwest"] }
sqlx = { version = "0.8.2", features = ["runtime-async-std", "sqlite"] }
cached = { version = "0.54.0", features = ["async"] }
anyhow = "1.0.94"
serde = { version = "1.0.216", features = ["derive"] }
serde_json = "1.0.133"
strum = {version="0.26.3", features = ["derive"]}
fastrand = "2.3.0"
counter = "0.6.0"
ordered-float = { version = "4", features = ["serde"]}
num-traits = "0.2.19"
maplit = "1.0.2"
itertools = "0.13.0"
regex = "1.11.1"
dotenvy = "0.15.7"
env_logger = "0.11.5"
log = "0.4.22"
once_cell = "1.20.2"
once = "0.3.4"
[build-dependencies]
tokio = { version = "1", features = ["macros", "rt-multi-thread", "rt"] }
anyhow = "1.0.94"
sqlx = {version = "0.8.2", features = ["runtime-async-std", "sqlite"]}
dotenvy = "0.15.7"
[dev-dependencies]
rstest = "0.23.0"