br-db 1.8.21

This is an orm database mysql mssql sqlite
Documentation
[package]

name = "br-db"

version = "1.8.21"

edition = "2021"

authors = ["Doraemon <7991156@qq.com>"]

keywords = ["br", "orm", "db", "sql"]

readme = "README.md"

license = "MIT"

exclude = ["INSTALL.md", "examples", "tests"]

description = "This is an orm database mysql mssql sqlite"



[features]



db-mysql = ["mysql"]

db-sqlite = ["sqlite"]

db-mssql = ["tiberius", "async-std", "tokio"]

db-pgsql = ["br-pgsql"]





default = []

#default = ["db-sqlite", "db-mysql", "db-mssql", "db-pgsql"]



[dependencies]

json = "0.12"

log = "0.4"

lazy_static = "1.5.0"

toml = "0.9.0"

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



chrono = "0.4"





tokio = { version = "1.46.1", default-features = false, features = ["full"], optional = true }

async-std = { version = "1.13", default-features = false, features = ["default"], optional = true }



sqlite = { version = "0.37.0", default-features = false, features = ["linkage"], optional = true }



mysql = { version = "26.0.0", optional = true }

tiberius = { version = "0.12.3", default-features = false, optional = true, features = ["chrono", "time"] }



br-pgsql = { version = "0.1.10", optional = true }

br-fields = "2.1.20"

num_cpus = "1.17.0"

br-crypto = { version = "0.4.3", features = ["br_md5"] }



#br-fields = { path = "../br-fields" }

#br-pgsql = { path = "../br-pgsql", optional = true }

rand = "0.9.1"

[dev-dependencies]

env_logger = "0.11"

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

tokio-postgres = { version = "0.7", features = ["with-chrono-0_4"] } # 支持时间类型