1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
//! Rust SDK for the Adamo Network.
//!
//! This crate is a safe, idiomatic wrapper over the precompiled Adamo
//! shared library (shipped via [`adamo-sys`]).
//!
//! ```no_run
//! use adamo::Session;
//!
//! let session = Session::open_default("my-api-key")?;
//! session.put("telemetry/heartbeat", b"hello", Default::default())?;
//! # Ok::<_, adamo::Error>(())
//! ```
pub use ;
pub use ;
pub use ;
/// Microseconds since the Unix epoch on the **adamo fabric clock** — the
/// shared time axis every robot, browser, and relay on this network sees.
///
/// Backed by `zenoh-plugin-adamo-time` running on each router and a
/// background ping/pong that maintains the offset estimate. Falls back to
/// the local wall clock until the first sync completes (usually <100 ms
/// after [`Session::open`]). Check [`fabric_synced`] to distinguish.
///
/// Use this instead of `SystemTime::now()` whenever a timestamp will be
/// subtracted from a stamp produced on a different node.
/// `true` once the client has completed at least one ping/pong with the
/// timehub plugin and [`fabric_now_us`] is reading from the synced clock
/// rather than the local wall-clock fallback.
pub use ;