[package] name = "influx-writer" version = "0.18.2" authors = ["Jonathan Strong "] edition = "2018" description = "opinionated influxdb client" publish = ["mmcxi"] license = "all rights reserved" repository = "https://git.mmcxi.com/jstrong/influx-writer.git" exclude = ["justfile"] [lib] name = "influx_writer" path = "src/lib.rs" [[example]] name = "write" path = "examples/write.rs" required-features = ["signal-hook"] [dependencies] chrono = { version = "0.4", features = ["serde"] } hyper = "0.10" slog = "2" slog-term = "2" uuid = { version = "0.8", features = ["serde", "v4", "slog"] } slog-async = "2" smallvec = "1.6" crossbeam-channel = "0.5" pretty_toa = "1.0.0" signal-hook = { version = "0.3.8", optional = true } decimal = { version = "2.4.3", registry = "mmcxi" } decimal-macros = { version = "0.3", registry = "mmcxi" } [features] default = ["string-tags"] trace = ["slog/release_max_level_trace", "slog/max_level_trace"] debug = ["slog/release_max_level_debug", "slog/max_level_debug"] string-tags = [] unstable = [] # tests that authenticated requests are accepted by influxdb server # # setup: # # - create database "auth_test" # - create user "auth_test_user" with password "hot dog" grant permissions # to write to "auth_test" database # auth-tests = [] [profile.bench] lto = true