# 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"
rust-version = "1.93"
name = "pg-ephemeral"
version = "0.4.0"
authors = ["Markus Schirp <mbj@schirp-dso.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Ephemeral PostgreSQL instances for testing"
readme = "README.md"
keywords = [
    "postgres",
    "postgresql",
    "testing",
    "database",
]
categories = ["development-tools::testing"]
license = "MIT"
repository = "https://github.com/mbj/mrs/tree/main/pg-ephemeral"

[features]
test-utils = []

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

[[bin]]
name = "pg-ephemeral"
path = "src/bin/pg-ephemeral.rs"

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

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

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

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

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

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

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

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

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

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

[dependencies.clap]
version = "4.6"
features = ["derive"]

[dependencies.cmd-proc]
version = "0.5.0"

[dependencies.comfy-table]
version = "7"

[dependencies.env_logger]
version = "0.11"

[dependencies.git-proc]
version = "0.4.0"

[dependencies.hex]
version = "0.4.3"

[dependencies.humantime-serde]
version = "1"

[dependencies.indexmap]
version = "2.13"
features = ["serde"]

[dependencies.log]
version = "0.4"

[dependencies.nom]
version = "8"

[dependencies.nom-language]
version = "0.1"

[dependencies.ociman]
version = "0.5.0"

[dependencies.pg-client]
version = "0.4.0"
features = ["sqlx"]

[dependencies.rand]
version = "0.10"

[dependencies.rcgen]
version = "0.14"

[dependencies.semver]
version = "1"

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

[dependencies.serde_json]
version = "1.0"
features = [
    "arbitrary_precision",
    "indexmap",
]

[dependencies.sha2]
version = "0.11"

[dependencies.sqlx]
version = "0.9.0-msqlx.1"
features = [
    "postgres",
    "runtime-tokio",
    "tls-rustls",
]
package = "msqlx"

[dependencies.thiserror]
version = "2"

[dependencies.time]
version = "0.3"

[dependencies.tokio]
version = "1"
features = [
    "io-std",
    "macros",
    "rt",
]

[dependencies.toml]
version = "1.0"
features = ["preserve_order"]

[dependencies.x509-parser]
version = "0.18"
features = ["verify"]

[dev-dependencies.indoc]
version = "2"

[dev-dependencies.libc]
version = "0.2"

[lints.clippy]
multiple_crate_versions = "deny"
must_use_candidate = "deny"
uninlined_format_args = "deny"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.rust]
unexpected_cfgs = "deny"
