Skip to main content

ashwit_license/
lib.rs

1#![doc = include_str!("../README.md")]
2#![allow(clippy::missing_errors_doc)]
3
4mod client;
5mod device;
6mod error;
7mod grant;
8mod storage;
9mod transport;
10
11pub use client::{ClientConfig, Clock, LicenseClient, LicenseState, SystemClock};
12pub use device::{Device, DeviceIdentity, SystemDeviceIdentity, hashed_device_id};
13pub use error::{Error, Result};
14pub use grant::{GrantKind, GrantPayload, SignedGrant, VerifiedGrant, verify_grant};
15#[cfg(feature = "keyring-store")]
16pub use storage::KeyringStore;
17pub use storage::{FileStore, LicenseStore, SecurityState};
18#[cfg(feature = "http")]
19pub use transport::ReqwestTransport;
20pub use transport::{HttpRequest, HttpResponse, Transport, TransportFuture};