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;
18pub use grpc_hosted::HostedGrpcClient;
19pub use presence::{PublisherConfig, cmd_presence_publish, resolve_publisher_config, run_publisher};
20pub use support::run as cmd_support;
21pub use support_args::{SupportCommands, SupportGrantArgs, SupportListArgs, SupportRevokeArgs};
22
23// Re-export `device_flow` under the historical `auth` module name so
24// callers using `weft_client::auth::{...}` resolve symbols at the
25// same path the cli used internally pre-move.
26pub use device_flow as auth;