Skip to content

Commit

Permalink
fix: build error
Browse files Browse the repository at this point in the history
  • Loading branch information
lgalabru committed Oct 16, 2023
1 parent 64f808c commit 88f597e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 14 deletions.
8 changes: 1 addition & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions components/chainhook-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ hex = "0.4.3"
rand = "0.8.5"
chainhook-sdk = { version = "0.10.0", default-features = false, features = ["zeromq"], path = "../chainhook-sdk" }
clarinet-files = "1.0.1"
hiro-system-kit = "0.1.0"
hiro-system-kit = "0.3.1"
# clarinet-files = { path = "../../../clarinet/components/clarinet-files" }
# hiro-system-kit = { path = "../../../clarinet/components/hiro-system-kit" }
clap = { version = "3.2.23", features = ["derive"], optional = true }
Expand Down Expand Up @@ -60,9 +60,9 @@ serial_test = "2.0.0"

[features]
default = ["cli"]
cli = ["clap", "clap_generate", "toml", "ctrlc", "hiro-system-kit/log"]
debug = ["hiro-system-kit/debug"]
release = ["hiro-system-kit/release"]
cli = ["clap", "clap_generate", "toml", "ctrlc", "release"]
debug = ["chainhook-sdk/debug"]
release = ["chainhook-sdk/release"]
redis_tests = []

# [patch.crates-io]
Expand Down
8 changes: 5 additions & 3 deletions components/chainhook-sdk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ serde-hex = "0.1.0"
serde_derive = "1"
stacks-rpc-client = "1.0.10"
clarinet-utils = "1.0.0"
hiro-system-kit = "0.3.1"
hiro-system-kit = { version = "0.3.1", default-features = false, optional = true }
# stacks-rpc-client = { version = "1", path = "../../../clarinet/components/stacks-rpc-client" }
# clarinet-utils = { version = "1", path = "../../../clarinet/components/clarinet-utils" }
# hiro-system-kit = { version = "0.1.0", path = "../../../clarinet/components/hiro-system-kit" }
Expand Down Expand Up @@ -50,6 +50,8 @@ test-case = "3.1.0"
"jsonrpc:0.13.0" = { git = 'https://github.com/apoelstra/rust-jsonrpc', rev = "1063671f122a8985c1b7c29030071253da515839" }

[features]
default = ["log"]
default = ["hiro-system-kit/log"]
zeromq = ["zmq"]
log = ["hiro-system-kit/log"]
debug = ["hiro-system-kit/debug"]
release = ["hiro-system-kit/release"]

0 comments on commit 88f597e

Please sign in to comment.