macro_rules! include_artifact {
($directory:expr) => { ... };
}Expand description
Embed the artifact in $directory in the binary: its fetchlet.json,
server.js and assets.flpk, which fetchlet/build writes with
archiveArtifactAssets. $directory is a string literal or a macro such
as concat! or env! that expands to one, and is resolved as
include_bytes! resolves paths, relative to the file that calls it.
ⓘ
let artifact = fetchlet_http::include_artifact!(env!("APP_ARTIFACT"))?;