When running outside the context of cargo, rustfmt needs the edition specified in its toml file.
See https://rust-lang.github.io/rustfmt/?version=v1.4.36&search=#edition
This patch fixes a problem in development with emacs and LSP which gives `error[E0670]: async fn is not permitted in Rust 2015` repeatedly.
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
* refactor: consolidate line protocol schema creation into data_types, and port code to use it
refactor: Port mutable buffer to use SchemaBuilder
* fix: doctest
* refactor: remove unecessary clippyisms
* docs: Improve comments via suggestions from code review
Co-authored-by: Edd Robinson <me@edd.io>
* refactor: use more idomatic try_ naming and TryInto trait
* docs: Change from line protocol data model to InfluxDB data model
* refactor: rename LP --> Influx in code
* feat: add support for UInteger type
Co-authored-by: Edd Robinson <me@edd.io>