pub mod error;
pub mod message;
pub mod types;
pub mod units;
#[cfg(feature = "controller")]
pub mod accumulator;
#[cfg(feature = "client")]
pub mod client;
#[cfg(feature = "server")]
pub mod server;
pub use error::FrpError;
pub use message::{
DetectionMode, FrpEnvelope, FrpEvent, FrpMessage, FrpProtocolMessage, Handedness, Severity,
};
pub use types::{BallFlight, ClubData, FaceImpact, ShotKey};
pub use units::{Distance, Velocity};
#[cfg(feature = "controller")]
pub use accumulator::{CompletedShot, ShotAggregator};
#[cfg(feature = "client")]
pub use client::FrpClient;
#[cfg(feature = "server")]
pub use server::{FrpConnection, FrpListener};
pub const DEFAULT_PORT: u16 = 5880;
pub const DEFAULT_PATH: &str = "/frp";
pub const DEFAULT_URL: &str = "ws://localhost:5880/frp";
pub const SPEC_VERSION: &str = "0.1.0";