-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
106 lines (95 loc) · 2.97 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
[package]
name = "matverseny-backend"
version.workspace = true
edition.workspace = true
publish.workspace = true
license-file.workspace = true
rust-version = "1.76"
default-run = "matverseny-backend"
[lints]
workspace = true
[workspace.package]
version = "0.1.0"
edition = "2021"
publish = false
license-file = "LICENSE"
[workspace.lints.rust]
rust_2018_idioms = "warn"
future_incompatible = "warn"
nonstandard_style = "warn"
elided_lifetimes_in_paths = "allow"
[workspace.lints.clippy]
all = "warn"
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
[workspace]
members = [".", "entity", "migration", "macros", "cmds"]
default-members = [".", "migration", "cmds"]
[dependencies]
axum = { version = "0.7.5", features = ["ws", "http2"] }
serde = { version = "1.0.193", features = ["derive"] }
tokio = { version = "1.33.0", features = ["macros", "rt-multi-thread", "signal", "parking_lot", "sync"] }
tower = "0.4.13"
tower-http = { version = "0.5.2", features = ["cors", "compression-full", "decompression-full", "catch-panic", "sensitive-headers", "request-id", "util", "normalize-path"] }
tracing = "0.1.40"
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
entity = { path = "./entity" }
sea-orm = { version = "0.12.7", default-features = false, features = ["runtime-tokio-rustls", "sqlx-postgres", "with-uuid", "with-chrono"] }
serde_json = "1.0.108"
validator = { version = "0.18.1", features = ["derive"] }
pin-project = "1.1.3"
jsonwebtoken = "9.1.0"
once_cell = { version = "1.18.0", features = ["parking_lot"] }
rand = "0.8.5"
futures = "0.3.29"
rand_chacha = "0.3.1"
serde_with = "3.4.0"
tokio-tungstenite = "0.23.1"
sqlx = { version = "0.7.2", default-features = false, features = ["postgres"] }
uuid.workspace = true
bytes = "1.5.0"
mime = "0.3.17"
macros = { path = "./macros/" }
smallvec = "1.11.1"
const_format = "0.2.32"
pin-project-lite = "0.2.13"
reqwest = { version = "0.12.5", default-features = false, features = ["json", "rustls-tls"] }
libiam = { git = "https://github.com/Verseghy/iam", package = "libiam" }
chrono = { version = "0.4.31", features = ["serde"] }
async-nats = "0.35.1"
headers = "0.4.0"
anyhow = "1.0.86"
[workspace.dependencies]
uuid = { version = "1.5.0", features = ["v4", "fast-rng", "serde"] }
[dev-dependencies]
dotenvy = "0.15.7"
http = "1.1.0"
migration = { path = "./migration" }
assert-json-diff = "2.0.2"
serial_test = "2.0.0"