I have a small Rust project (~300 lines) that is built and deployed as an AWS Lambda. In order to build the binary from Rust code I need to install the Zig toolchain. If I were to rewrite this small project using Zig instead of Rust would it build much faster?
Build Logs
2024-07-05 08:50:48,314 | DEBUG run: checking function binary binary="/home/runner/work/team-up-bot-sam-pipeline/team-up-bot-sam-pipeline/lambda/discord-signature-verify/target/aarch64-unknown-linux-gnu/release/discord-signature-verify" exists=true
2024-07-05 08:50:48,324 | RustCargoLambdaBuilder:CargoLambdaBuild succeeded
2024-07-05 08:50:48,324 | Running RustCargoLambdaBuilder:RustCopyAndRename
2024-07-05 08:50:48,324 | copying function binary from /home/runner/work/team-up-bot-sam-pipeline/team-up-bot-sam-pipeline/lambda/discord-signature-verify/target/lambda/discord-signature-verify/bootstrap
2024-07-05 08:50:48,324 | copying function binary from /home/runner/work/team-up-bot-sam-pipeline/team-up-bot-sam-pipeline/lambda/discord-signature-verify/target/lambda/discord-signature-verify/bootstrap to /home/runner/work/team-up-bot-sam-pipeline/team-up-bot-sam-pipeline/.aws-sam/build/DiscordSignatureVerify/bootstrap
2024-07-05 08:50:48,332 | RustCargoLambdaBuilder:RustCopyAndRename succeeded```
imports
```rust
use aws_config::BehaviorVersion;
use aws_sdk_lambda as lambda;
use aws_sdk_lambda::primitives::Blob;
use aws_sdk_lambda::types::InvocationType;
use lambda_http::{run, service_fn, Body, Error, Request, Response};
use once_cell::sync::Lazy;
use serde_json::{json, Value};
use std::collections::HashMap;
use std::env;
use std::str::from_utf8;
use tracing::error;
use tracing::info;```
```rust
use anyhow::anyhow;
use ed25519_dalek::{Signature, Verifier, VerifyingKey};
use hex::FromHex;
use lambda_http::http::HeaderMap;
use lambda_http::Body;
use once_cell::sync::Lazy;
use std::collections::HashMap;
use tracing::{error, info};```