pitwall-tauri 0.1.0

Tauri integration for Pitwall telemetry library
Documentation
//! Type Export Tests
//!
//! Validates that pitwall-tauri correctly re-exports Pitwall types
//! and that the bridge function is properly typed.

#[test]
fn test_reexported_types_available() {
    // Verify all key Pitwall types are re-exported and accessible
    let _ = pitwall_tauri::Pitwall::connect;
    let _ = pitwall_tauri::UpdateRate::Native;

    // Verify these types exist and are accessible
    fn assert_type_exists<T>() {}
    assert_type_exists::<pitwall_tauri::SessionInfo>();
    assert_type_exists::<pitwall_tauri::VariableSchema>();
    assert_type_exists::<pitwall_tauri::VariableInfo>();
    assert_type_exists::<pitwall_tauri::VariableType>();
}

// Note: to_channel function existence is validated by successful compilation
// The generic function signature cannot be easily tested without concrete types