Commit Graph

5 Commits (5f43f2a7191ff60b3f542114b35acc0e366f3e9f)

Author SHA1 Message Date
Marco Neumann bc7244c48e chore: use Rust edition 2021 2021-10-25 10:58:20 +02:00
pierwill 989e9d71e3
chore: Add edition to `rustfmt.toml` (#2423)
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>
2021-08-27 13:39:51 +00:00
Raphael Taylor-Davies 79e6963d9b
fix: specify stable version (#1267) 2021-04-20 19:29:14 +00:00
Andrew Lamb 71627120b9
refactor: consolidate line protocol schema creation into data_types and port code to use it (#663)
* 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>
2021-01-15 17:29:30 -05:00
Dom 1446b5fcfc style: enforce comment wrapping
Adds a rustfmt config file so it automatically wraps comments to 80 chars (the
default.)

This is enforced as part of the CI pipeline.
2020-12-11 18:15:23 +00:00