taosdata / taos-connector-rust

TDengine connector for Rust
MIT License
30 stars 13 forks source link

依赖错误 #368

Open n1ce37 opened 1 month ago

n1ce37 commented 1 month ago

Cargo.toml

taos = { version = "0.12.3", default-features = false, features = ["native"] }

报错

the package `apps` depends on `taos`, with features: `native` but `taos` does not have these features.
Audrique commented 4 weeks ago

Hi, so I had a similar problem. What I found is that they renamed "native" to "ws-native-tls" as far as I am aware, but did not update the examples. This fixed it for me:

taos = { version = "0.12.3", default-features = false, features = ["ws-native-tls"]}

zitsen commented 4 weeks ago

Since we need to support websocket deflate message, we now suggest use git version of this. , which will also fix the issue here.

zitsen commented 4 weeks ago

they renamed "native" to "ws-native-tls" as far as I am aware, but did not update the examples.

It's not correct, we just remove the native feature, use optin instead.