-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
84 lines (63 loc) · 2.09 KB
/
Copy pathCargo.toml
File metadata and controls
84 lines (63 loc) · 2.09 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
[workspace]
resolver = "2"
[package]
name = "bybe"
version = "5.0.0"
authors = ["RakuJa"]
# Compiler info
edition = "2024"
rust-version = "1.94.1"
description = "Beyond Your Bestiary Explorer (BYBE) is a web service that provides tools to help Pathfinder/Starfinder 2e Game Masters."
readme = "README.md"
homepage = "https://api.bybe.app/"
repository = "https://github.com/RakuJa/BYBE"
license = "MIT"
keywords = ["webservice", "pathfinder", "starfinder"]
publish = false
[lib]
name = "bybe"
path = "src/lib.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}
[features]
cache = ["dep:cached"]
[dependencies]
async-trait = "0.1.89"
utoipa = { version = "5.4.0" }
sqlx = { version = "0.9.0", features = ["runtime-async-std", "postgres"] }
cached = { version = "1.1.0", features = ["async"], optional = true }
nomina = { version = "0.0.5", git = "https://github.com/rakuja/nomina.git" }
bon = "3.9.3"
anyhow = "1.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
strum = { version = "0.28", features = ["derive"] }
nanorand = "0.8.0"
counter = "0.7"
ordered-float = { version = "5", features = ["serde"] }
num-traits = "0.2"
maplit = "1.0"
itertools = "0.15"
base64ct = { version = "1.8.3", features = ["alloc"] }
postcard = { version = "1.1.3", features = ["alloc"] }
async-compression = {version = "0.4", features = ["zstd", "tokio"]}
tokio = { version = "1.50", features = ["io-util", "rt", "macros"] }
futures = "0.3"
regex = "1.12"
tracing = "0.1.44"
[build-dependencies]
anyhow = "1.0"
[dev-dependencies]
rstest = "0.26.1"