2021-06-24 08:32:36 +00:00
|
|
|
|
[workspace]
|
|
|
|
|
members = [
|
2021-11-19 06:38:11 +00:00
|
|
|
|
"lib-dispatch",
|
2021-11-20 02:52:39 +00:00
|
|
|
|
"lib-log",
|
2021-12-12 13:48:52 +00:00
|
|
|
|
"flowy-net",
|
2023-01-08 04:10:53 +00:00
|
|
|
|
"flowy-core",
|
2021-06-28 14:56:15 +00:00
|
|
|
|
"dart-ffi",
|
2021-06-29 08:52:29 +00:00
|
|
|
|
"flowy-user",
|
2021-07-06 06:14:47 +00:00
|
|
|
|
"flowy-test",
|
2023-01-31 00:28:31 +00:00
|
|
|
|
"flowy-sqlite",
|
2023-04-04 00:41:16 +00:00
|
|
|
|
"flowy-folder2",
|
2023-01-26 07:40:23 +00:00
|
|
|
|
"flowy-notification",
|
2023-04-13 10:53:51 +00:00
|
|
|
|
"flowy-document2",
|
2021-12-14 07:31:44 +00:00
|
|
|
|
"flowy-error",
|
2023-04-28 06:08:53 +00:00
|
|
|
|
"flowy-database2",
|
2022-11-13 14:23:57 +00:00
|
|
|
|
"flowy-task",
|
2023-05-21 10:53:59 +00:00
|
|
|
|
"flowy-server",
|
2023-05-17 08:33:44 +00:00
|
|
|
|
"flowy-config",
|
2021-06-24 08:32:36 +00:00
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
[profile.dev]
|
2022-03-19 08:23:34 +00:00
|
|
|
|
opt-level = 0
|
|
|
|
|
#https://doc.rust-lang.org/rustc/codegen-options/index.html#debug-assertions
|
2022-11-26 13:28:08 +00:00
|
|
|
|
#split-debuginfo = "unpacked"
|
2022-03-19 08:23:34 +00:00
|
|
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
|
opt-level = 3
|
|
|
|
|
## debuginfo — it makes ./target much bigger, which again harms caching. Depending on your preferred workflow,
|
|
|
|
|
## you might consider disabling debuginfo unconditionally, this brings some benefits for local builds as well.
|
|
|
|
|
#strip = "debuginfo"
|
|
|
|
|
## For from-scratch builds, incremental adds an extra dependency-tracking overhead. It also significantly increases
|
|
|
|
|
## the amount of IO and the size of ./target, which make caching less effective.
|
2023-04-04 00:41:16 +00:00
|
|
|
|
incremental = false
|
|
|
|
|
|
|
|
|
|
[patch.crates-io]
|
2023-06-20 15:48:34 +00:00
|
|
|
|
collab = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "06e942" }
|
|
|
|
|
collab-folder = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "06e942" }
|
|
|
|
|
collab-document = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "06e942" }
|
|
|
|
|
collab-database = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "06e942" }
|
|
|
|
|
appflowy-integrate = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "06e942" }
|
2023-04-13 10:53:51 +00:00
|
|
|
|
|
2023-04-28 06:08:53 +00:00
|
|
|
|
#collab = { path = "../AppFlowy-Collab/collab" }
|
|
|
|
|
#collab-folder = { path = "../AppFlowy-Collab/collab-folder" }
|
|
|
|
|
#collab-database= { path = "../AppFlowy-Collab/collab-database" }
|
|
|
|
|
#collab-document = { path = "../AppFlowy-Collab/collab-document" }
|
2023-05-15 14:16:05 +00:00
|
|
|
|
#appflowy-integrate = { path = "../AppFlowy-Collab/appflowy-integrate" }
|
|
|
|
|
|