summaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: 83c3aa42e80048a771c9a892630fcb4696f236a2 (plain)
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
[package]
name = "hi"
version = "0.1.0"
edition = "2021"
rust-version = "1.82"
default-run = "hi"
authors = [
	"Owen Jacobson <hi@grimoire.ca>",
	"Kit La Touche <kit@transneptune.net>",
]

[package.metadata.deb]
maintainer = "Owen Jacobson <hi@grimoire.ca>"
maintainer-scripts = "debian"
assets = [
	# Binaries
	["target/release/hi", "/usr/bin/hi", "755"],

	# Configuration
	["debian/default", "/etc/default/hi", "644"],
]

[package.metadata.deb.systemd-units]

[dependencies]
argon2 = "0.5.3"
async-trait = "0.1.83"
axum = { version = "0.7.7", features = ["form"] }
axum-extra = { version = "0.9.4", features = ["cookie", "query", "typed-header"] }
chrono = { version = "0.4.38", features = ["serde"] }
clap = { version = "4.5.20", features = ["derive", "env"] }
futures = "0.3.31"
headers = "0.4.0"
hex-literal = "0.4.1"
itertools = "0.13.0"
mime = "0.3.17"
password-hash = { version = "0.5.0", features = ["std"] }
rand = "0.8.5"
rand_core = { version = "0.6.4", features = ["getrandom"] }
# Pinned to maintain libsqlite3 version match between this and sqlx. See also:
# <https://docs.rs/sqlx/latest/sqlx/sqlite/index.html>
rusqlite = { version = "=0.32.1", features = ["backup"] }
rust-embed = "8.5.0"
serde = { version = "1.0.210", features = ["derive"] }
serde_json = "1.0.131"
# Pinned to maintain libsqlite3 version match between this and rusqlite. See
# also: <https://docs.rs/sqlx/latest/sqlx/sqlite/index.html>
sqlx = { version = "=0.8.2", features = ["chrono", "runtime-tokio", "sqlite"] }
thiserror = "1.0.64"
tokio = { version = "1.40.0", features = ["rt", "macros", "rt-multi-thread"] }
tokio-stream = { version = "0.1.16", features = ["sync"] }
unicode-casefold = "0.2.0"
unicode-normalization = "0.1.24"
unicode-segmentation = "1.12.0"
unix_path = "1.0.1"
uuid = { version = "1.11.0", features = ["v4"] }

[dev-dependencies]
faker_rand = "0.1.1"
pin-project = "1.1.7"
rand = "0.8.5"