-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
71 lines (65 loc) · 2.16 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
[workspace]
members = ["backend", "entity", "migration", "macros", "cmds", "test-utils"]
default-members = ["backend", "migration", "cmds"]
resolver = "2"
[workspace.package]
version = "0.1.0"
edition = "2021"
publish = false
license-file = "LICENSE"
[workspace.dependencies]
const_format = "0.2.33"
entity = { path = "./entity" }
macros = { path = "./macros" }
sea-orm = { version = "1.1.1", default-features = false, features = ["runtime-tokio-rustls", "sqlx-postgres", "with-uuid", "with-chrono"] }
serde = { version = "1.0.215", features = ["derive"] }
serde_json = "1.0.133"
tokio = { version = "1.41.1", features = ["rt-multi-thread", "parking_lot", "macros"] }
uuid = { version = "1.11.0", features = ["v4", "fast-rng", "serde"] }
libiam = { git = "https://github.com/Verseghy/iam", package = "libiam" }
dotenvy = "0.15.7"
matverseny-backend = { path = "./backend" }
rand = "0.8.5"
test-utils = { path = "./test-utils" }
tracing = "0.1.40"
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
tokio-tungstenite = "0.24.0"
reqwest = { version = "0.12.9", default-features = false, features = ["json", "rustls-tls"] }
futures = "0.3.31"
[workspace.lints.rust]
rust_2018_idioms = "warn"
future_incompatible = "warn"
nonstandard_style = "warn"
elided_lifetimes_in_paths = { level = "allow", priority = 1 }
[workspace.lints.clippy]
all = { level = "warn", priority = -1 }
dbg_macro = "warn"
todo = "warn"
empty_enum = "warn"
enum_glob_use = "warn"
mem_forget = "warn"
unused_self = "warn"
filter_map_next = "warn"
needless_continue = "warn"
needless_borrow = "warn"
match_wildcard_for_single_variants = "warn"
if_let_mutex = "warn"
await_holding_lock = "warn"
match_on_vec_items = "warn"
imprecise_flops = "warn"
suboptimal_flops = "warn"
lossy_float_literal = "warn"
rest_pat_in_fully_bound_structs = "warn"
fn_params_excessive_bools = "warn"
exit = "warn"
inefficient_to_string = "warn"
linkedlist = "warn"
macro_use_imports = "warn"
unnested_or_patterns = "warn"
str_to_string = "warn"
type_complexity = "allow"
[profile.release]
strip = true
lto = true
[patch.crates-io]
sea-orm = { git = "https://github.com/TwoDCube/sea-orm.git", branch = "zoltanszepesi/fix-schema-quotes" }