fabrique 0.2.2

SQL-first, type-safe, ergonomic database toolkit for Rust
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 = "2024"
name = "fabrique"
version = "0.2.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SQL-first, type-safe, ergonomic database toolkit for Rust"
homepage = "https://github.com/robinstraub/fabrique"
documentation = "https://docs.rs/fabrique"
readme = false
license = "MIT"
repository = "https://github.com/robinstraub/fabrique"

[package.metadata.docs.rs]
features = [
    "fake",
    "sqlite",
]

[features]
default = ["fake"]
doctests = ["fabrique-core/doctests"]
fake = ["dep:fake"]
mysql = [
    "fabrique-core/mysql",
    "fabrique-derive/mysql",
]
postgres = [
    "fabrique-core/postgres",
    "fabrique-derive/postgres",
]
sqlite = [
    "fabrique-core/sqlite",
    "fabrique-derive/sqlite",
]

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

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

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

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

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

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

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

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

[dependencies.fabrique-core]
version = "0.2.2"

[dependencies.fabrique-derive]
version = "0.2.2"

[dependencies.fake]
version = "4"
features = [
    "chrono",
    "derive",
    "uuid",
]
optional = true

[dev-dependencies.cargo-husky]
version = "1"
features = ["user-hooks"]
default-features = false

[dev-dependencies.chrono]
version = "0.4"

[dev-dependencies.sqlx]
version = "0.9.0-alpha.1"
features = [
    "chrono",
    "runtime-tokio",
    "uuid",
    "runtime-tokio",
    "uuid",
    "chrono",
]

[dev-dependencies.strum]
version = "0.27"

[dev-dependencies.strum_macros]
version = "0.27"

[dev-dependencies.tokio]
version = "1.0"
features = [
    "rt",
    "macros",
]

[dev-dependencies.tokio-test]
version = "0.4"

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