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 9, 2020
1 parent 1453b1a commit 6aaae31
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 94 deletions.
108 changes: 14 additions & 94 deletions Cargo.lock

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

7 changes: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,10 @@ 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]
# 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.17.0-patch.1" }

0 comments on commit 6aaae31

Please sign in to comment.