Skip to content
This repository has been archived by the owner on Sep 13, 2022. It is now read-only.

Commit

Permalink
feat(network): add tentacle_metrics feature (#417)
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroqn authored Aug 13, 2020
1 parent d03ddde commit 5181562
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ members = [
[features]
default = []
random_leader = ["core-consensus/random_leader"]
tentacle_metrics = ["core-network/tentacle_metrics"]

[[example]]
name = "muta-chain"
Expand Down
3 changes: 2 additions & 1 deletion core/network/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ rand = "0.7"
serde = "1.0"
serde_derive = "1.0"
snap = "0.2"
tentacle = { version = "0.3.0-alpha.5", features = ["molc"]}
tentacle = { git = "https://github.com/zeroqn/p2p", rev = "492ed8f", features = ["molc"]}
tokio = { version = "0.2", features = ["macros", "rt-core"]}
tokio-util = { version = "0.2", features = ["codec"] }
hostname = "0.3"
Expand All @@ -43,6 +43,7 @@ tokio = { version = "0.2", features = ["macros", "rt-core"]}
default = []
global_ip_only = []
diagnostic = []
tentacle_metrics = ["tentacle/metrics"]

[[test]]
name = "broadcast"
Expand Down

0 comments on commit 5181562

Please sign in to comment.