Add common crate to access env variables

In the future, we should use a proper secret store (not just env variables).
This lets us update one block of code and not n in the future.
This commit is contained in:
Luke Parker
2023-07-17 00:50:46 -04:00
parent 845c2842b5
commit 0a367bfbda
11 changed files with 54 additions and 4 deletions

View File

@@ -55,6 +55,7 @@ log = "0.4"
tokio = { version = "1", features = ["full"] }
serai-db = { path = "../common/db", default-features = false }
serai-env = { path = "../common/env" }
serai-client = { path = "../substrate/client", default-features = false }
messages = { package = "serai-processor-messages", path = "./messages" }