# 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"
name = "tofa-core"
version = "0.8.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core library for tofa — encrypted TOTP vault"
homepage = "https://github.com/stratif-io/tofa"
readme = false
keywords = [
    "totp",
    "otp",
    "vault",
    "encryption",
    "2fa",
]
categories = [
    "authentication",
    "cryptography",
]
license = "MIT"
repository = "https://github.com/stratif-io/tofa"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.argon2]
version = "0.5"

[dependencies.base64]
version = "0.22"

[dependencies.chrono]
version = "0.4"
features = ["clock"]
default-features = false

[dependencies.data-encoding]
version = "2"

[dependencies.image]
version = "0.25"
features = [
    "png",
    "jpeg",
]
default-features = false

[dependencies.qrcode]
version = "0.14.1"
features = ["image"]

[dependencies.rand]
version = "0.8"

[dependencies.rqrr]
version = "0.7"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "1"

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

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

[dependencies.zip]
version = "2"
features = ["deflate"]
default-features = false

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