influxdb/influxdb2_client
Dom Dwyer 928a4d163e
build: remove unused dependencies from crates
This commit fixes loads of crates (47!) had unused dependencies, or
mis-configured dependencies (test deps as normal deps).

I added the "unused_crate_dependencies" to all crates to help prevent
this mess from growing again!

    https://doc.rust-lang.org/beta/nightly-rustc/rustc_lint_defs/builtin/static.UNUSED_CRATE_DEPENDENCIES.html

This has the minor downside of false-positives when specifying
dev-dependencies for test/bench binaries - these are files in /test or
/benches (not normal tests). This commit includes a workaround,
importing them in lib.rs (gated by a feature flag). I think the
trade-off of better dependency management is worth it!
2023-05-23 14:55:43 +02:00
..
examples fix: Rename influxdb2_client query to query_raw 2022-09-12 13:14:21 -04:00
src build: remove unused dependencies from crates 2023-05-23 14:55:43 +02:00
tests fix: Move variables within format strings. Thanks clippy! 2023-02-03 13:06:17 -05:00
Cargo.toml chore(deps): Bump tokio from 1.27.0 to 1.28.0 (#7667) 2023-04-26 12:53:26 +00:00
README.md docs(various): Improve Readability (#4768) 2022-06-02 18:01:06 +00:00

README.md

InfluxDB V2 Client API

This crate contains a work-in-progress implementation of a Rust client for the InfluxDB 2.0 API.

This client is not the Rust client for IOx. You can find that here.

The InfluxDB IOx project plans to focus its efforts on the subset of the API which are most relevant to IOx, but we accept (welcome!) PRs for adding the other pieces of functionality.

Design Notes

When it makes sense, this client aims to mirror the InfluxDB 2.x Go client API

Contributing

If you would like to contribute code you can do through GitHub by forking the repository and sending a pull request into the master branch.

Future work

If you would like to contribute code you can do through GitHub by forking the repository and sending a pull request into the main branch.