-
Notifications
You must be signed in to change notification settings - Fork 453
/
Cargo.toml
134 lines (126 loc) · 4.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
[package]
name = "materialized"
description = "Streaming SQL materialized views."
version = "0.7.2-dev"
authors = ["Materialize, Inc."]
license = "proprietary"
edition = "2018"
publish = false
default-run = "materialized"
build = "build/main.rs"
[package.metadata.deb]
assets = [
["../../misc/dist/materialized.service", "lib/systemd/system/", "644"],
["target/release/materialized", "usr/bin/", "755"],
]
conflicts = "materialized"
depends = "$auto"
maintainer-scripts = "misc/dist/deb-scripts"
[package.metadata.deb.variants.materialized]
conflicts = "materialized-unstable"
name = "materialized"
[package.metadata.deb.variants.materialized-unstable]
conflicts = "materialized"
name = "materialized-unstable"
[dependencies]
anyhow = "1.0.38"
askama = { version = "0.10.5", features = ["serde-json"] }
async-trait = "0.1.48"
backtrace = "0.3.56"
build-info = { path = "../build-info" }
cfg-if = "1.0.0"
clap = "2.33.0"
compile-time-run = "0.2.11"
coord = { path = "../coord" }
crossbeam-channel = "0.5.0"
dataflow = { path = "../dataflow" }
dataflow-types = { path = "../dataflow-types" }
differential-dataflow = { git = "https://github.com/TimelyDataflow/differential-dataflow.git" }
futures = "0.3.13"
hex = "0.4.3"
hyper = { version = "0.14.0", features = ["http1", "server"] }
hyper-openssl = "0.9.1"
include_dir = "0.6.0"
itertools = "0.9.0"
krb5-src = { version = "0.2.3", features = ["binaries"] }
lazy_static = "1.4.0"
libc = "0.2.89"
log = "0.4.13"
mz-process-collector = { path = "../mz-process-collector" }
nix = "0.19.1"
num_cpus = "1.0.0"
openssl = { version = "0.10.32", features = ["vendored"] }
openssl-sys = { version = "0.9.61", features = ["vendored"] }
ore = { path = "../ore" }
os_info = "3.0.1"
parse_duration = "2.1.0"
pgwire = { path = "../pgwire" }
prof = { path = "../prof", features = ["auto-jemalloc"] }
prometheus = { git = "https://github.com/MaterializeInc/rust-prometheus.git", default-features = false }
rdkafka-sys = { git = "https://github.com/fede1024/rust-rdkafka.git", features = ["cmake-build", "libz-static"] }
repr = { path = "../repr" }
reqwest = { version = "0.11.1", features = ["json"] }
rlimit = "0.5.4"
semver = "0.11.0"
serde = { version = "1.0.124", features = ["derive"] }
serde_json = "1.0.64"
shell-words = "1.0.0"
sql = { path = "../sql" }
sql-parser = { path = "../sql-parser" }
structopt = "0.3.21"
sysctl = "0.4.0"
sysinfo = "0.16.4"
tempfile = "3.2.0"
timely = { git = "https://github.com/TimelyDataflow/timely-dataflow", default-features = false, features = ["bincode"] }
tokio = { version = "1.3.0", features = ["sync"] }
tokio-openssl = "0.6.1"
tokio-stream = { version = "0.1.4", features = ["net"] }
tracing = "0.1.25"
# TODO(benesch): we can use the default features here once tracing-subscriber
# does not enable chrono's "oldtime" feature.
tracing-subscriber = { version = "0.2.16", default-features = false, features = ["ansi", "env-filter", "fmt", "tracing-log"] }
url = "2.2.1"
uuid = "0.8.2"
[target.'cfg(not(target_os = "macos"))'.dependencies]
# According to jemalloc developers, `background_threads` should always be
# enabled, except in "esoteric" situations that don't apply to Materialize
# (Namely: if the application relies on new threads not being created for whatever reason)
#
# See: https://github.com/jemalloc/jemalloc/issues/956#issuecomment-316224733
jemallocator = { version = "0.3.0", features = ["profiling", "unprefixed_malloc_on_supported_platforms", "background_threads"] }
[dev-dependencies]
assert_cmd = "1.0.3"
bytes = "1.0.1"
chrono = { version = "0.4.0", default-features = false, features = ["std"] }
datadriven = "0.5.0"
fallible-iterator = "0.2.0"
itertools = "0.9.0"
kafka-util = { path = "../kafka-util" }
pgrepr = { path = "../pgrepr" }
pgtest = { path = "../pgtest" }
postgres = { version = "0.19.0", features = ["with-chrono-0_4"] }
postgres-openssl = "0.5.0"
postgres-protocol = "0.6.0"
postgres_array = "0.11.0"
predicates = "1.0.7"
repr = { path = "../repr" }
reqwest = { version = "0.11.1", features = ["blocking"] }
serde_json = "1.0.64"
tokio-postgres = { version = "0.7.0", features = ["with-chrono-0_4"] }
[build-dependencies]
anyhow = "1.0.38"
flate2 = "1.0.20"
hex = "0.4.3"
hex-literal = "0.3.1"
reqwest = { version = "0.11.1", features = ["blocking"] }
sha2 = "0.9.3"
tar = "0.4.33"
walkdir = "2.3.1"
[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 = []