@@ -60,7 +60,6 @@ use chrono::{DateTime, Utc};
6060use influxdb :: {Client , Error , InfluxDbWriteable , ReadQuery , Timestamp };
6161
6262#[tokio:: main]
63- // or #[async_std::main] if you prefer
6463async fn main () -> Result <(), Error > {
6564 // Connect to db `test` on `http://localhost:8086`
6665 let client = Client :: new (" http://localhost:8086" , " test" );
@@ -122,55 +121,23 @@ To communicate with InfluxDB, you can choose the HTTP backend to be used configu
122121 influxdb = { version = " 0.7.2" , default-features = false , features = [" derive" , " serde" , " reqwest-client-native-tls-vendored" ] }
123122 ```
124123
125- * ** [ hyper] [ __link9 ] ** (through surf), use this if you need tokio 0.2 compatibility
126- ``` toml
127- influxdb = { version = " 0.7.2" , default-features = false , features = [" derive" , " serde" , " hyper-client" ] }
128- ```
129-
130- * ** [ curl] [ __link10 ] ** , using [ libcurl] [ __link11 ]
131- ``` toml
132- influxdb = { version = " 0.7.2" , default-features = false , features = [" derive" , " serde" , " curl-client" ] }
133- ```
134-
135- * ** [ async-h1] [ __link12 ] ** with native TLS (OpenSSL)
136- ``` toml
137- influxdb = { version = " 0.7.2" , default-features = false , features = [" derive" , " serde" , " h1-client" ] }
138- ```
139-
140- * ** [ async-h1] [ __link13 ] ** with [ rustls] [ __link14 ]
141- ``` toml
142- influxdb = { version = " 0.7.2" , default-features = false , features = [" derive" , " serde" , " h1-client-rustls" ] }
143- ```
144-
145- * WebAssembly’s ` window.fetch ` , via ` web-sys ` and ** [ wasm-bindgen] [ __link15 ] **
146- ``` toml
147- influxdb = { version = " 0.7.2" , default-features = false , features = [" derive" , " serde" , " wasm-client" ] }
148- ```
149-
150124## License
151125
152- [ ![ License: MIT] ( https://img.shields.io/badge/License-MIT-yellow.svg )] [ __link16 ]
126+ [ ![ License: MIT] ( https://img.shields.io/badge/License-MIT-yellow.svg )] [ __link9 ]
153127
154128
155129@ 2020-2024 Gero Gerke, msrd0 and [ contributors] .
156130
157131 [ contributors ] : https://github.com/influxdb-rs/influxdb-rust/graphs/contributors
158- [ __cargo_doc2readme_dependencies_info ] : ggGkYW0CYXSEGzJ_QpW55zB1G0S-TER-rIfLG2gXv8EYBG3jG1nuXXn-kdx-YXKEG1LaAVLASZMqG5J2qfpyCvbMG_Rohh5BobOmG0DqLv5454SZYWSBgmhpbmZsdXhkYmUwLjcuMg
132+ [ __cargo_doc2readme_dependencies_info ] : ggGkYW0CYXSEGzJ_QpW55zB1G0S-TER-rIfLG2gXv8EYBG3jG1nuXXn-kdx-YXKEG8LHWNBBuXgSGz-2Lrx4E_kTG0bJiXb6A8zNG9GhXhvU8L0xYWSBgmhpbmZsdXhkYmUwLjcuMg
159133 [ __link0 ] : https://github.com/influxdb-rs/influxdb-rust/blob/main/CONTRIBUTING.md
160134 [ __link1 ] : https://github.com/influxdb-rs/influxdb-rust/blob/main/CODE_OF_CONDUCT.md
161- [ __link10 ] : https://github.com/alexcrichton/curl-rust
162- [ __link11 ] : https://curl.se/libcurl/
163- [ __link12 ] : https://github.com/http-rs/async-h1
164- [ __link13 ] : https://github.com/http-rs/async-h1
165- [ __link14 ] : https://github.com/ctz/rustls
166- [ __link15 ] : https://github.com/rustwasm/wasm-bindgen
167- [ __link16 ] : https://opensource.org/licenses/MIT
168135 [ __link2 ] : https://github.com/influxdb-rs/influxdb-rust/blob/main/CHANGELOG.md
169136 [ __link3 ] : https://github.com/influxdb-rs/influxdb-rust/blob/main/influxdb/Cargo.toml
170137 [ __link4 ] : https://docs.rs/influxdb/0.7.2/influxdb/?search=integrations::serde_integration
171138 [ __link5 ] : https://github.com/hyperium/hyper
172139 [ __link6 ] : https://github.com/ctz/rustls
173140 [ __link7 ] : https://github.com/hyperium/hyper
174141 [ __link8 ] : https://github.com/hyperium/hyper
175- [ __link9 ] : https://github.com/hyperium/hyper
142+ [ __link9 ] : https://opensource.org/licenses/MIT
176143
0 commit comments