rbatis 2.0.13

Rust orM Framework High Performance(JSON based)
Documentation
[workspace]

members = [

    ".",

    "rbatis-macro-driver",

    "example"

]



[package]

name = "rbatis"

version = "2.0.13"

description = "Rust orM Framework High Performance(JSON based)"

readme = "Readme.md"

authors = ["ce <zhuxiujia@qq.com>"]

edition = "2018"

license = "Apache-2.0"

documentation = "https://rbatis.github.io/rbatis.io/#/en/"

repository = "https://github.com/rbatis/rbatis"

homepage = "https://rbatis.github.io/rbatis.io/#/en/"



[features]

default = ["default_mode", "all-database"]

#debug_mode feature will show decode json data

debug_mode = ["rbatis-core/debug_mode", "rbatis-macro-driver/debug_mode", "rbatis_sql/debug_mode"]

default_mode = ["rbatis-core", "rbatis-macro-driver", "rbatis_sql"]

#support upper case sql keyword

upper_case_sql_keyword = []

#runtime  database

all-database = ["default_mode", "rbatis-core/all-database"]

mysql = ["default_mode", "rbatis-core/mysql"]

postgres = ["default_mode", "rbatis-core/postgres"]

sqlite = ["default_mode", "rbatis-core/sqlite"]

mssql = ["default_mode", "rbatis-core/mssql"]



#choose runtime

tokio02 = ["rbatis-core/tokio02"]

tokio03 = ["rbatis-core/tokio03"]

tokio1 = ["rbatis-core/tokio1"]

async-io = ["rbatis-core/async-io"]



[dependencies]

rbatis-core = { version = "2.0.7", git = "https://github.com/rbatis/rbatis-core.git", branch = "main", default-features = false, optional = true }

rbatis-macro-driver = { version = "2.0.9", path = "rbatis-macro-driver", default-features = false, optional = true }

rbatis_sql = {version="2.0.13", git = "https://github.com/rbatis/rbatis_sql.git", branch = "main", optional = true}



chrono = { version = "0.4", features = ["serde"] }

lazy_static = "1.4"

#serde

serde = { version = "1", features = ["derive"] }

serde_json = { version = "1" }

#uuid

uuid = { version = "0.8", features = ["serde", "v4"] }

#log

log = "0.4"

#async trait

async-trait = "0.1"

futures-core = { version = "0.3" }

futures = { version = "0.3" }

once_cell = "1.7"

#object_id

hex = "0.4"

rand = "0.8"

[dev-dependencies]

fast_log = "1.3"

tokio = { version = "1.7", features = ["full"] }

async-std = { version = "1.9", features = ["attributes"] }