auto_serve_dir!() { /* proc-macro */ }Expand description
Selects how it should serve the directory using the build profile.
In debug it uses serve_dir!, in release it uses include_dir!.
Takes an optional 4th parameter to set the maximum file size in bytes before the file is going to be served dynamically instead of being included in the binary.