Our Personal Data Server from scratch!
0

Configure Feed

Select the types of activity you want to include in your feed.

fix(tranquil-config): reject unknown keys in TlsConfig, bump rust 1.96

Lewis: May this revision serve well! <lu5a@proton.me>

Lewis (May 29, 2026, 9:39 AM +0300) 7a54ccf6 e85394c3

+9 -6
+1 -1
Dockerfile
··· 6 6 COPY frontend/ ./ 7 7 RUN pnpm build 8 8 9 - FROM rust:1.92-alpine AS builder 9 + FROM rust:1.96-alpine AS builder 10 10 RUN apk add --no-cache ca-certificates musl-dev pkgconfig openssl-dev openssl-libs-static mold clang protoc 11 11 ENV RUSTFLAGS="-C linker=clang -C link-arg=-fuse-ld=mold" 12 12 WORKDIR /app
+1 -1
Dockerfile.dev
··· 1 - FROM rust:1.92-alpine 1 + FROM rust:1.96-alpine 2 2 3 3 RUN apk add --no-cache \ 4 4 ca-certificates \
+3 -4
crates/tranquil-config/src/lib.rs
··· 502 502 } 503 503 504 504 #[derive(Debug, Config)] 505 + #[config(layer_attr(serde(deny_unknown_fields)))] 505 506 pub struct TlsConfig { 506 507 /// The path to the TLS cert chain. 507 508 /// If you set both this and `key_path`, the server terminates TLS itself rather than expecting ··· 1638 1639 1639 1640 #[test] 1640 1641 fn load_accepts_known_keys() { 1641 - let dir = std::env::temp_dir().join(format!( 1642 - "tranquil-config-known-keys-{}", 1643 - std::process::id() 1644 - )); 1642 + let dir = 1643 + std::env::temp_dir().join(format!("tranquil-config-known-keys-{}", std::process::id())); 1645 1644 std::fs::create_dir_all(&dir).expect("mkdir tempdir"); 1646 1645 let path = dir.join("config.toml"); 1647 1646 std::fs::write(
+4
rust-toolchain.toml
··· 1 + [toolchain] 2 + channel = "1.96.0" 3 + components = ["rustfmt", "clippy"] 4 + profile = "minimal"