[package] name = "narl-diary" version = "0.1.0" edition = "2021" description = "A terminal-themed personal diary for the browser" [dependencies] axum = { version = "0.8", features = ["multipart", "macros"] } tokio = { version = "1", features = ["rt-multi-thread", "macros", "signal", "fs"] } tower = "0.5" tokio-util = { version = "0.7", features = ["io"] } tower-http = { version = "0.6", features = ["trace", "compression-gzip", "limit", "set-header"] } sqlx = { version = "0.8", default-features = false, features = ["runtime-tokio", "sqlite", "migrate", "macros"] } serde = { version = "1", features = ["derive"] } serde_json = "1" tracing = "0.1" tracing-subscriber = { version = "0.3", features = ["env-filter"] } dotenvy = "0.15" uuid = { version = "1", features = ["v4"] } rand = "0.8" hmac = "0.12" sha2 = "0.10" base64 = "0.22" subtle = "2" mime_guess = "2" rust-embed = { version = "8", features = ["interpolate-folder-path"] } regex = "1" anyhow = "1" zip = { version = "2", default-features = false, features = ["deflate"] } tempfile = "3.27.0" # Only for `--features keyring`, on a host that has a Secret Service; the # container deployment has no session bus and falls back to the session file. keyring = { version = "3", features = ["sync-secret-service", "crypto-rust"], optional = true } proton-drive-rs = "0.6.2" proton-sdk = "0.6.2" rpassword = "7" hex = "0.4" [features] default = [] # Keep the Proton session in the OS keyring instead of a 0600 file. Needs a # Secret Service on D-Bus, so it is off for the container deployment. keyring = ["dep:keyring"] [profile.release] opt-level = 3 lto = true codegen-units = 1 strip = true