# 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.88"
name = "db-keystore"
version = "0.4.3"
authors = ["Steve Schoettler <stevelr-git@pm.me>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SQLite-backed credential store for the `keyring-core` API"
homepage = "https://github.com/stevelr/db-keystore"
readme = "README.md"
keywords = [
    "keyring",
    "credential",
    "sqlite",
    "turso",
    "secrets-manager",
]
categories = [
    "database",
    "api-bindings",
]
license = "MIT or Apache-2.0"
repository = "https://github.com/stevelr/db-keystore"

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

[[bin]]
name = "db-keystore"
path = "bin/db-keystore.rs"

[[example]]
name = "basic_keystore"
path = "examples/basic_keystore.rs"

[[example]]
name = "bin_secrets"
path = "examples/bin_secrets.rs"

[[example]]
name = "dump-db-keystore"
path = "examples/dump-db-keystore.rs"

[[example]]
name = "encrypted_keystore"
path = "examples/encrypted_keystore.rs"

[[example]]
name = "encrypted_wrongkey"
path = "examples/encrypted_wrongkey.rs"

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

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

[dependencies.anyhow]
version = "1.0.102"

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

[dependencies.futures]
version = "0.3.32"

[dependencies.keyring-core]
version = "1.0.0"

[dependencies.log]
version = "0.4.29"

[dependencies.regex]
version = "1.12.3"

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.turso]
version = "0.6.1"
features = ["mimalloc"]
default-features = false

[dependencies.uuid]
version = "1.22.0"
features = ["v7"]

[dependencies.zeroize]
version = "1.8.2"

[dev-dependencies.tempfile]
version = "3.27.0"
