koi-crypto 0.4.1

Key management, TOTP, signing, and encryption primitives for local network trust
# 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 = "2021"
rust-version = "1.92"
name = "koi-crypto"
version = "0.4.1"
authors = ["Sylin.org <hello@sylin.org>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Key management, TOTP, signing, and encryption primitives for local network trust"
homepage = "https://sylin.org/koi"
readme = "README.md"
keywords = [
    "cryptography",
    "totp",
    "signing",
    "encryption",
    "key-management",
]
categories = [
    "cryptography",
    "authentication",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/sylin-org/koi"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = [
    "keyring",
    "qr",
]
fido2-unlock = []
keyring = ["dep:keyring"]
qr = [
    "dep:qrcode",
    "dep:image",
]

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

[dependencies.aes-gcm]
version = "0.10"

[dependencies.argon2]
version = "0.5"

[dependencies.base64]
version = "0.22"

[dependencies.hkdf]
version = "0.12"

[dependencies.hostname]
version = "0.4"

[dependencies.image]
version = "0.25"
features = ["png"]
optional = true
default-features = false

[dependencies.keyring]
version = "3"
features = [
    "apple-native",
    "windows-native",
    "linux-native",
]
optional = true

[dependencies.koi-common]
version = "=0.4.1"

[dependencies.p256]
version = "0.13"
features = [
    "ecdsa",
    "pem",
]

[dependencies.pem]
version = "3"

[dependencies.qrcode]
version = "0.14"
features = ["image"]
optional = true
default-features = false

[dependencies.rand]
version = "0.9"

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.subtle]
version = "2"

[dependencies.thiserror]
version = "2"

[dependencies.totp-rs]
version = "5"
features = ["gen_secret"]

[dependencies.tracing]
version = "0.1"

[dependencies.utoipa]
version = "5"
features = [
    "axum_extras",
    "chrono",
]

[dependencies.x25519-dalek]
version = "2"
features = ["static_secrets"]

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

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