[package]
edition = "2024"
name = "ormlite"
version = "0.24.5"
authors = ["Kurt Wolf <kurtwolfbuilds@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An ORM for people who love SQL"
homepage = "https://github.com/kurtbuilds/ormlite"
documentation = "https://docs.rs/ormlite"
readme = "README.md"
keywords = [
"sqlite",
"postgres",
"orm",
"async",
"mysql",
]
categories = ["database"]
license = "MIT"
repository = "https://github.com/kurtbuilds/ormlite"
resolver = "2"
[package.metadata.docs.rs]
rustdoc-args = [
"--cfg",
"docsrs",
]
all-features = true
[features]
chrono = ["sqlx/chrono"]
decimal = ["sqlx/rust_decimal"]
default = ["runtime-tokio-rustls"]
default-mysql = [
"mysql",
"ormlite-macro/default-mysql",
]
default-postgres = [
"postgres",
"ormlite-macro/default-postgres",
]
default-sqlite = [
"sqlite",
"ormlite-macro/default-sqlite",
]
json = ["sqlx/json"]
mysql = [
"sqlx/mysql",
"ormlite-macro/mysql",
]
postgres = [
"sqlx/postgres",
"ormlite-macro/postgres",
"ormlite-core/postgres",
]
runtime-tokio-rustls = [
"ormlite-macro/runtime-tokio-rustls",
"sqlx/runtime-tokio-rustls",
"ormlite-core/runtime-tokio-rustls",
]
sqlite = [
"sqlx/sqlite",
"ormlite-macro/sqlite",
"ormlite-core/sqlite",
]
time = ["sqlx/time"]
uuid = ["sqlx/uuid"]
[lib]
name = "ormlite"
path = "src/lib.rs"
[[example]]
name = "expandable"
path = "examples/expandable.rs"
[[test]]
name = "sqlite"
path = "tests/sqlite.rs"
required-features = ["sqlite"]
[[test]]
name = "simple"
path = "tests/simple.rs"
required-features = ["sqlite"]
[[test]]
name = "postgres"
path = "tests/postgres.rs"
required-features = ["postgres"]
[dependencies.kurtbuilds_sql]
version = "0.26"
[dependencies.ormlite-core]
version = "0.24"
[dependencies.ormlite-macro]
version = "0.24"
[dependencies.sqlx]
version = "0.8.6"
[dependencies.sqlx-core]
version = "0.8.6"
[dev-dependencies.chrono]
version = "0.4.42"
features = ["serde"]
[dev-dependencies.env_logger]
version = "0.11.8"
[dev-dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dev-dependencies.serde_json]
version = "1.0.145"
[dev-dependencies.tokio]
version = "1.48.0"
features = ["full"]
[dev-dependencies.trybuild]
version = "1.0.114"
features = ["diff"]
[dev-dependencies.uuid]
version = "1.18.1"
features = [
"serde",
"v4",
]