Constellation, Spacedust, Slingshot, UFOs: atproto crates and services for microcosm

env for secret

Changed files
+2 -2
who-am-i
+1 -1
who-am-i/Cargo.toml
···
axum = "0.8.4"
axum-extra = { version = "0.10.1", features = ["cookie-signed", "typed-header"] }
axum-template = { version = "3.0.0", features = ["handlebars"] }
-
clap = { version = "4.5.40", features = ["derive"] }
ctrlc = "3.4.7"
dashmap = "6.1.0"
handlebars = { version = "6.3.2", features = ["dir_source"] }
···
axum = "0.8.4"
axum-extra = { version = "0.10.1", features = ["cookie-signed", "typed-header"] }
axum-template = { version = "3.0.0", features = ["handlebars"] }
+
clap = { version = "4.5.40", features = ["derive", "env"] }
ctrlc = "3.4.7"
dashmap = "6.1.0"
handlebars = { version = "6.3.2", features = ["dir_source"] }
+1 -1
who-am-i/src/main.rs
···
/// must have at least 512 bits (64 bytes) of randomness
///
/// eg: `cat /dev/urandom | head -c 64 | base64`
-
#[arg(long)]
app_secret: String,
/// Enable dev mode
///
···
/// must have at least 512 bits (64 bytes) of randomness
///
/// eg: `cat /dev/urandom | head -c 64 | base64`
+
#[arg(long, env)]
app_secret: String,
/// Enable dev mode
///