forked from MaterializeInc/materialize
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
122 lines (117 loc) · 3.78 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
[workspace]
members = [
"src/adapter",
"src/alloc",
"src/audit-log",
"src/avro",
"src/avro-derive",
"src/aws-s3-util",
"src/build-id",
"src/build-info",
"src/ccsr",
"src/cluster",
"src/clusterd",
"src/cluster-client",
"src/compute",
"src/compute-client",
"src/controller",
"src/environmentd",
"src/expr",
"src/expr-test-util",
"src/frontegg-auth",
"src/http-util",
"src/interchange",
"src/kafka-util",
"src/kinesis-util",
"src/lowertest",
"src/lowertest-derive",
"src/metabase",
"src/mz",
"src/npm",
"src/orchestrator",
"src/orchestrator-kubernetes",
"src/orchestrator-process",
"src/orchestrator-tracing",
"src/ore",
"src/persist",
"src/persist-client",
"src/persist-types",
"src/pgcopy",
"src/pgrepr",
"src/pgtest",
"src/pgwire",
"src/pid-file",
"src/postgres-util",
"src/prof",
"src/proto",
"src/repr",
"src/repr-test-util",
"src/s3-datagen",
"src/secrets",
"src/segment",
"src/service",
"src/ssh-util",
"src/sql",
"src/sql-parser",
"src/sqllogictest",
"src/stash",
"src/stash-debug",
"src/storage",
"src/storage-client",
"src/testdrive",
"src/timely-util",
"src/transform",
"src/cloud-resources",
"src/walkabout",
"src/workspace-hack",
"test/metabase/smoketest",
"test/perf-kinesis",
"test/test-util",
]
# Use Cargo's new feature resolver, which can handle target-specific features.
# Explicit opt-in is required even with the 2021 edition because we use a
# virtual workspace.
# See: https://blog.rust-lang.org/2021/03/25/Rust-1.51.0.html#cargos-new-feature-resolver
resolver = "2"
[workspace.package]
edition = "2021"
rust-version = "1.67.0"
[profile.dev]
# TODO(gusywnn|benesch): remove this when incremental ice's are improved
incremental = false
[profile.dev.package]
# Compile the backtrace crate and its dependencies with all optimizations, even
# in dev builds, since otherwise backtraces can take 20s+ to symbolize. With
# optimizations enabled, symbolizing a backtrace takes less than 1s.
addr2line = { opt-level = 3 }
adler = { opt-level = 3 }
backtrace = { opt-level = 3 }
gimli = { opt-level = 3 }
miniz_oxide = { opt-level = 3 }
object = { opt-level = 3 }
rustc-demangle = { opt-level = 3 }
[profile.release]
# Emit only the line info tables, not full debug info, in release builds, to
# substantially reduce the size of the debug info. Line info tables are enough
# to correctly symbolicate a backtrace, but do not produce an ideal interactive
# debugger experience. This seems to be the right tradeoff for release builds:
# it's unlikely we're going to get interactive access to a debugger in
# production installations, but we still want useful crash reports.
debug = 1
# Use this section only to change the source of dependencies that appear as
# transitive dependencies of other external dependencies in the dependency
# graph. For everything else (e.g. rust-postgres, rdkafka,
# differential-dataflow, proptest, timely), use a `git` source directly in each
# Cargo.toml.
#
# The reasons for each of these overrides are listed in deny.toml.
[patch.crates-io]
axum = { git = "https://github.com/tokio-rs/axum.git" }
chrono = { git = "https://github.com/chronotope/chrono.git", branch = "0.4.x" }
csv = { git = "https://github.com/BurntSushi/rust-csv.git" }
csv-core = { git = "https://github.com/BurntSushi/rust-csv.git" }
hashbrown = { git = "https://github.com/MaterializeInc/hashbrown.git" }
postgres-protocol = { git = "https://github.com/MaterializeInc/rust-postgres" }
tokio-postgres = { git = "https://github.com/MaterializeInc/rust-postgres" }
serde-value = { git = "https://github.com/MaterializeInc/serde-value.git" }
vte = { git = "https://github.com/alacritty/vte" }