cli_shared/lib.rs
1// SPDX-License-Identifier: Apache-2.0
2//! CLI-side utilities shared between the OSS `cli` crate and the
3//! closed `heddle-client` crate.
4//!
5//! These items would create a circular dependency if they stayed in
6//! `cli` (which depends on `heddle-client` when the `heddle-client`
7//! feature is on, and `heddle-client` needs `UserConfig` /
8//! `RemoteTarget` / `ClientConfig`). Pulling them out lets both sides
9//! resolve cleanly.
10
11pub mod client_config;
12pub mod config;
13pub mod remote;
14
15pub use client_config::ClientConfig;
16pub use config::UserConfig;
17pub use remote::{Remote, RemoteConfig, RemoteTarget, resolve_remote_with_key};