This is an easy fix. I was trying to minimize the size of my lambda functions and came across regex-automata which was depended on by tracing-subscriber which was depended on by lambda_runtime_api_client which was depended on by lambda_runtime. lambda_runtime lists it as an optional dependency, so I said something must be enabling it somehow. And then I got to lambda_http, which kept the default dependencies of lambda_runtime.