tork-orm-core 0.1.0

Core runtime for the Tork ORM: dialect-agnostic query model, typed columns, and database drivers.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.96"
name = "tork-orm-core"
version = "0.1.0"
authors = ["muzakon <hasanmuzak@hotmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core runtime for the Tork ORM: dialect-agnostic query model, typed columns, and database drivers."
readme = false
license = "MIT"
repository = "https://github.com/tork-rs/tork"

[features]
default = [
    "sqlite",
    "tork",
    "migrations",
]
migrations = ["dep:inventory"]
mysql = ["dep:mysql_async"]
postgres = [
    "dep:tokio-postgres",
    "dep:deadpool-postgres",
    "dep:bytes",
]
sqlite = ["dep:rusqlite"]
tork = ["dep:tork-core"]

[lib]
name = "tork_orm_core"
path = "src/lib.rs"

[[test]]
name = "cte"
path = "tests/cte.rs"

[[test]]
name = "datetime"
path = "tests/datetime.rs"

[[test]]
name = "enum_render"
path = "tests/enum_render.rs"

[[test]]
name = "fulltext"
path = "tests/fulltext.rs"

[[test]]
name = "func_expr"
path = "tests/func_expr.rs"

[[test]]
name = "in_memory_lifecycle"
path = "tests/in_memory_lifecycle.rs"

[[test]]
name = "index_builder"
path = "tests/index_builder.rs"

[[test]]
name = "index_render"
path = "tests/index_render.rs"

[[test]]
name = "index_types"
path = "tests/index_types.rs"

[[test]]
name = "introspect"
path = "tests/introspect.rs"

[[test]]
name = "migration_checksum"
path = "tests/migration_checksum.rs"

[[test]]
name = "migration_files"
path = "tests/migration_files.rs"

[[test]]
name = "migration_generate"
path = "tests/migration_generate.rs"

[[test]]
name = "migration_render"
path = "tests/migration_render.rs"

[[test]]
name = "migration_runner"
path = "tests/migration_runner.rs"

[[test]]
name = "mysql_render"
path = "tests/mysql_render.rs"

[[test]]
name = "postgres_render"
path = "tests/postgres_render.rs"

[[test]]
name = "sqlite_smoke"
path = "tests/sqlite_smoke.rs"

[[test]]
name = "transaction_basic"
path = "tests/transaction_basic.rs"

[[test]]
name = "transaction_builder"
path = "tests/transaction_builder.rs"

[[test]]
name = "transaction_closure"
path = "tests/transaction_closure.rs"

[[test]]
name = "transaction_savepoint"
path = "tests/transaction_savepoint.rs"

[[test]]
name = "window"
path = "tests/window.rs"

[dependencies.bytes]
version = "1"
optional = true

[dependencies.deadpool-postgres]
version = "0.14"
optional = true

[dependencies.inventory]
version = "0.3"
optional = true

[dependencies.mysql_async]
version = "0.34"
features = ["minimal"]
optional = true
default-features = false

[dependencies.rusqlite]
version = "0.32"
features = ["bundled"]
optional = true

[dependencies.serde_json]
version = "1"

[dependencies.time]
version = "0.3"
features = [
    "formatting",
    "parsing",
    "macros",
    "formatting",
    "parsing",
    "macros",
]

[dependencies.tokio]
version = "1.52"
features = [
    "rt-multi-thread",
    "macros",
    "net",
    "signal",
    "sync",
    "time",
]

[dependencies.tokio-postgres]
version = "0.7"
features = [
    "with-time-0_3",
    "with-serde_json-1",
    "with-uuid-1",
]
optional = true

[dependencies.tork-core]
version = "0.1.0"
optional = true

[dependencies.uuid]
version = "1"
features = ["v4"]

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.tokio]
version = "1.52"
features = [
    "rt-multi-thread",
    "macros",
    "net",
    "signal",
    "sync",
    "time",
    "rt-multi-thread",
    "macros",
]