technitium 0.4.0

Typed async Rust client for the Technitium DNS Server API
Documentation
1
2
3
4
5
6
7
8
9
10
mod common;

#[tokio::test]
#[ignore = "requires running Technitium server"]
async fn list_logs() {
    let client = common::authenticated_client().await;
    let logs = client.list_logs().await.expect("list_logs should succeed");
    assert!(!logs.is_empty(), "should have at least one log file");
    assert!(!logs[0].file_name.is_empty(), "log file should have a name");
}