#![cfg_attr(feature = "client", doc = "```no_run")]
#![cfg_attr(not(feature = "client"), doc = "```ignore")]
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
pub const TRANSPORT_VOCABULARY: &str = include_str!("../fixtures/transport-vocabulary.json");
pub mod paths;
pub mod principals;
pub mod protocol;
pub use principals::principal_set;
pub use protocol::{
API_MINOR, API_NAME, API_VERSION, ActiveSession, AttestOfferResult, AttestToParams, AuditKind,
AuditListParams, AuditListResult, AuditPruneParams, AuditPruneResult, AuditRecord,
AuditSummaryResult, BackendKind, BackendSpec, BlobDirection, BlobFetchCancelParams,
BlobFetchCancelResult, BlobFetchParams, BlobFetchResult, BlobGrantParams, BlobListParams,
BlobPublishParams, BlobPublishResult, BlobRepublishParams, BlobRevokeParams, BlobScopeList,
BlobTransferState, BlobUnpublishParams, BlobsGcInfo, DeviceRevocationImportParams,
DeviceRevocationImportResult, DeviceRevokeParams, DeviceRevokeResult, ERR_BLOB_WITHDRAWN,
ERR_CANCELLED, ERR_INVITE_EXPIRED, ERR_INVITE_NAME_CONFLICT, ERR_INVITE_NOT_LIVE,
ERR_INVITE_REFUSED, ERR_INVITER_MISMATCH, ERR_INVITER_UNREACHABLE, ERR_NICKNAME_TAKEN,
ERR_NO_SUCH_BLOB, ERR_NO_SUCH_SERVICE, ERR_SELF_ENROLL_NOT_OFFERED, ERR_TOO_MANY_INFLIGHT,
Hello, InviteParams, InviteResult, KnownAddr, MAX_BLOB_SOURCES, MAX_INFLIGHT, MAX_INVITE_USES,
OpenSessionParams, OrgApproveParams, OrgApproveResult, OrgCreateParams, OrgCreateResult,
OrgJoinCodeParams, OrgJoinCodeResult, OrgJoinParams, OrgJoinResult, OrgRevokeParams,
OrgRevokeResult, OrgRotateParams, OrgRotateResult, PairParams, PairResult, PeerAddParams,
PeerDiagnosticsParams, PeerDiagnosticsResult, PeerEndorseParams, PeerEndorseResult, PeerInfo,
PeerIntroduceParams, PeerPath, PeerReachability, PeerRemoveParams, PeerRenameParams,
PeerRevokeParams, PeerRevokeResult, PeerServicesParams, PeerServicesResult, PeerUnrevokeParams,
PeerUnrevokeResult, PresencePeer, ReachabilitySource, RecentPairing, RegisterServiceParams,
RelayInfo, Request, RevokedEndpoint, RosterInstallParams, RosterInstallResult, RosterMember,
RosterMemberDevice, RosterMembersResult, RosterStatus, ScopeInfo, SelfNetwork,
ServiceAllowParams, ServiceInfo, SetAppMetadataParams, SetNicknameParams, SetRelaysParams,
SetRelaysResult, SetRosterUrlParams, StatusResult, StorageInfo, StreamFrame,
UnregisterServiceParams, UserKeyExportResult, UserKeyImportParams, UserKeyImportResult,
method_of, one_use,
};
#[cfg(feature = "client")]
pub mod client;
#[cfg(feature = "client")]
pub mod codec;
#[cfg(feature = "client")]
pub mod transport;
#[cfg(feature = "client")]
pub use client::{
ControlClient, ControlRead, ControlWrite, StreamSubscription, connect_control,
connect_control_default, connect_control_io,
};
#[cfg(feature = "service")]
pub mod service;