# SPDX-FileCopyrightText: Heiko Schaefer <heiko@schaefer.name>
# SPDX-License-Identifier: CC0-1.0

[package]
name = "rpgpie-certificate-store"
description = "Certificate store for rpgpie, based on openpgp-cert-d"
license = "MIT OR Apache-2.0"
version = "0.2.0"
authors = ["Heiko Schaefer <heiko@schaefer.name>"]
edition = "2021"
repository = "https://codeberg.org/heiko/rpgpie-certificate-store"

[lib]

[dependencies]
chrono = "0.4"
diesel = { version = "2", features = ["sqlite", "chrono"] }
diesel_migrations = "2"
email-address-parser = "2"
hex = "0.4"
log = "0.4"
openpgp-cert-d = "0.3"
reqwest = { version = "0.12", features = ["blocking"], optional = true }
rpgpie = "0.4"
thiserror = "1"

[dev-dependencies]
env_logger = "0.11"

[features]
default = ["lookup"]
lookup = ["dep:reqwest"]