summaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: 4085a1961ecc3f3db88fe6b32d44a41e03a97f01 (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
62
63
64
65
[package]
name = "pilcrow"
version = "0.1.0"
edition = "2024"
rust-version = "1.91"
authors = [
    "Owen Jacobson <owen@grimoire.ca>",
    "Kit La Touche <kit@transneptune.net>",
]

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

[package.metadata.deb.systemd-units]

[dependencies]
argon2 = "0.5.3"
axum = { version = "0.8.6", features = ["form"] }
axum-extra = { version = "0.12.1", features = ["cookie", "query", "typed-header"] }
base64 = "0.22.1"
chrono = { version = "0.4.42", features = ["serde"] }
clap = { version = "4.5.51", features = ["derive", "env"] }
futures = "0.3.31"
headers = "0.4.1"
hex = "0.4.3"
itertools = "0.14.0"
mime = "0.3.17"
nix = { version = "0.30.1", features = ["fs"] }
p256 = { version = "0.13.2", features = ["ecdsa"] }
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 = { version = "8.9.0", features = ["interpolate-folder-path"] }
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.145"
serde_with = "3.15.1"
# 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.6", features = ["chrono", "runtime-tokio", "sqlite"] }
thiserror = "2.0.17"
tokio = { version = "1.48.0", features = ["rt", "macros", "rt-multi-thread"] }
tokio-stream = { version = "0.1.17", features = ["sync"] }
tower = "0.5.2"
unicode-casefold = "0.2.0"
unicode-normalization = "0.1.25"
unicode-segmentation = "1.12.0"
unix_path = "1.0.1"
uuid = { version = "1.18.1", features = ["v4"] }
web-push = "0.11.0"

[dev-dependencies]
async-trait = "0.1.89"
faker_rand = "0.1.1"
pin-project = "1.1.10"
rand = "0.8.5"