tamga 0.2.0

Official Rust SDK for Tamga. Integrate license activation, offline verification, and machine management into your Rust applications.
Documentation
//! PEM-envelope parsing and verification orchestration for offline checkout
//! files. Owns the file format; delegates actual cryptography to
//! `src/crypto/`.
//!
//! Module layout (see `docs/plans/tamga-rust.plan.md` §E, §F):
//!
//! - [`license_file`] — `.lic` parse + verify. Ed25519-only signature
//!   (independent of the license's own `scheme`), naive (non-KDF) key
//!   derivation when encrypted.
//! - [`machine_file`] — `.mach` parse + verify. Signature scheme taken from
//!   the license's `scheme` field (Ed25519/RSA-PKCS1/RSA-PSS/ECDSA-P256;
//!   `RSA_2048_JWT_RS256` explicitly rejected), HKDF-SHA256 key derivation
//!   when encrypted.
//!
//! Both formats share the same inner JSON shape once the PEM markers are
//! stripped: `{ enc: String, sig: String, alg: String }`, base64-encoded as
//! the PEM body.

pub mod license_file;
pub mod machine_file;