-
Notifications
You must be signed in to change notification settings - Fork 228
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add missing docs for memory-tracker crate
- Loading branch information
1 parent
225118e
commit 84b91e8
Showing
6 changed files
with
59 additions
and
163 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ version = "0.37.0-pre" | |
authors = ["Nervos Core Dev <[email protected]>"] | ||
edition = "2018" | ||
license = "MIT" | ||
description = "TODO(doc): @yangby-cryptape crate description" | ||
description = "Track the memory usage of CKB." | ||
homepage = "https://github.com/nervosnetwork/ckb" | ||
repository = "https://github.com/nervosnetwork/ckb" | ||
|
||
|
@@ -13,13 +13,6 @@ ckb-logger = { path = "../logger", version = "= 0.37.0-pre" } | |
ckb-metrics = { path = "../metrics", version = "= 0.37.0-pre" } | ||
ckb-db = { path = "../../db", version = "= 0.37.0-pre" } | ||
|
||
# TODO Why don't disable this crate by "target.*" in the crates which are dependent on this crate? | ||
# | ||
# I really don't like to write such dirty code. I try a lot. But due to the limit of the "cargo" | ||
# (and a lot of stupid bugs), at last, I have to write these stupid code. | ||
# | ||
# References: | ||
# - [Cargo Issue-1197: Target-specific features](https://github.com/rust-lang/cargo/issues/1197) | ||
[target.'cfg(all(not(target_env = "msvc"), not(target_os="macos")))'.dependencies] | ||
heim = "0.0.10" | ||
futures = "0.3.1" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.