ormer 0.1.21

A minimalist ORM framework that supports SQLite, PostgreSQL, MySQL, and SqlServer
Documentation
[package]

name = "ormer"

version = "0.1.21"

edition = "2024"

rust-version = "1.85"

license = "MIT"

repository = "https://github.com/fawdlstty/ormer"

homepage = "https://github.com/fawdlstty/ormer"

description = "A minimalist ORM framework that supports SQLite, PostgreSQL, MySQL, and SqlServer"

authors = ["fawdlstty<f@fawdlstty.com>"]

keywords = ["orm", "database"]

categories = []

readme = "../README.md"

exclude = ["src/main.rs"]



[lib]

name = "ormer"

path = "src/lib.rs"

doctest = false



[dependencies]

anyhow = "1.0.102"

async-trait = "0.1"

byteorder = "1.5"

bytes = "1"

futures = "0.3"

ormer-derive = { version = "0.1.19", path = "../ormer-derive" }

paste = "1.0"

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

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

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

serde_json = "1.0"

# sqlite

turso = { version = "0.1", optional = true }

# postgres

bb8 = { version = "0.8", optional = true }

bb8-postgres = { version = "0.8", optional = true }

postgres-types = { version = "0.2", optional = true }

tokio-postgres = { version = "0.7", features = ["with-chrono-0_4"], optional = true }

# mysql

mysql_async = { version = "0.34", optional = true }

# mssql

tiberius = { version = "0.12", optional = true, features = ["tds73", "chrono"] }

tokio-util = { version = "0.7", features = ["compat"], optional = true }



[dev-dependencies]

paste = "1.0"



[[test]]

name = "aggregate_test"

harness = true



[package.metadata.docs.rs]

all-features = true



[features]

default = ["sqlite"]

full = ["sqlite", "postgresql", "mysql", "mssql"]

sqlite = ["dep:turso"]

postgresql = ["dep:tokio-postgres", "dep:postgres-types", "dep:bb8", "dep:bb8-postgres"]

mysql = ["dep:mysql_async"]

mssql = ["dep:tiberius", "dep:tokio-util"]



# cargo publish -p ormer-derive --allow-dirty --registry crates-io

# cargo publish -p ormer --allow-dirty --registry crates-io

# cd docs && npm run docs:build && cd ..