tideorm 0.9.4

A developer-friendly ORM for Rust with clean, expressive syntax
Documentation
//! Global TideORM configuration
//!
//! This module defines the global TideORM configuration surface, including
//! database connection, pool settings, translation settings, and other defaults.
//!
//! Use this as the startup entry point when you need one place to initialize
//! the global database handle, pool limits, languages, file URL generation, and
//! related defaults before models start issuing queries.

#[allow(missing_docs)]
mod builder;
#[allow(missing_docs)]
mod database;
#[allow(missing_docs)]
mod registration;
#[allow(missing_docs)]
mod settings;
mod state;

pub use builder::TideConfig;
pub use database::DatabaseType;
pub use registration::{RegisterMigrations, RegisterSeeds};
pub use settings::{Config, PoolConfig};

#[cfg(feature = "attachments")]
pub use settings::FileUrlGenerator;

#[cfg(test)]
pub(crate) use database::rewrite_driver_url;
#[cfg(test)]
use std::time::Duration;

#[cfg(test)]
#[path = "../testing/config_tests.rs"]
mod tests;