reinhardt-web 0.2.0

A full-stack API framework for Rust, inspired by Django and Django REST Framework
//! Proc-macro and attribute macro re-exports.

#[cfg(all(feature = "core", native))]
pub use reinhardt_apps::{AppConfig, AppError, AppResult, Apps};

pub use reinhardt_macros::{AppConfig, app_config, installed_apps};

#[cfg(all(feature = "conf", native))]
pub use reinhardt_macros::settings;

pub use reinhardt_macros::{Model, model};

pub use reinhardt_macros::dto;

#[cfg(all(feature = "database", native))]
pub use reinhardt_macros::collect_migrations;

#[cfg(native)]
pub use reinhardt_macros::{api_view, delete, get, patch, post, put};

#[cfg(native)]
pub use reinhardt_macros::flatten_imports;
pub use reinhardt_macros::routes;
#[cfg(native)]
pub use reinhardt_macros::viewset;

#[cfg(all(feature = "admin", native))]
pub use reinhardt_macros::admin;

pub use reinhardt_core::apply_update::ApplyUpdate;
#[cfg(native)]
pub use reinhardt_macros::{ApplyUpdate as DeriveApplyUpdate, apply_update};