Title: Remove tokio `rt-multi-thread` feature from `lambda_runtime` and `lambda_extension`, and possibly `rt` as well · Issue #984 · aws/aws-lambda-rust-runtime · GitHub
Open Graph Title: Remove tokio `rt-multi-thread` feature from `lambda_runtime` and `lambda_extension`, and possibly `rt` as well · Issue #984 · aws/aws-lambda-rust-runtime
X Title: Remove tokio `rt-multi-thread` feature from `lambda_runtime` and `lambda_extension`, and possibly `rt` as well · Issue #984 · aws/aws-lambda-rust-runtime
Description: Currently the lambda_runtime crate has an unconditional dependency on tokio withe rt-multi-thread feature enabled: https://github.com/awslabs/aws-lambda-rust-runtime/blob/main/lambda-runtime/Cargo.toml#L53 https://github.com/awslabs/aws-...
Open Graph Description: Currently the lambda_runtime crate has an unconditional dependency on tokio withe rt-multi-thread feature enabled: https://github.com/awslabs/aws-lambda-rust-runtime/blob/main/lambda-runtime/Cargo....
X Description: Currently the lambda_runtime crate has an unconditional dependency on tokio withe rt-multi-thread feature enabled: https://github.com/awslabs/aws-lambda-rust-runtime/blob/main/lambda-runtime/Cargo....
Opengraph URL: https://github.com/aws/aws-lambda-rust-runtime/issues/984
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Remove tokio `rt-multi-thread` feature from `lambda_runtime` and `lambda_extension`, and possibly `rt` as well","articleBody":"Currently the `lambda_runtime` crate has an unconditional dependency on tokio withe `rt-multi-thread` feature enabled: \n- https://github.com/awslabs/aws-lambda-rust-runtime/blob/main/lambda-runtime/Cargo.toml#L53\n- https://github.com/awslabs/aws-lambda-rust-runtime/blob/main/lambda-extension/Cargo.toml#L35\n\nI'm struggling to see anywhere this dependency is actually used. Meanwhile, given that lambdas only receive one request at a time, it will frequently make sense for callers to only want to use the current thread runtime anyway (ref: #985 ).\n\nI don't think we even need the `rt` (not multithreaded) feature for `lambda-runtime`, not seeing anywhere we are spawning or interacting with feature gated APIs. Though, for #983 we would need it, so probably ok to leave in?\n\nAnyway, is there a reason we need to depend on the multithreaded runtime feature? Am I missing something?","author":{"url":"https://github.com/jlizen","@type":"Person","name":"jlizen"},"datePublished":"2025-05-06T14:47:33.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/984/aws-lambda-rust-runtime/issues/984"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:089816ce-3819-3898-0642-0d3f35c52c69 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C14A:D000:572F94D:7349772:698BDF21 |
| html-safe-nonce | 244dde210203c03a629dfda264ac414ff28b5457dadc2f00a6e9e258ded7e4dc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMTRBOkQwMDA6NTcyRjk0RDo3MzQ5NzcyOjY5OEJERjIxIiwidmlzaXRvcl9pZCI6Ijk1OTExNzc1NTc1NDk5NTQ4OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d64fab916b7243cfc724aabc506910a28671257f2e87ce3a72decfe724fd5da4 |
| hovercard-subject-tag | issue:3043101065 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/aws/aws-lambda-rust-runtime/984/issue_layout |
| twitter:image | https://opengraph.githubassets.com/410dac759e207c82a497d2d28083f739d2801595d261961e3c3bd30ae9588e14/aws/aws-lambda-rust-runtime/issues/984 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/410dac759e207c82a497d2d28083f739d2801595d261961e3c3bd30ae9588e14/aws/aws-lambda-rust-runtime/issues/984 |
| og:image:alt | Currently the lambda_runtime crate has an unconditional dependency on tokio withe rt-multi-thread feature enabled: https://github.com/awslabs/aws-lambda-rust-runtime/blob/main/lambda-runtime/Cargo.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jlizen |
| hostname | github.com |
| expected-hostname | github.com |
| None | 640eeb7b6ff4d8d106235d228c0c286e82592d4d2403227b5b2b4fc5832297a4 |
| turbo-cache-control | no-preview |
| go-import | github.com/aws/aws-lambda-rust-runtime git https://github.com/aws/aws-lambda-rust-runtime.git |
| octolytics-dimension-user_id | 2232217 |
| octolytics-dimension-user_login | aws |
| octolytics-dimension-repository_id | 156752158 |
| octolytics-dimension-repository_nwo | aws/aws-lambda-rust-runtime |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 156752158 |
| octolytics-dimension-repository_network_root_nwo | aws/aws-lambda-rust-runtime |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3d444f0a47beeeac94cddbb51c91ab408befe8d4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width