Skip to content

Commit

Permalink
fix: do not pass it by ref
Browse files Browse the repository at this point in the history
  • Loading branch information
shekohex committed Oct 24, 2024
1 parent 6c900d4 commit 389ebe0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,14 @@ structopt = "0.3.26"
tokio = { version = "1.39", default-features = false, features = ["full"] }
tracing-subscriber = { version = "0.3", features = ["parking_lot", "env-filter"] }

[features]
default = ["std"]
std = ["gadget-sdk/std"]

[dependencies.gadget-sdk]
version = "0.2.2"
default-features = false
features = ["std", "getrandom"]
features = ["getrandom"]

[build-dependencies]
blueprint-metadata = "0.1.5"
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ async fn main() -> Result<()> {
};

tracing::info!("Starting the event watcher ...");
MultiJobRunner::new(&env).job(say_hello_job).run().await?;
MultiJobRunner::new(env).job(say_hello_job).run().await?;

tracing::info!("Exiting...");
Ok(())
Expand Down

0 comments on commit 389ebe0

Please sign in to comment.