topcoat 0.0.4

A modular, batteries-included Rust web framework for server-rendered apps.
Documentation
1
2
3
4
5
6
7
8
9
10
pub use topcoat_runtime::*;
pub use topcoat_runtime_macro::*;

#[cfg(feature = "view")]
#[topcoat::view::component]
pub async fn script() -> topcoat::Result {
    topcoat::view::view! {
        <script type="module" src=(topcoat::runtime::SCRIPT)></script>
    }
}