vial::asset
pub fn size(path: &str) -> usize
Size of an asset in asset_dir(). 0 if the asset doesn't exist. Works in bundled mode and regular mode.
asset_dir()
0