Skip to main content

heddle_client/
lib.rs

1//! Heddle hosted-backend client and command implementations.
2//!
3//! Cli optionally links this crate when its `client` Cargo
4//! feature is on. The trait surface that cli dispatches through lives
5//! in `weft-client-shim`; this crate provides the real impls.
6
7pub mod auth_args;
8pub mod auth_cmd;
9pub mod credentials;
10pub mod device_flow;
11pub mod grpc_hosted;
12pub mod presence;
13pub mod support;
14pub mod support_args;
15
16pub use auth_args::AuthCommands;
17pub use auth_cmd::cmd_auth;
18// Re-export `device_flow` under the historical `auth` module name so
19// callers using `weft_client::auth::{...}` resolve symbols at the
20// same path the cli used internally pre-move.
21pub use device_flow as auth;
22pub use grpc_hosted::{HostedAuthMode, HostedGrpcClient, HostedSession};
23pub use presence::{
24    PublisherConfig, cmd_presence_publish, resolve_publisher_config, run_publisher,
25};
26pub use support::run as cmd_support;
27pub use support_args::{SupportCommands, SupportGrantArgs, SupportListArgs, SupportRevokeArgs};