oxo-dual-licenser
Generic dual-license runtime verification library for Traitome Rust projects.
oxo-dual-licenser extracts and generalizes the license system from the
oxo-call project into a reusable
library and CLI tool.
Features
- Ed25519 signatures — Cryptographically secure license verification
- Offline verification — No network calls at runtime
- Flexible license types — academic, commercial, enterprise, or custom
- Configurable discovery — CLI args, env vars, or platform config dirs
- oxo-call compatible — Can issue and verify oxo-call licenses
Workspace Crates
| Crate | Description |
|---|---|
oxo-license |
Embeddable Ed25519 license verification library |
oxo-license-issuer |
CLI tool for generating key pairs and issuing licenses |
Quick Start
Library usage
[]
= "0.1"
use ;
static LICENSE_CONFIG: LicenseConfig = LicenseConfig ;
CLI tool
# Install
# Generate a key pair
# Issue a license
# Verify a license
Helper script
# Issue license with the helper script
oxo-call Compatibility
This library can fully replace the license module in oxo-call:
use LicenseConfig;
pub static OXO_CALL_CONFIG: LicenseConfig = LicenseConfig ;
Issue licenses for oxo-call
# Using the script
# Or using CLI directly
Documentation
Full documentation is available at GitHub Pages.
License
This project is available under:
- MIT License for open source use (see LICENSE)
- Academic License for non-commercial research (see LICENSE-ACADEMIC)
- Commercial License for commercial products (see LICENSE-COMMERCIAL)
Citation
If you use this software in academic work, please cite using CITATION.cff.