[package]
authors.workspace = true
build = "build/build.rs"
categories.workspace = true
description = "Install and run a PostgreSQL database locally on Linux, MacOS or Windows. PostgreSQL can be bundled with your application, or downloaded on demand."
edition.workspace = true
keywords.workspace = true
license.workspace = true
name = "postgresql_embedded"
repository = "https://github.com/theseus-rs/postgresql-embedded"
version.workspace = true
[build-dependencies]
anyhow = { workspace = true }
postgresql_archive = { path = "../postgresql_archive", version = "0.8.1" }
tokio = { workspace = true, features = ["full"] }
[dependencies]
anyhow = { workspace = true }
bytes = { workspace = true }
home = { workspace = true }
lazy_static = { workspace = true }
postgresql_archive = { path = "../postgresql_archive", version = "0.8.1" }
postgresql_commands = { path = "../postgresql_commands", version = "0.8.1" }
rand = { workspace = true }
tempfile = { workspace = true }
thiserror = { workspace = true }
tokio = { workspace = true, features = ["full"], optional = true }
tracing = { workspace = true, features = ["log"] }
url = { workspace = true }
[dev-dependencies]
criterion = { workspace = true }
test-log = { workspace = true }
tokio = { workspace = true, features = ["full"] }
[features]
default = []
blocking = ["tokio"]
bundled = []
tokio = [
"dep:tokio",
"postgresql_commands/tokio"
]
[package.metadata.release]
dependent-version = "upgrade"
[package.metadata.docs.rs]
no-default-features = true
features = ["blocking", "tokio"]
targets = ["x86_64-unknown-linux-gnu"]
[[bench]]
harness = false
name = "embedded"