Skip to content

Commit

Permalink
fix: use patched versions of metrics and sentry to fix RUSTSEC-2020-0…
Browse files Browse the repository at this point in the history
…041 temporarily
  • Loading branch information
yangby-cryptape committed Sep 8, 2020
1 parent 80af819 commit 1eb9e0b
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 103 deletions.
134 changes: 31 additions & 103 deletions Cargo.lock

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

8 changes: 8 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,11 @@ jemallocator = { version = "0.3.0", features = ["unprefixed_malloc_on_supported_
default = []
deadlock_detection = ["ckb-bin/deadlock_detection"]
profiling = ["jemallocator/profiling", "ckb-bin/profiling"]

[patch.crates-io]
# Interim patch to fix RUSTSEC-2020-0041.
metrics = { git = "https://github.com/nervosnetwork/metrics-rs", tag = "metrics-runtime-v0.13.1-patch.1" }
metrics-runtime = { git = "https://github.com/nervosnetwork/metrics-rs", tag = "metrics-runtime-v0.13.1-patch.1" }
metrics-core = { git = "https://github.com/nervosnetwork/metrics-rs", tag = "metrics-runtime-v0.13.1-patch.1" }
sentry = { git = "https://github.com/nervosnetwork/sentry-rust", tag = "sentry-v0.19.1-patch.1" }
sentry-core = { git = "https://github.com/nervosnetwork/sentry-rust", tag = "sentry-v0.19.1-patch.1" }

0 comments on commit 1eb9e0b

Please sign in to comment.