-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCargo.toml
76 lines (65 loc) · 1.82 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
[package]
# طين is an arabic word for Clay
name = "tin"
version = "1.2.0"
authors = ["azzamsa <vcs@azzamsa.com>"]
categories = ["web-programming"]
edition = "2021"
exclude = ["/README.md"]
keywords = ["boilerplate"]
license = "MIT"
publish = false
repository = "https://github.com/azzamsa/tin"
rust-version = "1.83.0"
description = "Rust GraphQL Template"
[profile.release]
strip = true
opt-level = 'z' # Optimize for size.
codegen-units = 1
lto = true
panic = 'abort'
[dependencies]
axum = "0.7.9"
hyper = "1.5.1"
tokio = { version = "1.41.1", features = ["macros", "rt-multi-thread"] }
# GraphQL
async-graphql = { version = "7.0.11", features = ["uuid", "chrono"] }
async-graphql-axum = "7.0.11"
# Rest
utoipa = { version = "5.2.0", features = ["axum_extras"] }
utoipa-swagger-ui = { version = "8.0.3", features = ["axum"] }
# Database
sqlx = { version = "0.8.2", features = ["runtime-tokio-rustls", "postgres", "uuid", "chrono", "migrate"] }
# Logging
tracing = "0.1.41"
tracing-subscriber = { version = "0.3.19", features = ["env-filter", "chrono"] }
# Configurations
dotenv = "0.15.0"
# Misc
base64 = "0.22.1"
chrono = "0.4.38"
frunk = "0.4.3"
frunk_core = { version = "0.4.3" }
serde = "1.0.215"
serde_json = "1.0.133"
thiserror = "2.0.3"
time = "0.3.36"
ulid = { version = "1.1.3", features = ["uuid"] }
url = "2.5.4"
uuid = "1.11.0"
[dev-dependencies]
anyhow = "1.0.93"
cynic = "3.9.0"
http-body-util = "0.1.2"
mime = "0.3.17"
tower = { version = "0.5.1", features = ["util"] }
[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ version}-{ target }.tar.gz"
bin-dir = "{ bin }{ binary-ext }"
pkg-fmt = "tgz"
[package.metadata.release]
sign-commit = true
sign-tag = true
tag-message = "v{{version}}"
pre-release-commit-message = "v{{version}}"
pre-release-hook = ["just", "_release-prepare", "{{version}}"]