1mod builder;
2pub mod checkin;
3mod collator;
4mod compression_set;
5mod configuration_proxy;
6mod ds_correlation;
7mod identity;
8mod json_string;
9mod recorder;
10pub mod storage;
11mod submitter;
12pub mod system_snapshot;
13pub mod transport;
14mod worker;
15
16use std::collections::HashMap;
17
18pub use builder::Builder;
19pub use identity::{AnonymousDistinctId, DeviceId, DistinctId};
20pub use recorder::Recorder;
21pub use worker::Worker;
22
23pub type Map = serde_json::Map<String, serde_json::Value>;
24pub type Groups = HashMap<String, String>;
25
26#[macro_export]
27macro_rules! builder {
28 () => {{
29 detsys_ids_client::Builder::new()
30 .fact("cargo_pkg_name", env!("CARGO_PKG_NAME"))
31 .fact("$app_version", env!("CARGO_PKG_VERSION"))
32 .fact("$app_name", env!("CARGO_CRATE_NAME"))
33 }};
34}