# 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 = "device-signer"
version = "0.1.1"
authors = ["PrarthanaPurohit"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Secure device cryptographic key generation, storage, and identity for hardware devices. Derives deterministic secp256k1 keys from hardware entropy with Ethereum and Nostr support."
homepage = "https://github.com/prarthanapurohit/device-signer"
readme = "README.md"
keywords = [
    "cryptography",
    "ecdsa",
    "nostr",
    "ethereum",
    "secp256k1",
]
categories = [
    "cryptography",
    "hardware-support",
    "embedded",
]
license = "MIT"
repository = "https://github.com/prarthanapurohit/device-signer"

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

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

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

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

[dependencies.bech32]
version = "0.11"

[dependencies.dirs]
version = "5"

[dependencies.hex]
version = "0.4"

[dependencies.k256]
version = "0.13"
features = [
    "ecdsa",
    "schnorr",
]

[dependencies.rand]
version = "0.8"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.sha3]
version = "0.10"

[dependencies.thiserror]
version = "2"

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