# 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.85"
name = "pglite-rs"
version = "0.1.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "In-process PostgreSQL for Rust, embedded like SQLite, async on any runtime"
readme = "README.md"
keywords = [
    "postgres",
    "postgresql",
    "database",
    "embedded",
    "pglite",
]
categories = [
    "database",
    "database-implementations",
]
license = "Apache-2.0"
repository = "https://github.com/Midwess/pglite-rs"

[package.metadata.docs.rs]
all-features = true

[features]
default = ["socket"]
full = [
    "multiple-process",
    "socket",
    "pgcrypto",
    "pgvector",
    "icu",
    "replica",
]
icu = ["pglite-rs-sys/icu"]
multiple-process = []
pgcrypto = []
pgvector = []
replica = []
socket = []

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.bytes]
version = "1"

[dependencies.fallible-iterator]
version = "0.2"

[dependencies.futures]
version = "0.3"
features = ["executor"]

[dependencies.libc]
version = "0.2"

[dependencies.pglite-rs-sys]
version = "0.1.0"

[dependencies.postgres-protocol]
version = "0.6"

[dependencies.postgres-types]
version = "0.2"

[dependencies.tar]
version = "0.4"

[dependencies.thiserror]
version = "2"

[dev-dependencies.futures]
version = "0.3"
features = ["executor"]

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

[dev-dependencies.postgres]
version = "0.19"

[build-dependencies.ruzstd]
version = "0.8"
