# Cargo configuration for Synor blockchain
#
# This file configures the Rust build system with project-specific settings.

# Enable pqc_dilithium's internal key generation for deterministic Dilithium keys
# This allows us to generate Dilithium keypairs from a seed (mnemonic-derived)
# which is essential for wallet recovery.
[build]
rustflags = ["--cfg", "dilithium_kat"]

# WASM target-specific settings for web wallet
[target.wasm32-unknown-unknown]
rustflags = ["--cfg", "dilithium_kat"]
