Our Personal Data Server from scratch! tranquil.farm
oauth atproto pds rust postgresql objectstorage fun

fix: only include timestamp in the build version if built in debug mode so release stays reproducible

nel.pet 61a60a31 09f80401

verified
+4
+4
crates/tranquil-pds/src/main.rs
··· 7 7 use tracing::{error, info, warn}; 8 8 use tranquil_pds::comms::{CommsService, DiscordSender, EmailSender, SignalSender, TelegramSender}; 9 9 10 + #[cfg(debug_assertions)] 10 11 const BUILD_VERSION: &str = concat!( 11 12 env!("CARGO_PKG_VERSION"), 12 13 " (built ", 13 14 env!("BUILD_TIMESTAMP"), 14 15 ")" 15 16 ); 17 + #[cfg(not(debug_assertions))] 18 + const BUILD_VERSION: &str = env!("CARGO_PKG_VERSION"); 19 + 16 20 use tranquil_pds::crawlers::{Crawlers, start_crawlers_service}; 17 21 use tranquil_pds::scheduled::{ 18 22 backfill_genesis_commit_blocks, backfill_record_blobs, backfill_repo_rev, backfill_user_blocks,