postrust-server 0.2.4

PostgREST-compatible REST and GraphQL API server for PostgreSQL, built on Axum
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"
name = "postrust-server"
version = "0.2.4"
authors = ["Bhanu Pratap Chaudhary"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PostgREST-compatible REST and GraphQL API server for PostgreSQL, built on Axum"
homepage = "https://postrust.org/"
readme = "README.md"
keywords = [
    "postgres",
    "rest",
    "api",
    "graphql",
    "server",
]
license = "MIT"
repository = "https://github.com/postrust/postrust"

[features]
admin-ui = [
    "utoipa",
    "postrust-graphql",
    "async-graphql",
    "async-graphql-axum",
]
default = []

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

[[bin]]
name = "postrust"
path = "src/main.rs"

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

[dependencies.anyhow]
version = "1.0"

[dependencies.async-graphql]
version = "7"
optional = true

[dependencies.async-graphql-axum]
version = "7"
optional = true

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

[dependencies.axum]
version = "0.8"
features = ["macros"]

[dependencies.bytes]
version = "1.9"
features = ["serde"]

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

[dependencies.http]
version = "1.2"

[dependencies.hyper]
version = "1.5"
features = ["full"]

[dependencies.postrust-auth]
version = "0.2.0"

[dependencies.postrust-core]
version = "0.2.0"

[dependencies.postrust-graphql]
version = "0.2.0"
optional = true

[dependencies.postrust-response]
version = "0.2.0"

[dependencies.postrust-sql]
version = "0.2.0"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio",
    "postgres",
    "json",
    "chrono",
    "uuid",
    "bigdecimal",
]

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.43"
features = ["full"]

[dependencies.tower]
version = "0.5"
features = ["util"]

[dependencies.tower-http]
version = "0.6"
features = [
    "cors",
    "trace",
    "compression-gzip",
]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.utoipa]
version = "5"
features = ["axum_extras"]
optional = true

[dev-dependencies.pretty_assertions]
version = "1.4"