AppFlowy/frontend/rust-lib/Cargo.toml

48 lines
1.7 KiB
TOML
Raw Normal View History

2021-06-24 08:32:36 +00:00
[workspace]
members = [
"lib-dispatch",
2021-11-20 02:52:39 +00:00
"lib-log",
2021-12-12 13:48:52 +00:00
"flowy-net",
"flowy-core",
"dart-ffi",
"flowy-user",
2021-07-06 06:14:47 +00:00
"flowy-test",
"flowy-sqlite",
"flowy-folder2",
"flowy-notification",
"flowy-document2",
2021-12-14 07:31:44 +00:00
"flowy-error",
"flowy-database2",
"flowy-task",
"flowy-server",
"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
#split-debuginfo = "unpacked"
2022-03-19 08:23:34 +00:00
[profile.release]
opt-level = 3
## debuginfoit 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.
incremental = false
[patch.crates-io]
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" }
#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" }
#appflowy-integrate = { path = "../AppFlowy-Collab/appflowy-integrate" }