Use package renaming so source doesn't say tikv

This commit is contained in:
John Renner 2021-05-07 12:41:07 -07:00
parent d8a9b450a6
commit 4059112b4e
2 changed files with 4 additions and 4 deletions

View file

@ -15,14 +15,14 @@ cfg-if = "1"
libc = "0.2.73"
la-arena = { version = "0.2.0", path = "../../lib/arena" }
countme = { version = "2.0.1", features = ["enable"] }
tikv-jemalloc-ctl = { version = "0.4.1", optional = true }
jemalloc-ctl = { version = "0.4.1", package = "tikv-jemalloc-ctl", optional = true }
[target.'cfg(target_os = "linux")'.dependencies]
perf-event = "0.4"
[features]
cpu_profiler = []
jemalloc = ["tikv-jemalloc-ctl"]
jemalloc = ["jemalloc-ctl"]
# Uncomment to enable for the whole crate graph
# default = [ "cpu_profiler" ]

View file

@ -63,7 +63,7 @@ proc_macro_srv = { path = "../proc_macro_srv", version = "0.0.0" }
winapi = "0.3.8"
[target.'cfg(not(target_env = "msvc"))'.dependencies]
tikv-jemallocator = { version = "0.4.1", optional = true }
jemallocator = { version = "0.4.1", package = "tikv-jemallocator", optional = true }
[dev-dependencies]
expect-test = "1.1"
@ -72,5 +72,5 @@ mbe = { path = "../mbe" }
tt = { path = "../tt" }
[features]
jemalloc = ["tikv-jemallocator", "profile/jemalloc"]
jemalloc = ["jemallocator", "profile/jemalloc"]
force-always-assert = ["always-assert/force"]