# 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.95"
name = "emv"
version = "0.1.1"
authors = ["iohzrd <iohzrd@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure-Rust EMV 4.4 kernel"
readme = "README.md"
keywords = [
    "emv",
    "payments",
    "smartcard",
    "iso7816",
    "apdu",
]
categories = [
    "finance",
    "hardware-support",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/iohzrd/emv-rs"

[package.metadata.docs.rs]
all-features = true

[features]
default = ["pcsc"]
kernel-2 = []
kernel-3 = []
kernel-4 = []
kernel-5 = []
kernel-6 = []
kernel-7 = []
kernel-8 = []
pcsc = [
    "dep:pcsc",
    "dep:rpassword",
]

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

[[bin]]
name = "emv-test-transaction"
path = "src/bin/test_transaction.rs"
required-features = ["pcsc"]

[dependencies.aes]
version = "0.9"

[dependencies.des]
version = "0.9"

[dependencies.num-bigint]
version = "0.4"

[dependencies.p256]
version = "0.13"

[dependencies.p521]
version = "0.13"

[dependencies.pcsc]
version = "2.9"
optional = true

[dependencies.rpassword]
version = "7.5.4"
optional = true

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

[dependencies.sha1]
version = "0.11"

[dependencies.sha2]
version = "0.11"

[dependencies.toml]
version = "1"
