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.

49 lines
1.2KB

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