[[bench]]
harness = false
name = "invocation"
path = "benches/invocation.rs"
[[bin]]
bench = false
name = "test_extension"
path = "tests/fixtures/extension.rs"
test = false
[[bin]]
bench = false
name = "test_runtime"
path = "tests/fixtures/runtime.rs"
test = false
[dependencies.axum]
version = "0.8"
[dependencies.chrono]
features = ["serde"]
version = "0.4"
[dependencies.http-body]
version = "1.0"
[dependencies.nix]
features = ["signal", "process"]
version = "0.30"
[dependencies.pin-project-lite]
version = "0.2"
[dependencies.reqwest]
features = ["json", "blocking"]
version = "0.12"
[dependencies.serde]
features = ["derive"]
version = "1.0"
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
features = ["macros", "rt-multi-thread", "sync", "time", "net"]
version = "1.48"
[dependencies.tower]
version = "0.5"
[dependencies.tracing]
version = "0.1"
[dependencies.uuid]
features = ["v4", "serde", "v4"]
version = "1.19"
[dev-dependencies.aws_lambda_events]
version = "1.0"
[dev-dependencies.bytes]
version = "1.11"
[dev-dependencies.criterion]
version = "0.8.0"
[dev-dependencies.hex]
version = "0.4.3"
[dev-dependencies.http-body-util]
version = "0.1"
[dev-dependencies.lambda_runtime]
features = ["tracing"]
version = "1.0"
[dev-dependencies.mock-collector]
version = "0.2.5"
[dev-dependencies.opentelemetry]
version = "0.31"
[dev-dependencies.opentelemetry-otlp]
default-features = false
features = ["grpc-tonic", "http-proto", "reqwest-blocking-client", "trace", "logs", "metrics"]
version = "0.31"
[dev-dependencies.opentelemetry_sdk]
features = ["rt-tokio"]
version = "0.31"
[dev-dependencies.proptest]
version = "1.9.0"
[dev-dependencies.regex]
version = "1.12.2"
[dev-dependencies.serial_test]
version = "3.2.0"
[dev-dependencies.temp-env]
features = ["async_closure"]
version = "0.3"
[dev-dependencies.tokio]
features = ["macros", "rt-multi-thread", "sync", "time", "net", "test-util"]
version = "1.48"
[dev-dependencies.tracing-subscriber]
features = ["env-filter", "fmt", "ansi"]
version = "0.3"
[lib]
name = "lambda_simulator"
path = "src/lib.rs"
[package]
authors = ["Daniel Verrall"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["development-tools::testing", "simulation"]
description = "High-fidelity AWS Lambda Runtime API simulator for testing Lambda runtimes and extensions locally"
documentation = "https://docs.rs/lambda-simulator"
edition = "2024"
keywords = ["lambda", "aws", "testing", "simulator", "runtime"]
license = "MIT"
name = "lambda-simulator"
readme = "README.md"
repository = "https://github.com/djvcom/lambda-observability"
rust-version = "1.91.1"
version = "0.1.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[[test]]
name = "concurrency_test"
path = "tests/concurrency_test.rs"
[[test]]
name = "demo_test"
path = "tests/demo_test.rs"
[[test]]
name = "e2e_process_spawn_test"
path = "tests/e2e_process_spawn_test.rs"
[[test]]
name = "error_scenarios_test"
path = "tests/error_scenarios_test.rs"
[[test]]
name = "extension_readiness_test"
path = "tests/extension_readiness_test.rs"
[[test]]
name = "extensions_test"
path = "tests/extensions_test.rs"
[[test]]
name = "freeze_demo_test"
path = "tests/freeze_demo_test.rs"
[[test]]
name = "freeze_test"
path = "tests/freeze_test.rs"
[[test]]
name = "integration_test"
path = "tests/integration_test.rs"
[[test]]
name = "invocation_lifecycle_test"
path = "tests/invocation_lifecycle_test.rs"
[[test]]
name = "process_spawn_test"
path = "tests/process_spawn_test.rs"
[[test]]
name = "real_lambda_test"
path = "tests/real_lambda_test.rs"
[[test]]
name = "shutdown_test"
path = "tests/shutdown_test.rs"
[[test]]
name = "telemetry_test"
path = "tests/telemetry_test.rs"
[[test]]
name = "timing_test"
path = "tests/timing_test.rs"