Move diesel as a workspace dependency
This commit is contained in:
@@ -14,11 +14,11 @@ dotenv = { workspace = true }
|
||||
chrono = { workspace = true }
|
||||
serde = { workspace = true }
|
||||
serde_json = { workspace = true }
|
||||
diesel = { workspace = true }
|
||||
|
||||
|
||||
influxdb2 = "0.4.2"
|
||||
influxdb2-structmap = "0.2"
|
||||
influxdb2-derive = "0.1.1"
|
||||
futures = "0.3.28"
|
||||
num-traits = "0.2"
|
||||
diesel = { version = "2.1.0", features = ["postgres"] }
|
||||
diesel-async = { version = "0.3.1", features = ["postgres"] }
|
||||
|
||||
@@ -20,7 +20,7 @@ pub type Point = types::point::Point;
|
||||
pub type MAC = types::mac::MAC;
|
||||
|
||||
// DB models: for SQL with Diesel and InfluxDB and influxdb-derive
|
||||
mod schema;
|
||||
pub mod schema;
|
||||
mod models {
|
||||
pub mod antenna;
|
||||
pub mod beacon_measure;
|
||||
|
||||
Reference in New Issue
Block a user