//! The PageTop Prelude.

// Re-exported macros and derives.
pub use crate::{concat_string, fn_builder, main, paste, test, SmartDefault};

// Global.
pub use crate::{Handle, HashMapResources, ImplementHandle, LazyStatic, Weight};

// Functions and macro helpers.
pub use crate::util;
pub use crate::{kv, AssignHandle, ComponentClasses};

// MACROS.

// crate::config
pub use crate::default_settings;
// crate::locale
pub use crate::static_locales;
// crate::service
pub use crate::{service_for_static_files, static_files};
// crate::core::actions
pub use crate::actions;

// API.

pub use crate::config;

pub use crate::trace;

pub use crate::html::*;

pub use crate::locale::*;

pub use crate::datetime::*;

#[cfg(feature = "database")]
pub use crate::{db, db::*, migrations, new_migration};

pub use crate::service;
pub use crate::service::HttpMessage;

pub use crate::core::action::*;
pub use crate::core::component::*;
pub use crate::core::module::*;
pub use crate::core::theme::*;

pub use crate::response::fatal_error::*;
pub use crate::response::{page::*, redirect::*, ResponseError};

pub use crate::base::action;
pub use crate::base::component::*;
pub use crate::base::theme;

pub use crate::app::Application;
