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
37
//! Core of rbatis::core, the rust SQL toolkit. Not intended to be used directly.

// When compiling with support for SQLite we must allow some unsafe code in order to
// interface with the inherently unsafe C module. This unsafe code is contained
// to the sqlite module.
#![cfg_attr(feature = "sqlite", deny(unsafe_code))]
// #![warn(missing_docs)]
#![allow(unused_imports)]
#![allow(unused_assignments)]
pub mod runtime;

/// database
mod mysql;
mod postgres;
mod sqlite;
mod mssql;

#[macro_use]
pub mod error;

#[macro_use]
extern crate lazy_static;


pub mod decode;

pub use error::{Error, Result};

pub mod db_adapter;

pub mod convert;

pub mod sync;

pub mod db;

pub mod value;