Skip to content

Commit

Permalink
fix: use cli feature for cargo chainhook-install (#486)
Browse files Browse the repository at this point in the history
Previously, the `cargo chainhook-install` script was installing the sdk
version of Chainhook, which logged data in a non-user-friendly way. This
changes our features some and updates the install script to fix those
logs.
  • Loading branch information
vabanaerytk authored and MicaiahReid committed Feb 8, 2024
1 parent fe7ef78 commit 206cb17
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .cargo/config
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[alias]
chainhook-install = "install --path components/chainhook-cli --locked --force"
chainhook-install = "install --path components/chainhook-cli --locked --force --features cli --features debug --no-default-features"
4 changes: 2 additions & 2 deletions components/chainhook-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ serial_test = "2.0.0"


[features]
default = ["cli"]
cli = ["clap", "clap_generate", "toml", "ctrlc", "release"]
default = ["cli", "release"]
cli = ["clap", "clap_generate", "toml", "ctrlc"]
debug = ["chainhook-sdk/debug"]
release = ["chainhook-sdk/release"]
redis_tests = []
Expand Down

0 comments on commit 206cb17

Please sign in to comment.