// Day 11: Imagery from the North Pole
// Decked out in his signature red coat, Santa's eyes sparkle brighter than the Northern Star as he navigates through tall shelves packed with newly produced Christmas decorations for the season. Handcrafted glass balls, ornate stars, whimsical snowflakes, festive tinsel - you name it, they have it all.
// Task 1: Served on a silver platter
// The time has come to decorate our surroundings! The elves are getting tired of working with just strings and numbers and bytes, and are in need of some fancy christmas ornaments on the computer screens.
// const DECORATION_IMAGE: _ = include_bytes!("../assets/decoration.png");
use ServeDir;
/// serve it as a static file so that a GET request to /11/assets/decoration.png responds with the image file and correct headers for MIME type (Content-Type: image/png) and response length (Content-Length: ...).
use Multipart;
/// Add a POST endpoint /11/red_pixels, that takes in a PNG image in the `image` field of a multipart POST request, and returns the number of pixels in the image that are perceived as "magical red" when viewed with Santa's night vision goggles. The goggles
pub async
use RGB;
/// considers a pixel "magical red" if the color values of the pixel fulfill the formula `red > blue + green`.