# 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 = "tibet-iddrop"
version = "0.3.0"
authors = ["Jasper van de Meent <info@humotica.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Identity-bound capability transfer protocol — offer-first (proximity) + request-first (wire) over TBZ v2 sealed envelopes"
readme = "README.md"
keywords = [
    "identity",
    "vc",
    "ed25519",
    "ains",
    "nfc",
]
categories = [
    "cryptography",
    "authentication",
    "network-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/jaspertvdm/tibet-iddrop"

[features]
default = ["wire"]
proximity = []
wire = ["ureq"]

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

[[bin]]
name = "iddrop"
path = "src/bin/iddrop.rs"

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

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

[dependencies.anyhow]
version = "1"

[dependencies.base64]
version = "0.22"

[dependencies.clap]
version = "4"
features = [
    "derive",
    "env",
]

[dependencies.ed25519-dalek]
version = "2"
features = ["rand_core"]

[dependencies.hex]
version = "0.4"

[dependencies.rand]
version = "0.8"

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

[dependencies.tibet-zip-core]
version = "2.2.0"

[dependencies.ureq]
version = "2"
features = ["json"]
optional = true
