haply/
lib.rs

1//! Haply Robotics Client Library
2//! 
3//! This crate provides a Rust interface for interacting with Haply haptic devices
4//! through the Haply Inverse Service. It supports both HTTP and WebSocket
5//! communications for device control and state management.
6
7// Public modules for external use
8pub mod device;        // Core device interaction functionality
9pub mod device_model;  // Data structures and models
10pub mod http;         // HTTP client implementation
11pub mod physics;      // Physics simulation utilities
12pub mod physics_model; // Physical object models
13pub mod websocket;    // WebSocket client implementation
14
15// Re-exports of commonly used items
16pub use device::HaplyDevice;
17pub use physics::compute_total_force;
18pub use physics_model::{Cube, Sphere};