mirror of https://github.com/synctv-org/synctv
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
481 B
Rust
22 lines
481 B
Rust
#[derive(Clone, Copy, Debug)]
|
|
pub struct Asset {
|
|
pub path: &'static str,
|
|
pub content_type: &'static str,
|
|
pub etag: &'static str,
|
|
pub bytes: &'static [u8],
|
|
pub brotli: Option<EncodedAsset>,
|
|
pub gzip: Option<EncodedAsset>,
|
|
}
|
|
|
|
#[derive(Clone, Copy, Debug)]
|
|
pub struct EncodedAsset {
|
|
pub etag: &'static str,
|
|
pub bytes: &'static [u8],
|
|
}
|
|
|
|
include!(concat!(env!("OUT_DIR"), "/web_assets.rs"));
|
|
|
|
#[cfg(test)]
|
|
#[path = "build_support.rs"]
|
|
mod build_support;
|