mirror of
https://github.com/taosdata/TDengine
synced 2026-05-24 10:09:01 +00:00
9 lines
262 B
Rust
9 lines
262 B
Rust
use taos::*;
|
|
|
|
#[tokio::main]
|
|
async fn main() -> Result<(), Error> {
|
|
#[allow(unused_variables)]
|
|
let taos = TaosBuilder::from_dsn("taos://localhost:6030")?.build()?;
|
|
println!("Connected to localhost with native connection successfully.");
|
|
Ok(())
|
|
}
|