Re-exports§
pub use crate::activation::ActivationRequest;pub use crate::activation::ActivationResponse;pub use crate::client::LicenseClient;pub use crate::crypto::KeyPair;pub use crate::engine::LicenseEngine;pub use crate::error::LicenseError;pub use crate::hardware::HardwareFingerprint;pub use crate::license::License;pub use crate::license::LicenseFeatures;pub use crate::license::LicensePayload;pub use crate::validation::LicenseValidator;pub use crate::validation::ValidationResult;
Modules§
- activation
- librnxengine - Comprehensive License Management System for Rust Applications
- client
- HTTP client for remote license server operations.
- crypto
- Cryptographic primitives for license signing and verification.
- engine
- Core license engine for creation, validation, and management.
- error
- Comprehensive error types for all license operations.
- hardware
- Hardware fingerprint generation for device identification.
- license
- License data structures and serialization formats.
- validation
- Validation logic and result reporting.
Structs§
- Date
Time - Re-exports chrono types for convenient date/time handling.
- Utc
- Re-exports chrono types for convenient date/time handling.
- Uuid
- Re-exports UUID type for identifier generation.
Constants§
- DEFAULT_
API_ PATH_ PREFIX - Default license server API path prefix.
- DEFAULT_
LICENSE_ EXTENSION - Default license file extension.
- DEFAULT_
PUBKEY_ EXTENSION - Default public key file extension.
- LIBRARY_
VERSION - Current version of the librnxengine library.
- MAX_
LICENSE_ SIZE - Maximum license size in bytes.
- MSRV
- Minimum supported Rust version (MSRV).
- SUPPORTED_
ALGORITHMS - Supported signature algorithms.
Traits§
- License
Storage - Trait for applications to implement custom license storage.
- License
Validation Hook - Trait for applications to implement custom license validation hooks.
Functions§
- development_
license_ config - Returns a development/testing license configuration.
- flexible_
license_ config - Returns a flexible license configuration for user-friendly applications.
- generate_
keypair - Generates a new cryptographic key pair.
- is_
hardware_ fingerprint_ supported - Checks if the current system supports hardware fingerprint generation.
- new_
license_ client - Creates a new license client with the specified base URL.
- new_
license_ engine - Creates a new license engine with default configuration.
- strict_
license_ config - Returns a strict license configuration for high-security applications.
- validate_
license_ format - Validates that a license string is properly formatted.
Type Aliases§
- Activation
Token - Alias for activation token type.
- Feature
List - Alias for feature list type.
- Hardware
Fingerprint String - Alias for hardware fingerprint type.
- License
Id - Alias for license ID type for cleaner code.
- License
Metadata - Alias for license metadata type.