1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
//!
//!  **Sauron** is an web framework for creating fast and interactive client side web application,
//!  as well as server-side rendering for back-end web applications.
//!
//!
#![doc(
    html_logo_url = "https://raw.githubusercontent.com/ivanceras/sauron/master/assets/sauron.png"
)]
#![deny(clippy::all)]
#![deny(
    warnings,
    missing_docs,
    missing_copy_implementations,
    trivial_casts,
    trivial_numeric_casts,
    unstable_features,
    unused_import_braces
)]

pub use prelude::*;

/// prelude
pub mod prelude {
    pub use sauron_core::prelude::*;
    pub use sauron_core::*;
    #[cfg(feature = "with-jss")]
    pub use sauron_macro::{jss, jss_with_media, style};
}

#[cfg(feature = "custom_element")]
pub use sauron_macro::custom_element;
#[cfg(feature = "with-node-macro")]
pub use sauron_macro::node;

#[cfg(feature = "with-jss")]
pub use sauron_macro::{jss, jss_with_media, style};