[package]
edition = "2021"
name = "kya-validator"
version = "0.2.3"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust core KYA (Know Your Agent) validator with Python bindings, TEE support, and blockchain integration"
homepage = "https://github.com/open-kya/kya-validator"
documentation = "https://docs.rs/kya-validator"
readme = "README.md"
keywords = [
"kyc",
"aml",
"validator",
"blockchain",
"tee",
]
categories = [
"cryptography",
"authentication",
"finance",
"wasm",
]
license = "MPL-2.0"
repository = "https://github.com/open-kya/kya-validator"
[features]
cli = ["clap"]
default = []
python = ["pyo3"]
wasm = []
[lib]
name = "kya_validator"
crate-type = [
"cdylib",
"rlib",
]
path = "core/lib.rs"
[[bin]]
name = "kya-validate"
path = "src/bin/kya-validate.rs"
required-features = ["cli"]
[[test]]
name = "test_adversarial_cases"
path = "tests/test_adversarial_cases.rs"
[[test]]
name = "test_external_links"
path = "tests/test_external_links.rs"
[[test]]
name = "test_spec_cases"
path = "tests/test_spec_cases.rs"
[dependencies.alloy-sol-types]
version = "0.7"
optional = true
[dependencies.anyhow]
version = "1.0"
[dependencies.base64]
version = "0.21"
[dependencies.bs58]
version = "0.5"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.clap]
version = "4.4"
features = ["derive"]
optional = true
[dependencies.ed25519-dalek]
version = "2.0"
[dependencies.hex]
version = "0.4"
[dependencies.k256]
version = "0.13"
[dependencies.mc-sgx-dcap-quoteverify]
version = "0.12"
optional = true
[dependencies.pyo3]
version = "0.20"
features = ["anyhow"]
optional = true
[dependencies.rand]
version = "0.8"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.sgx_types]
version = "1.1"
optional = true
[dependencies.sha2]
version = "0.10.8"
[dependencies.sha3]
version = "0.10.8"
[dependencies.thiserror]
version = "1.0"
[dependencies.url]
version = "2.4"
[dependencies.wasm-bindgen]
version = "0.2"
[dependencies.wasm-bindgen-futures]
version = "0.4"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.jsonschema]
version = "0.17"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.once_cell]
version = "1.19"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.regex]
version = "1.10"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.reqwest]
version = "0.11"
features = [
"json",
"blocking",
]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.serde_jcs]
version = "0.1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
version = "1.0"
features = ["full"]
[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.2"
features = ["js"]
[target.'cfg(target_arch = "wasm32")'.dependencies.tokio]
version = "1.0"
features = [
"sync",
"macros",
"io-util",
"rt",
"time",
]
default-features = false
[profile.release]
opt-level = 3
lto = true
codegen-units = 1