[package]
authors.workspace = true
categories.workspace = true
description = "A library for managing PostgreSQL extensions"
edition.workspace = true
keywords.workspace = true
license.workspace = true
name = "postgresql_extensions"
repository = "https://github.com/theseus-rs/postgresql-embedded"
rust-version.workspace = true
version.workspace = true
[dependencies]
async-trait = { workspace = true }
postgresql_archive = { path = "../postgresql_archive", version = "0.20.2", default-features = false }
postgresql_commands = { path = "../postgresql_commands", version = "0.20.2", default-features = false }
regex-lite = { workspace = true }
reqwest = { workspace = true, default-features = false, features = ["json"] }
semver = { workspace = true, features = ["serde"] }
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true, optional = true }
target-triple = { workspace = true, optional = true }
tempfile = { workspace = true }
thiserror = { workspace = true }
tokio = { workspace = true, features = ["full"], optional = true }
tracing = { workspace = true, features = ["log"] }
url = { workspace = true }
[dev-dependencies]
anyhow = { workspace = true }
postgresql_embedded = { path = "../postgresql_embedded", version = "0.20.2" }
test-log = { workspace = true }
tokio = { workspace = true, features = ["full"] }
[features]
default = [
"native-tls",
"portal-corp",
"steampipe",
"tensor-chord",
]
blocking = ["tokio"]
portal-corp = [
"dep:target-triple",
"postgresql_archive/github",
"postgresql_archive/zip",
]
steampipe = [
"dep:serde_json",
"postgresql_archive/github",
"postgresql_archive/tar-gz",
]
tensor-chord = [
"dep:target-triple",
"postgresql_archive/github",
"postgresql_archive/zip",
]
tokio = [
"postgresql_commands/tokio",
"dep:tokio"
]
native-tls = [
"postgresql_archive/native-tls",
"reqwest/native-tls",
]
rustls = [
"postgresql_archive/rustls",
"reqwest/rustls",
]
[package.metadata.cargo-machete]
ignored = ["reqwest"]