-
Notifications
You must be signed in to change notification settings - Fork 453
/
Cargo.toml
50 lines (46 loc) · 1.56 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
[package]
name = "mz-prof"
description = "CPU and memory profiling tools."
version = "0.0.0"
edition.workspace = true
rust-version.workspace = true
publish = false
[dependencies]
askama = { version = "0.11.1", default-features = false, features = ["config", "serde-json"] }
anyhow = "1.0.66"
axum = { version = "0.6.4", features = ["headers"] }
backtrace = "0.3.66"
bytesize = "1.1.0"
cfg-if = "1.0.0"
headers = "0.3.8"
http = "0.2.8"
include_dir = "0.7.3"
libc = "0.2.138"
once_cell = "1.16.0"
mime = "0.3.16"
mz-build-info = { path = "../build-info" }
mz-http-util = { path = "../http-util" }
mz-ore = { path = "../ore" }
pprof = { git = "https://github.com/MaterializeInc/pprof-rs.git" }
serde = { version = "1.0.152", features = ["derive"] }
tempfile = "3.2.0"
tikv-jemalloc-ctl = { version = "0.5.0", features = ["use_std"], optional = true }
tracing = "0.1.37"
tokio = { version = "1.24.2", features = ["time"] }
workspace-hack = { version = "0.0.0", path = "../workspace-hack" }
[build-dependencies]
anyhow = "1.0.66"
mz-npm = { path = "../npm" }
[features]
# When enabled, static assets for the web UI are loaded from disk on every HTTP
# request rather than compiled into the binary. This vastly speeds up the
# iteration cycle when developing the web UI.
#
# WARNING: For development use only! When enabled, may allow unrestricted read
# access to the file system.
dev-web = []
# Whether to enable profiling features that depend on jemalloc.
jemalloc = ["tikv-jemalloc-ctl"]
[package.metadata.cargo-udeps.ignore]
# "bytesize" not used on linux
normal = ["bytesize", "workspace-hack"]