cratestack-sqlx 0.3.7

Rust-native schema-first framework for typed HTTP APIs, generated clients, and backend services.
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 = "cratestack-sqlx"
version = "0.3.7"
authors = ["Stephane Segning <selastlambou@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust-native schema-first framework for typed HTTP APIs, generated clients, and backend services."
homepage = "https://cratestack.dev"
documentation = "https://rust-doc.cratestack.dev/cratestack"
readme = "README.md"
keywords = [
    "api",
    "schema",
    "codegen",
    "axum",
    "sqlx",
]
categories = [
    "web-programming",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/vaam-store/cratestack"

[features]
decimal-bigdecimal = [
    "cratestack-core/decimal-bigdecimal",
    "cratestack-sql/decimal-bigdecimal",
    "dep:bigdecimal",
    "sqlx-core/bigdecimal",
    "sqlx-postgres/bigdecimal",
]
decimal-rust-decimal = [
    "cratestack-core/decimal-rust-decimal",
    "cratestack-sql/decimal-rust-decimal",
    "dep:rust_decimal",
    "sqlx-core/rust_decimal",
    "sqlx-postgres/rust_decimal",
]
default = ["decimal-rust-decimal"]

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

[dependencies.async-trait]
version = "0.1"

[dependencies.bigdecimal]
version = "0.4"
features = ["serde"]
optional = true
default-features = false

[dependencies.chrono]
version = "0"
features = ["serde"]

[dependencies.cratestack-axum]
version = "0.3.7"

[dependencies.cratestack-core]
version = "0.3.7"

[dependencies.cratestack-policy]
version = "0.3.7"

[dependencies.cratestack-sql]
version = "0.3.7"

[dependencies.rust_decimal]
version = "1"
features = ["serde-str"]
optional = true
default-features = false

[dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.sqlx-core]
version = "=0.8.6"
features = [
    "migrate",
    "any",
    "_rt-tokio",
    "_tls-rustls-ring-webpki",
]
default-features = false

[dependencies.sqlx-postgres]
version = "=0.8.6"
features = [
    "chrono",
    "uuid",
    "json",
    "migrate",
    "any",
    "offline",
]
default-features = false

[dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
]

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

[dev-dependencies]