Hi,
I was trying out this crate and noticed that my binary grew by more than 10 MB after I set up the utoipa-swagger-ui crate.
Checking the files needed to run it, I could trim it down to 1.8 MB (or 486 KB if I store it gzip-compressed): [index.html, index.css, swagger-ui.css, favicon-16x16.png, favicon-32x32.png, swagger-ui-bundle.js, swagger-ui-standalone-preset.js, swagger-initializer.js].
It would be nice if this were available as a feature flag or an env var.
Thanks
Hi,
I was trying out this crate and noticed that my binary grew by more than 10 MB after I set up the
utoipa-swagger-uicrate.Checking the files needed to run it, I could trim it down to 1.8 MB (or 486 KB if I store it gzip-compressed):
[index.html, index.css, swagger-ui.css, favicon-16x16.png, favicon-32x32.png, swagger-ui-bundle.js, swagger-ui-standalone-preset.js, swagger-initializer.js].It would be nice if this were available as a feature flag or an env var.
Thanks