framesmith 0.1.0

A Rust library for controlling Samsung Frame TVs over the local network
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
// REST client tests require a real TV or HTTP mock server.
// These are placeholder tests for compilation verification.

#[test]
fn rest_client_url_construction() {
    use std::net::{IpAddr, Ipv4Addr};
    let client = reqwest::Client::new();
    let _rest = crate::transport::rest_client::RestClient::new(
        IpAddr::V4(Ipv4Addr::new(192, 168, 1, 100)),
        client,
    );
}