forked from databendlabs/databend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
110 lines (99 loc) · 2.52 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
[workspace]
members = [
# Binaries
"src/binaries",
# Common
"src/common/arrow",
"src/common/base",
"src/common/building",
"src/common/cache",
"src/common/contexts",
"src/common/exception",
"src/common/grpc",
"src/common/hashtable",
"src/common/http",
"src/common/io",
"src/common/macros",
"src/common/metrics",
"src/common/tracing",
"src/common/storage",
# Query
"src/query/ast",
"src/query/codegen",
"src/query/config",
"src/query/catalog",
"src/query/datablocks",
"src/query/datavalues",
"src/query/expression",
"src/query/formats",
"src/query/functions",
"src/query/functions-v2",
"src/query/legacy-parser",
"src/query/management",
"src/query/pipeline/core",
"src/query/pipeline/sinks",
"src/query/pipeline/sources",
"src/query/pipeline/transforms",
"src/query/planners",
"src/query/settings",
"src/query/storages/fuse",
"src/query/storages/fuse-meta",
"src/query/storages/hive",
"src/query/storages/hive-meta-store",
"src/query/storages/index",
"src/query/storages/preludes",
"src/query/storages/util",
"src/query/streams",
"src/query/users",
# databend-query
"src/query/service",
# Meta
"src/meta/api",
"src/meta/app",
"src/meta/embedded",
"src/meta/raft-store",
"src/meta/sled-store",
"src/meta/store",
"src/meta/types",
# meta proto
"src/meta/proto-conv",
"src/meta/protos",
# databend-meta
"src/meta/service",
# Hack
# This crate is used to hack our cargo.lock to resovle CVEs and so on.
"src/workspace-hack",
]
[profile.release]
debug = 1
lto = "thin"
overflow-checks = false
codegen-units = 1 # Reduce number of codegen units to increase optimizations.
[profile.release.package]
arrow2 = { codegen-units = 4 }
common-functions = { codegen-units = 16 }
databend-query = { codegen-units = 4 }
[profile.bench]
debug = true
overflow-checks = false
[profile.dev]
split-debuginfo = "unpacked"
overflow-checks = false
[profile.test]
opt-level = 0
debug = 0
codegen-units = 16
lto = false
incremental = true
debug-assertions = true
overflow-checks = true
rpath = false
[profile.dev.package]
addr2line = { opt-level = 3 }
adler = { opt-level = 3 }
gimli = { opt-level = 3 }
miniz_oxide = { opt-level = 3 }
object = { opt-level = 3 }
rustc-demangle = { opt-level = 3 }
[patch.crates-io]
parquet2 = { version = "0.14.1", optional = true, git = "https://github.com/datafuse-extras/parquet2", rev = "3a468fc3c4" }