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
//! Use [`ditto.set_transport_config`]\([`TransportConfig`]) to configure the transports for your
//! [`Ditto`] peer.
//!
//! [`ditto.set_transport_config`]: crate::Ditto::set_transport_config
//! [`TransportConfig`]: crate::transport::TransportConfig

use_prelude!();

pub(crate) mod sync;
pub(crate) mod sync_state;
pub(crate) mod transport_config;
pub(crate) mod v2;
pub(crate) mod v3;

pub use sync::TransportSync;
pub use transport_config::{
    BluetoothLEConfig, Connect, Global, HttpListenConfig, LanConfig, Listen, PeerToPeer,
    TcpListenConfig, TransportConfig,
};
#[doc(hidden)]
#[deprecated(note = "Use `dittolive_ditto::presence::Connection` instead")]
pub use v3::Connection;
#[doc(hidden)]
#[allow(deprecated)]
pub use v3::ConnectionType as V3ConnectionType;
#[doc(hidden)]
#[deprecated(note = "Use `dittolive_ditto::presence::Peer` instead")]
pub use v3::Peer;
#[doc(hidden)]
#[deprecated(note = "Use `dittolive_ditto::presence::PresenceGraph` instead")]
pub use v3::PresenceGraph;
#[doc(hidden)]
#[deprecated(note = "Use `dittolive_ditto::presence::PresenceOs` instead")]
pub use v3::PresenceOs;

#[doc(hidden)]
#[deprecated(note = "Use `dittolive_ditto::presence::ConnectionType` instead")]
pub use crate::presence::ConnectionType;