Add dependencies for batch submitter
Adds crates required for upcoming batch submitter implementation
commits.
@@ -29,6 +29,7 @@ license = "Apache-2.0"
[dependencies]
actix-web-4 = {package = "actix-web", version = "4", optional = true, default-features = false, features = ["macros"] }
+async-trait = { version = "0.1", optional = true }
base64 = { version = "0.13", optional = true }
cfg-if = { version = "1", optional = true }
chrono = { version = "0.4", optional = true }
@@ -46,6 +47,7 @@ sabre-sdk = { version = "0.8", optional = true }
serde = { version = "1.0", features = ["derive"] }
serde_derive = { version = "1.0" }
serde_json = { version = "1.0", optional = true }
+tokio = {version = "1", optional = true, features = ["sync", "time", "rt-multi-thread"]}
transact = { version = "0.4", optional = true }
url = { version = "2.1", optional = true, features = ["serde"] }
uuid = { version = "0.8", features = ["v4"], optional = true }
@@ -161,7 +163,7 @@ track-and-trace = ["base64"]
batch-tracking = ["transact"]
batch-processor = ["batch-store", "backend", "log", "reqwest", "uuid"]
batch-store = ["chrono"]
-batch-submission = []
+batch-submission = ["async-trait", "tokio"]
postgres = ["chrono", "diesel/postgres", "diesel_migrations", "log"]
rest-api = []
