guacamole-client 0.5.1

Rust client library for the Guacamole REST API
Documentation
#![forbid(unsafe_code)]
#![warn(missing_docs)]
#![allow(clippy::missing_errors_doc)]
//! Rust client for the [Apache Guacamole REST API](https://guacamole.apache.org/).
//!
//! # Quick start
//!
//! ```no_run
//! # async fn example() -> guacamole_client::Result<()> {
//! let mut client = guacamole_client::GuacamoleClient::new("http://localhost:8080/guacamole")?;
//! client.login("guacadmin", "guacadmin").await?;
//!
//! let users = client.list_users(None).await?;
//! for (username, user) in &users {
//!     println!("{username}: {user:?}");
//! }
//!
//! client.logout().await?;
//! # Ok(())
//! # }
//! ```

mod auth;
mod client;
mod connection;
mod connection_group;
/// Error types for the Guacamole client.
pub mod error;
mod history;
mod language;
mod patch;
mod permission;
mod schema;
mod server_patch;
mod sharing_profile;
mod tunnel;
mod user;
mod user_group;
mod validation;

pub use auth::AuthResponse;
pub use client::GuacamoleClient;
pub use connection::{ActiveConnection, Connection};
pub use connection_group::ConnectionGroup;
pub use error::{Error, Result};
pub use history::HistoryEntry;
pub use patch::PatchOperation;
pub use sharing_profile::{SharingProfile, SharingProfileSummary};
pub use user::{PasswordChange, User, UserPermissions};
pub use user_group::UserGroup;