Using sawabona-core as a Library¶
Installation¶
Add to your Cargo.toml:
Basic Usage¶
Creating a License¶
use sawabona_core::prelude::*;
let license = License::new(
product_id,
customer_email,
plan_id,
LicenseType::Subscription,
)?;
Validating with Geometric Proof¶
Advanced Topics¶
- Payment provider integration
- Custom proof systems
- Database repository patterns