Skip to content

Commit

Permalink
fix: createdb not functioning due to application/json header in request
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles-Schleich committed May 28, 2024
1 parent b214c10 commit fc46db4
Show file tree
Hide file tree
Showing 3 changed files with 244 additions and 122 deletions.
179 changes: 149 additions & 30 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 11 additions & 5 deletions v2/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,17 @@ base64 = { workspace = true }
chrono = { version = "0.4.31", features = ["serde"] }
futures = "0.3.28"
git-version = { workspace = true }
influxdb2 = { version = "0.4.5", features = [
"rustls",
], default-features = false }
influxdb2-derive = "0.1.1"
influxdb2-structmap = "0.2"
# influxdb2 = { version = "0.5.0", features = [
# "rustls",
# ], default-features = false }
# influxdb2-derive = "0.1.1"
# influxdb2-structmap = "0.2"
influxdb2 = { git = "https://github.com/Charles-Schleich/influxdb2", branch = "fix/content_headers"}
# Derive and struct map need to also come from the same Repo as the macros are used here
# Otherwise Cargo complaines Type T does not Match Type T because of its origin.
influxdb2-derive = { git = "https://github.com/Charles-Schleich/influxdb2", branch = "fix/content_headers" }
influxdb2-structmap = { git = "https://github.com/Charles-Schleich/influxdb2", branch = "fix/content_headers" }

lazy_static = { workspace = true }
num-traits = "0.2"
rand = "0.8.5"
Expand Down
Loading

0 comments on commit fc46db4

Please sign in to comment.