detsys_ids_client/
lib.rs

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
16pub use builder::Builder;
17pub use identity::{AnonymousDistinctId, DeviceId, DistinctId};
18pub use recorder::Recorder;
19pub use worker::Worker;
20
21pub type Map = serde_json::Map<String, serde_json::Value>;
22
23#[macro_export]
24macro_rules! builder {
25    () => {{
26        detsys_ids_client::Builder::new()
27            .add_fact("cargo_pkg_name", env!("CARGO_PKG_NAME"))
28            .add_fact("$app_version", env!("CARGO_PKG_VERSION"))
29            .add_fact("$app_name", env!("CARGO_CRATE_NAME"))
30    }};
31}