haply 0.8.3

Haply Robotics Client Library for the Inverse Service
Documentation
//! Haply Robotics Client Library
//!
//! This crate provides a Rust interface for interacting with Haply haptic devices
//! through the Haply Inverse Service. It supports both HTTP and WebSocket
//! communications for device control and state management.

#[cfg(test)]
#[path = "unit_tests.rs"]
mod unit_tests;

// Public modules for external use
pub mod device; // Core device interaction functionality

pub mod interfaces; // Event channel handling and notifications
pub mod device_model; // Data structures and models
pub mod physics; // Physics simulation utilities

pub use physics as physics_model;

// Re-exports of commonly used items
pub use interfaces::{http, websocket, events};

pub use interfaces::events as events_model;

pub use device::HaplyDevice;
pub use physics::compute_total_force;
pub use physics_model::{ Cube, Sphere };