graphile_worker_admin_ui_client 0.1.3

Leptos WASM client for the embedded graphile_worker admin UI
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#[inline(always)]
pub const fn manifest_dir() -> &'static str {
    env!("CARGO_MANIFEST_DIR")
}

#[cfg(test)]
mod tests {
    use super::manifest_dir;

    #[test]
    fn manifest_dir_points_to_admin_ui_client_crate() {
        assert!(manifest_dir().ends_with("graphile-worker-admin-ui-client"));
    }
}

#[cfg(target_arch = "wasm32")]
mod wasm;