Installation
Licenz provides a client library for embedding in your application and a CLI tool for management tasks.
Client Library (Rust)
Add the Licenz client library to your Rust project:
# Using cargo
cargo add licenz
# Or add to Cargo.toml manually
[dependencies]
licenz = "0.1" Feature Flags
| Feature | Description | Status |
|---|---|---|
hardware | Hardware fingerprinting support | On by default |
offline | Offline validation (no network calls) | On by default |
ed25519 | Ed25519 signature algorithm | On by default |
rsa | RSA-SHA256 signature algorithm | On by default |
To use specific features:
[dependencies]
licenz = { version = "0.1", default-features = false, features = ["offline", "ed25519"] } CLI Tool
Install the Licenz CLI for license management and sneakernet workflows.
From Cargo (Recommended)
cargo install licenz-cli From Binary Release
Download pre-built binaries from our GitHub releases:
# Linux (x86_64)
curl -L https://github.com/licenz/releases/latest/download/licenz-linux-x86_64.tar.gz | tar xz
sudo mv licenz /usr/local/bin/
# macOS (Apple Silicon)
curl -L https://github.com/licenz/releases/latest/download/licenz-darwin-arm64.tar.gz | tar xz
sudo mv licenz /usr/local/bin/
# Windows (PowerShell)
Invoke-WebRequest -Uri https://github.com/licenz/releases/latest/download/licenz-windows-x86_64.zip -OutFile licenz.zip
Expand-Archive licenz.zip -DestinationPath C:\Program Files\Licenz Verify Installation
licenz --version
# licenz 0.1.0 Configuration
Configure the CLI with your API credentials:
# Interactive setup
licenz config init
# Or set environment variables
export LICENZ_API_KEY="your-api-key"
export LICENZ_ORG_ID="your-org-id" System Requirements
| Component | Requirement |
|---|---|
| Client Library | Rust 1.70+, ~2MB binary size |
| CLI Tool | Any x86_64/arm64 system |
| Operating Systems | Linux, macOS, Windows |
| Dependencies | None (statically linked) |