Skip to content

Commit

Permalink
Add InfluxDB backend (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
JEnoch committed Nov 12, 2020
1 parent 6663749 commit 85474f5
Show file tree
Hide file tree
Showing 10 changed files with 815 additions and 29 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ members = [
"plugins/zenoh-http",
"plugins/zenoh-storages",
"backends/traits",
"backends/influxdb",
]

exclude = [
Expand Down
44 changes: 44 additions & 0 deletions backends/influxdb/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
#
# Copyright (c) 2017, 2020 ADLINK Technology Inc.
#
# This program and the accompanying materials are made available under the
# terms of the Eclipse Public License 2.0 which is available at
# http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0
# which is available at https://www.apache.org/licenses/LICENSE-2.0.
#
# SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
#
# Contributors:
# ADLINK zenoh team, <[email protected]>
#
[package]
name = "zenoh_backend_influxdb"
version = "0.5.0-beta.5"
authors = ["kydos <[email protected]>",
"Julien Enoch <[email protected]>",
"Olivier Hécart <[email protected]>",
"Luca Cominardi <[email protected]>"]
edition = "2018"

[lib]
name = "zbackend_influxdb"
crate-type = ["cdylib"]

[dependencies]
zenoh_backend_traits = { version = "0.5.0-beta.5", path = "../traits" }
zenoh = { version = "0.5.0-beta.5", path = "../../zenoh" }
zenoh-util = { version = "0.5.0-beta.5", path = "../../zenoh-util" }
async-trait = "0.1"
lazy_static = "1.4.0"
regex = "1"
env_logger = "0.7.1"
log = "0.4"
uuid = { version = "0.8", features = ["v4"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0" }
# TODO: set a version when influxdb-rust is release with its #72 PR
influxdb = { git = "https://github.com/Empty2k12/influxdb-rust.git", rev = "cc8750a5", features = ["curl-client"] }

[dependencies.async-std]
version = "=1.6.5"
features = ["unstable"]
Loading

0 comments on commit 85474f5

Please sign in to comment.