Skip to content

The example code does not work #254

@nabezokodaikon

Description

@nabezokodaikon

An error occurs in the top use lambda::{handler_fn, Context}; of hello-without-macro.rs.

https://github.com/awslabs/aws-lambda-rust-runtime/blob/a9de2fcb24030a00e402348aba3c368b717feb6d/lambda/examples/hello-without-macro.rs#L1

The error details are as follows.

unresolved import `lambda`  use of undeclared type or module `lambda`

I am adding lambda_runtime = "0.2.1" to Cargo.toml's [dependencies].

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions