tangled
alpha
login
or
join now
bad-example.com
/
microcosm-links
7
fork
atom
APIs for links and references in the ATmosphere
7
fork
atom
overview
issues
pulls
pipelines
env for secret
bad-example.com
8 months ago
620ba018
db6f3273
+2
-2
2 changed files
expand all
collapse all
unified
split
who-am-i
Cargo.toml
src
main.rs
+1
-1
who-am-i/Cargo.toml
···
11
11
axum = "0.8.4"
12
12
axum-extra = { version = "0.10.1", features = ["cookie-signed", "typed-header"] }
13
13
axum-template = { version = "3.0.0", features = ["handlebars"] }
14
14
-
clap = { version = "4.5.40", features = ["derive"] }
14
14
+
clap = { version = "4.5.40", features = ["derive", "env"] }
15
15
ctrlc = "3.4.7"
16
16
dashmap = "6.1.0"
17
17
handlebars = { version = "6.3.2", features = ["dir_source"] }
+1
-1
who-am-i/src/main.rs
···
11
11
/// must have at least 512 bits (64 bytes) of randomness
12
12
///
13
13
/// eg: `cat /dev/urandom | head -c 64 | base64`
14
14
-
#[arg(long)]
14
14
+
#[arg(long, env)]
15
15
app_secret: String,
16
16
/// Enable dev mode
17
17
///