#[non_exhaustive]pub enum JsTool {
Esbuild,
}Expand description
External tools mini-static knows how to invoke for JS bundling/minification.
#[non_exhaustive] so a future preset is an additive variant, not a
semver-breaking change for downstream match expressions.
§Installation
mini-static does not install or manage these binaries — only looks them up on
PATH at server startup and fails loudly if missing (see crate::Server::with_js_tool).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Esbuild
https://esbuild.github.io, invoked via its esbuild CLI (npm package
esbuild, also distributable as a standalone platform binary).
Trait Implementations§
impl Copy for JsTool
impl Eq for JsTool
impl StructuralPartialEq for JsTool
Auto Trait Implementations§
impl Freeze for JsTool
impl RefUnwindSafe for JsTool
impl Send for JsTool
impl Sync for JsTool
impl Unpin for JsTool
impl UnsafeUnpin for JsTool
impl UnwindSafe for JsTool
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.