[package]
name = "tibet-iddrop"
version = "0.3.0"
edition = "2021"
authors = ["Jasper van de Meent <info@humotica.com>"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/jaspertvdm/tibet-iddrop"
readme = "README.md"
description = "Identity-bound capability transfer protocol — offer-first (proximity) + request-first (wire) over TBZ v2 sealed envelopes"
keywords = ["identity", "vc", "ed25519", "ains", "nfc"]
categories = ["cryptography", "authentication", "network-programming"]

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

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

[features]
default = ["wire"]
# Network transport adapters
wire = ["ureq"]
# Proximity transports (= NFC, QR, BLE) — placeholder for v0.2+
proximity = []

[dependencies]
tibet-zip-core = "2.2.0"
ed25519-dalek = { version = "2", features = ["rand_core"] }
sha2 = "0.10"
rand = "0.8"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
hex = "0.4"
base64 = "0.22"
thiserror = "2"
anyhow = "1"
clap = { version = "4", features = ["derive", "env"] }
ureq = { version = "2", features = ["json"], optional = true }
