Skip to main content

Crate keylight

Crate keylight 

Source
Expand description

Keylight licensing SDK for Rust.

Activate and validate license keys against a Keylight Worker, with offline Ed25519 lease verification. See the crate README for a quickstart.

Re-exports§

pub use error::KeylightError;
pub use error::Result;
pub use config::KeylightConfig;
pub use config::KeylightConfigBuilder;
pub use keyset::parse_keyset;
pub use lease::Lease;
pub use verifier::verify_lease;
pub use verifier::VerifyResult;
pub use verifier::SKEW_SECONDS;
pub use store::device::DeviceIdentity;
pub use store::device::FixedDeviceIdentity;
pub use store::device::SystemDeviceIdentity;
pub use store::encrypted_file::EncryptedFileStore;
pub use store::LicenseStore;
pub use client::ActivationResult;
pub use client::Keylight;
pub use client::ValidationResult;
pub use state::lifecycle_event;
pub use state::resolve_state;
pub use state::KeylessState;
pub use state::LicenseLifecycleEvent;
pub use state::LicenseState;
pub use state::TrialStatus;
pub use clock::clock_manipulated;

Modules§

client
clock
config
error
http
keyset
lease
state
store
telemetry
verifier