# 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.85"
name = "lkr-core"
version = "0.1.0"
authors = ["Iori Yoshida <yottayoshida@users.noreply.github.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core library for LLM Key Ring — secure LLM API key management via macOS Keychain"
homepage = "https://github.com/yottayoshida/llm-key-ring"
readme = "README.md"
keywords = [
    "llm",
    "api-key",
    "keychain",
    "secret",
    "security",
]
categories = [
    "command-line-utilities",
    "authentication",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/yottayoshida/llm-key-ring"
resolver = "2"

[package.metadata.docs.rs]
default-target = "x86_64-apple-darwin"
targets = [
    "x86_64-apple-darwin",
    "aarch64-apple-darwin",
]

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

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.core-foundation]
version = "0.10"

[dependencies.keyring]
version = "3"
features = ["apple-native"]

[dependencies.reqwest]
version = "0.12"
features = [
    "rustls-tls",
    "json",
]

[dependencies.security-framework]
version = "3"

[dependencies.security-framework-sys]
version = "2"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.zeroize]
version = "1"
features = ["derive"]
