Skip to content

Commit

Permalink
add send to sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
zifeo committed Mar 4, 2023
1 parent 5d53c03 commit bef5612
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ resolver = "2"

[package]
name = "lade"
version = "0.2.2-beta.1"
version = "0.2.2"
edition = "2021"
description = "Load automatically and hierarchically env variables from secret stores (Infisical/Dopper/1Password)."
license = "MPL-2.0"
Expand All @@ -24,7 +24,7 @@ serde = { version = "1.0.152", features = ["derive"] }
serde_yaml = "0.9.17"
clap = { version = "4.1.6", features = ["derive"] }
regex = "1.7.1"
lade-sdk = { path = "./sdk", version = "0.2.2-beta.1" }
lade-sdk = { path = "./sdk", version = "0.2.2" }
tokio = { version = "1", features = ["full"] }
indexmap = { version = "1.9.2", features = ["serde"] }
clap-verbosity-flag = "2.0.0"
Expand Down
2 changes: 1 addition & 1 deletion sdk/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "lade-sdk"
version = "0.2.2-beta.1"
version = "0.2.2"
edition = "2021"
description = "Load automatically and hierarchically env variables from secret stores (Infisical/Dopper/1Password)."
license = "MPL-2.0"
Expand Down
2 changes: 1 addition & 1 deletion sdk/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ type Hydration = HashMap<String, String>;
mod providers;

pub struct Hydrater {
providers: Vec<Box<dyn Provider>>,
providers: Vec<Box<dyn Provider + Send>>,
}

impl Hydrater {
Expand Down
2 changes: 1 addition & 1 deletion sdk/src/providers/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub trait Provider: Sync {
async fn resolve(&self) -> Result<Hydration>;
}

pub fn providers() -> Vec<Box<dyn Provider>> {
pub fn providers() -> Vec<Box<dyn Provider + Send>> {
vec![
Box::new(doppler::Doppler::new()),
Box::new(infisical::Infisical::new()),
Expand Down

0 comments on commit bef5612

Please sign in to comment.