11[workspace ]
22members = [
3- " scripts/source/prepare_ci_pubsub" ,
4- " src/batch" ,
5- " src/bench" ,
6- " src/cmd" ,
7- " src/cmd_all" ,
8- " src/common" ,
9- " src/common/common_service" ,
10- " src/compute" ,
11- " src/connector" ,
12- " src/ctl" ,
13- " src/expr" ,
14- " src/expr/macro" ,
15- " src/frontend" ,
16- " src/frontend/planner_test" ,
17- " src/java_binding" ,
18- " src/meta" ,
19- " src/object_store" ,
20- " src/prost" ,
21- " src/prost/helpers" ,
22- " src/risedevtool" ,
23- " src/rpc_client" ,
24- " src/source" ,
25- " src/sqlparser" ,
26- " src/sqlparser/test_runner" ,
27- " src/storage" ,
28- " src/storage/backup" ,
29- " src/storage/backup/cmd" ,
30- " src/storage/compactor" ,
31- " src/storage/hummock_sdk" ,
32- " src/storage/hummock_test" ,
33- " src/stream" ,
34- " src/test_runner" ,
35- " src/tests/compaction_test" ,
36- " src/tests/e2e_extended_mode" ,
37- " src/tests/regress" ,
38- " src/tests/simulation" ,
39- " src/tests/sqlsmith" ,
40- " src/tests/state_cleaning_test" ,
41- " src/tracing" ,
42- " src/udf" ,
43- " src/utils/local_stats_alloc" ,
44- " src/utils/pgwire" ,
45- " src/utils/runtime" ,
46- " src/utils/sync-point" ,
47- " src/utils/workspace-config" ,
48- " src/workspace-hack"
3+ " scripts/source/prepare_ci_pubsub" ,
4+ " src/batch" ,
5+ " src/bench" ,
6+ " src/cmd" ,
7+ " src/cmd_all" ,
8+ " src/common" ,
9+ " src/common/common_service" ,
10+ " src/compute" ,
11+ " src/connector" ,
12+ " src/ctl" ,
13+ " src/expr" ,
14+ " src/expr/macro" ,
15+ " src/frontend" ,
16+ " src/frontend/planner_test" ,
17+ " src/java_binding" ,
18+ " src/meta" ,
19+ " src/object_store" ,
20+ " src/prost" ,
21+ " src/prost/helpers" ,
22+ " src/risedevtool" ,
23+ " src/rpc_client" ,
24+ " src/source" ,
25+ " src/sqlparser" ,
26+ " src/sqlparser/test_runner" ,
27+ " src/storage" ,
28+ " src/storage/backup" ,
29+ " src/storage/backup/cmd" ,
30+ " src/storage/compactor" ,
31+ " src/storage/hummock_sdk" ,
32+ " src/storage/hummock_test" ,
33+ " src/stream" ,
34+ " src/test_runner" ,
35+ " src/tests/compaction_test" ,
36+ " src/tests/e2e_extended_mode" ,
37+ " src/tests/regress" ,
38+ " src/tests/simulation" ,
39+ " src/tests/sqlsmith" ,
40+ " src/tests/state_cleaning_test" ,
41+ " src/tracing" ,
42+ " src/udf" ,
43+ " src/utils/local_stats_alloc" ,
44+ " src/utils/pgwire" ,
45+ " src/utils/runtime" ,
46+ " src/utils/sync-point" ,
47+ " src/utils/workspace-config" ,
48+ " src/workspace-hack" ,
4949]
5050
51+ [workspace .package ]
52+ version = " 1.0.0-alpha"
53+ edition = " 2021"
54+ homepage = " https://github.com/risingwavelabs/risingwave"
55+ keywords = [" sql" , " database" , " streaming" ]
56+ license = " Apache-2.0"
57+ repository = " https://github.com/risingwavelabs/risingwave"
58+
5159[workspace .dependencies ]
5260aws-config = { version = " 0.51" , default-features = false , features = [" rt-tokio" , " native-tls" ] }
53- aws-sdk-s3 = { version = " 0.21" , default-features = false , features = [" rt-tokio" , " native-tls" ] }
54- aws-sdk-ec2 = { version = " 0.21" , default-features = false , features = [" rt-tokio" , " native-tls" ] }
61+ aws-sdk-kinesis = { version = " 0.21" , default-features = false , features = [" rt-tokio" , " native-tls" ] }
62+ aws-sdk-s3 = { version = " 0.21" , default-features = false , features = [" rt-tokio" ," native-tls" ] }
63+ aws-sdk-ec2 = { version = " 0.21" , default-features = false , features = [" rt-tokio" ," native-tls" ] }
5564aws-sdk-sqs = { version = " 0.21" , default-features = false , features = [" rt-tokio" , " native-tls" ] }
5665aws-smithy-http = " 0.51"
5766aws-smithy-types = " 0.51"
5867aws-endpoint = " 0.51"
5968aws-types = { version = " 0.51" , features = [" hardcoded-credentials" ] }
6069
61- [workspace .dependencies .aws-sdk-kinesis ]
62- version = " 0.21"
63- default-features = false
64- features = [" rt-tokio" , " native-tls" ]
70+ [profile .dev ]
71+ lto = ' off'
6572
66- [workspace .package ]
67- version = " 1.0.0-alpha"
68- edition = " 2021"
69- homepage = " https://github.com/risingwavelabs/risingwave"
70- keywords = [" sql" , " database" , " streaming" ]
71- license = " Apache-2.0"
72- repository = " https://github.com/risingwavelabs/risingwave"
73+ [profile .release ]
74+ debug = 1 # line tables only
75+ lto = ' thin'
7376
7477[profile .bench ]
7578opt-level = 3
7679debug = false
7780codegen-units = 1
78- lto = " thin"
81+ lto = ' thin'
7982incremental = false
8083debug-assertions = false
8184overflow-checks = false
8285rpath = false
8386
87+ # The profile used for CI in main branch.
88+ # This profile inherits from the release profile, but turns on some checks and assertions for us to
89+ # better catch bugs in CI.
90+ [profile .ci-release ]
91+ inherits = " release"
92+ debug-assertions = true
93+ overflow-checks = true
94+
8495# The profile used for CI in pull requests.
8596# External dependencies are built with optimization enabled, while crates in this workspace are built
8697# with `dev` profile and full debug info. This is a trade-off between build time and e2e test time.
8798[profile .ci-dev ]
8899inherits = " dev"
89100incremental = false
90-
91- [profile .ci-dev .package ."*" ] # external dependencies
101+ [profile .ci-dev .package ."*" ] # external dependencies
92102opt-level = 1
93-
94- [profile .ci-dev .package .await-tree ]
103+ [profile .ci-dev .package ."tokio" ]
95104opt-level = 3
96-
97- [profile .ci-dev .package .indextree ]
105+ [profile .ci-dev .package ."await-tree" ]
98106opt-level = 3
99-
100- [profile .ci-dev .package .task_stats_alloc ]
107+ [profile .ci-dev .package ."indextree" ]
101108opt-level = 3
102-
103- [profile .ci-dev .package .tokio ]
109+ [profile .ci-dev .package ."task_stats_alloc" ]
104110opt-level = 3
105111
106- # The profile used for CI in main branch.
107- # This profile inherits from the release profile, but turns on some checks and assertions for us to
108- # better catch bugs in CI.
109- [profile .ci-release ]
110- inherits = " release"
111- debug-assertions = true
112- overflow-checks = true
113-
114112# The profile used for deterministic simulation tests in CI.
115113# The simulator can only run single-threaded, so optimization is required to make the running time
116114# reasonable. The optimization level is customized to speed up the build.
@@ -119,13 +117,6 @@ inherits = "dev"
119117opt-level = 2
120118incremental = false
121119
122- [profile .dev ]
123- lto = " off"
124-
125- [profile .release ]
126- debug = 1 # line tables only
127- lto = " thin"
128-
129120# Patch third-party crates for deterministic simulation.
130121[patch .crates-io ]
131122quanta = { git = " https://github.com/madsim-rs/quanta.git" , rev = " 948bdc3" }
0 commit comments