proton_client 0.1.2

Client for Timeplus Proton, a streaming SQL engine
Documentation
1
2
3
4
5
6
7
8
9
10
use proton_client::prelude::ProtonClient;

#[tokio::test]
async fn test_new() {
    let url = "https://example.com";
    let client = ProtonClient::new(url);

    let result = client.url().await;
    assert_eq!(result, url);
}