You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Cargo.toml 1.3KB

7 years ago
6 years ago
7 years ago
7 years ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. [package]
  2. name = "influx-writer"
  3. version = "0.18.0"
  4. authors = ["Jonathan Strong <jonathan.strong@gmail.com>"]
  5. edition = "2018"
  6. description = "opinionated influxdb client"
  7. publish = ["mmcxi"]
  8. license = "all rights reserved"
  9. repository = "https://git.mmcxi.com/jstrong/influx-writer.git"
  10. exclude = ["justfile"]
  11. [lib]
  12. name = "influx_writer"
  13. path = "src/lib.rs"
  14. [[example]]
  15. name = "write"
  16. path = "examples/write.rs"
  17. required-features = ["signal-hook"]
  18. [dependencies]
  19. chrono = { version = "0.4", features = ["serde"] }
  20. hyper = "0.10"
  21. slog = "2"
  22. slog-term = "2"
  23. uuid = { version = "0.8", features = ["serde", "v4", "slog"] }
  24. slog-async = "2"
  25. smallvec = "0.6"
  26. crossbeam-channel = "0.5"
  27. pretty_toa = "1.0.0"
  28. signal-hook = { version = "0.3.8", optional = true }
  29. decimal = { version = "2.4.3", registry = "mmcxi" }
  30. decimal-macros = { version = "0.3", registry = "mmcxi" }
  31. [features]
  32. default = ["string-tags"]
  33. trace = ["slog/release_max_level_trace", "slog/max_level_trace"]
  34. debug = ["slog/release_max_level_debug", "slog/max_level_debug"]
  35. string-tags = []
  36. unstable = []
  37. # tests that authenticated requests are accepted by influxdb server
  38. #
  39. # setup:
  40. #
  41. # - create database "auth_test"
  42. # - create user "auth_test_user" with password "hot dog" grant permissions
  43. # to write to "auth_test" database
  44. #
  45. auth-tests = []
  46. [profile.bench]
  47. lto = true