Refine code to support rust edition 2018, no functional changes. Signed-off-by: Liu Jiang <gerry@linux.alibaba.com>
Signed-off-by: Andreea Florescu <fandree@amazon.com>
Pulled the code from firecracker-microvm/src/micro-http. Signed-off-by: George Pisaltu <gpl@amazon.com> Signed-off-by: Andreea Florescu <fandree@amazon.com>