MCPcopy Create free account
hub / github.com/actix/examples / secret_key_default

Function secret_key_default

auth/simple-auth-server/src/utils.rs:38–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36
37 #[test]
38 fn secret_key_default() {
39 temp_env::with_var("SECRET_KEY", None::<&str>, || {
40 assert!(Key::try_from(SECRET_KEY.as_bytes()).is_ok());
41 });
42 }
43}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected