Skip to main content

Module assets

Module assets 

Source
Expand description

Framework-neutral access to the embedded /sf/* asset tree.

This module is available without the optional axum feature. Hosts using another HTTP framework can call get and translate the returned metadata into their own response type.

Structs§

UiAsset
An embedded SolverForge UI asset plus the HTTP metadata used by the Axum adapter.

Enums§

AssetError
Error returned by get when an asset path cannot be served.

Functions§

get
Looks up an embedded asset by /sf-relative path.
paths
Returns all embedded /sf-relative asset paths in stable sorted order.
version
Returns the crate version that produced this embedded asset set.