Add optional support to use jemalloc as allocator
This commit is contained in:
parent
49595d87f3
commit
b76484457f
3 changed files with 56 additions and 26 deletions
|
|
@ -33,6 +33,7 @@ regex = "1"
|
|||
serde = { version = "1", features = ["serde_derive"] }
|
||||
shlex = { version = "1.3" }
|
||||
tempfile = "3"
|
||||
tikv-jemallocator = { version = "0.6", optional = true }
|
||||
tokio = { version = "1", features = ["process", "sync"] }
|
||||
trash = { git = "https://github.com/jackpot51/trash-rs.git", branch = "cosmic" }
|
||||
url = "2.5"
|
||||
|
|
@ -68,6 +69,7 @@ features = ["multi-window", "tokio", "winit"]
|
|||
default = ["bzip2", "desktop", "gvfs", "liblzma", "notify", "wgpu"]
|
||||
desktop = ["libcosmic/desktop", "dep:xdg"]
|
||||
gvfs = ["dep:gio", "dep:glib"]
|
||||
jemalloc = ["dep:tikv-jemallocator"]
|
||||
notify = ["dep:notify-rust"]
|
||||
wayland = ["libcosmic/wayland", "dep:wayland-client"]
|
||||
wgpu = ["libcosmic/wgpu"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue