This repository was archived by the owner on Sep 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
65 lines (58 loc) · 1.54 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
cargo-features = ["edition2024"]
[package]
name = "backend"
description = "The backend of Database Playground."
license-file = "LICENSE"
readme = "README.md"
repository = "https://github.com/database-playground/backend-rs"
version = "0.1.0"
edition = "2024"
default-run = "backend"
publish = false
[dependencies]
async-graphql = { version = "7.0.7", features = [
"chrono",
"graphiql",
"tracing",
"tempfile",
], default-features = false }
async-graphql-poem = "7.0.7"
chrono = { version = "0.4.38", features = ["std"], default-features = false }
ecow = "0.2.2"
poem = "3.0.4"
serde = { version = "1.0.209", features = ["derive"] }
sqlx = { version = "0.8", features = [
"runtime-tokio",
"tls-rustls",
"postgres",
"chrono",
] }
thiserror = "1.0.63"
tokio = { version = "1.39.3", features = ["rt-multi-thread", "macros"] }
tonic = { version = "0.12.1", features = [
"codegen",
"prost",
"channel",
], default-features = false }
tracing = "0.1.40"
tracing-subscriber = { version = "0.3.18", features = ["chrono"] }
mimalloc-rust = "0.2.1"
prost = "0.13.1"
async-trait = "0.1.81"
jsonwebtoken = "9.3.0"
reqwest = { version = "0.12.7", default-features = false, features = [
"json",
"rustls-tls",
] }
cached = { version = "0.53.1", features = ["async"] }
[profile.release]
lto = "thin"
[profile.dev.package.sqlx-macros]
opt-level = 3
[features]
# Run the integration tests related to PostgreSQL.
test_database = []
[dev-dependencies]
sqlx = { version = "0.8", features = ["migrate"] }
[build-dependencies]
tonic-build = "0.12.1"