forked from databendlabs/databend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
81 lines (71 loc) · 1.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
[workspace]
members = [
# Common
"common/arrow",
"common/base",
"common/building",
"common/cache",
"common/codegen",
"common/contexts",
"common/datablocks",
"common/datavalues",
"common/exception",
"common/expression",
"common/formats",
"common/functions",
"common/grpc",
"common/hashtable",
"common/hive-meta-store",
"common/http",
"common/io",
"common/macros",
"common/management",
"common/meta/api",
"common/meta/embedded",
"common/meta/raft-store",
"common/meta/sled-store",
"common/meta/store",
"common/meta/types",
"common/metrics",
"common/planners",
"common/proto-conv",
"common/protos",
"common/meta/app",
"common/streams",
"common/tracing",
"common/users",
"common/storage",
# Query
"query",
# Meta
"metasrv",
# Tools
"tools/fuzz",
"tools/metabench",
"tools/metactl",
# Hack
# This crate is used to hack our cargo.lock to resovle CVEs and so on.
"common/dep-hack",
]
[profile.release]
debug = 1
lto = "thin"
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
[profile.dev]
split-debuginfo = "unpacked"
[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" }
chrono = { git = "https://github.com/datafuse-extras/chrono", rev = "279f590" }