-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathCargo.toml
More file actions
95 lines (73 loc) · 2.29 KB
/
Copy pathCargo.toml
File metadata and controls
95 lines (73 loc) · 2.29 KB
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
[package]
name = "calrs"
version = "1.14.0"
edition = "2021"
description = "A fast, self-hostable scheduling platform. Like Cal.com, but written in Rust."
license = "AGPL-3.0"
repository = "https://github.com/olivierlambert/calrs"
[[bin]]
name = "calrs"
path = "src/main.rs"
[dependencies]
# CLI
clap = { version = "4", features = ["derive", "env"] }
# Async runtime
tokio = { version = "1", features = ["full"] }
async-trait = "0.1"
# Database
sqlx = { version = "0.7", features = ["runtime-tokio-rustls", "sqlite", "migrate", "chrono", "uuid"] }
# HTTP client (for CalDAV)
reqwest = { version = "0.11", features = ["rustls-tls", "json"], default-features = false }
# Time & timezone
chrono = { version = "0.4", features = ["serde"] }
chrono-tz = "0.8"
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# IDs
uuid = { version = "1", features = ["v4", "serde"] }
# Error handling
anyhow = "1"
# Secrets / config
directories = "5"
# Terminal output
colored = "2"
tabled = "0.15"
hex = "0.4"
rpassword = "7"
# Email (SMTP)
lettre = { version = "0.11", default-features = false, features = ["tokio1-rustls-tls", "builder", "smtp-transport", "hostname"] }
# Web server
axum = { version = "0.8", features = ["macros", "multipart"] }
axum-extra = { version = "0.10", features = ["cookie", "form"] }
minijinja = { version = "2", features = ["loader", "json"] }
tower-http = { version = "0.6", features = ["trace", "set-header"] }
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Encryption (credential storage)
aes-gcm = "0.10"
zeroize = "1"
# HMAC-SHA256 for outbound webhook signatures
hmac = "0.12"
sha2 = "0.10"
# Auth
argon2 = { version = "0.5", features = ["rand"] }
rand = "0.8"
base64 = "0.22"
subtle = "2"
openidconnect = { version = "4.0.1", default-features = false, features = ["reqwest", "rustls-tls"] }
iana-time-zone = "0.1.65"
urlencoding = "2"
# Markdown (bio rendering)
pulldown-cmark = { version = "0.12", default-features = false, features = ["html"] }
# Browser launch (CLI OAuth2)
open = "5"
# Localization (Fluent)
fluent-bundle = "0.15"
unic-langid = "0.9"
[dev-dependencies]
tower = { version = "0.5", features = ["util"] }
http-body-util = "0.1"
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] }