提交 ee87a9b4 编写于 作者: D dingbo

change coding of csharp demo

上级 637828f6
...@@ -18,7 +18,15 @@ cargo new --bin cloud-example ...@@ -18,7 +18,15 @@ cargo new --bin cloud-example
Add dependency to `Cargo.toml`. Add dependency to `Cargo.toml`.
```toml title="Cargo.toml" ```toml title="Cargo.toml"
{{#include docs/examples/rust/cloud-example/Cargo.toml}} [package]
name = "cloud-example"
version = "0.1.0"
edition = "2021"
[dependencies]
taos = { version = "*", default-features = false, features = ["ws"] }
tokio = { version = "1", features = ["full"]}
anyhow = "1.0.0"
``` ```
## Config ## Config
......
using System; using System;
using TDengineWS.Impl; using TDengineWS.Impl;
namespace Cloud.Examples namespace Cloud.Examples
......
using System; using System;
using TDengineWS.Impl; using TDengineWS.Impl;
using TDengineDriver; using TDengineDriver;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
......
using System; using System;
using TDengineDriver; using TDengineDriver;
using TDengineWS.Impl; using TDengineWS.Impl;
using System.Collections.Generic; using System.Collections.Generic;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册