MCPcopy Create free account
hub / github.com/cargo-lambda/cargo-lambda / setup

Function setup

crates/cargo-lambda-remote/src/lib.rs:139–151  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

137 use crate::RemoteConfig;
138
139 fn setup() {
140 let manifest_dir = env!("CARGO_MANIFEST_DIR");
141 unsafe {
142 std::env::set_var(
143 "AWS_CONFIG_FILE",
144 format!("{manifest_dir}/test-data/aws_config"),
145 );
146 std::env::set_var(
147 "AWS_SHARED_CREDENTIALS_FILE",
148 format!("{manifest_dir}/test-data/aws_credentials"),
149 );
150 }
151 }
152
153 /// Specify a profile which does not exist
154 /// Expectations:

Callers 5

undefined_profileFunction · 0.85
profile_with_regionFunction · 0.85
profile_without_regionFunction · 0.85
default_profileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected