AppFlowy/frontend/rust-lib/Cargo.toml

56 lines
2.0 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-folder",r
"flowy-folder2",
"flowy-notification",
"flowy-document2",
2022-10-13 15:29:37 +00:00
"flowy-document",
2021-12-14 07:31:44 +00:00
"flowy-error",
2022-03-19 08:52:28 +00:00
"flowy-revision",
"flowy-revision-persistence",
# "flowy-database",
"flowy-database2",
"flowy-task",
2023-01-30 03:11:19 +00:00
"flowy-client-sync",
"flowy-derive",
"flowy-ast",
"flowy-codegen",
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 = "f66084" }
collab-folder = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "f66084" }
collab-persistence = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "f66084" }
collab-document = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "f66084" }
collab-database = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "f66084" }
collab-plugins = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "f66084" }
collab-sync= { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "f66084" }
#collab = { path = "../AppFlowy-Collab/collab" }
#collab-folder = { path = "../AppFlowy-Collab/collab-folder" }
#collab-database= { path = "../AppFlowy-Collab/collab-database" }
#collab-persistence = { path = "../AppFlowy-Collab/collab-persistence" }
#collab-document = { path = "../AppFlowy-Collab/collab-document" }