mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
Extract protobuf structs from flowy-sync crate (#1425)
* refactor: extract data model from flowy-sync crate * chore: rename lib-infra features
This commit is contained in:
@ -45,8 +45,11 @@ proto_gen = [
|
||||
"phf",
|
||||
"walkdir",
|
||||
"console",
|
||||
"toml"
|
||||
"toml",
|
||||
"cmd_lib",
|
||||
"protoc-rust",
|
||||
"walkdir",
|
||||
"protoc-bin-vendored",
|
||||
]
|
||||
protobuf_file_gen = ["cmd_lib", "protoc-rust", "walkdir", "protoc-bin-vendored",]
|
||||
dart_event = ["walkdir", "flowy-ast", "tera", "syn"]
|
||||
dart = ["proto_gen", "dart_event"]
|
@ -1,13 +1,13 @@
|
||||
#[cfg(feature = "protobuf_file_gen")]
|
||||
#[cfg(feature = "proto_gen")]
|
||||
pub mod protobuf_file;
|
||||
|
||||
#[cfg(feature = "dart_event")]
|
||||
pub mod dart_event;
|
||||
|
||||
#[cfg(any(feature = "protobuf_file_gen", feature = "dart_event"))]
|
||||
#[cfg(any(feature = "proto_gen", feature = "dart_event"))]
|
||||
mod flowy_toml;
|
||||
|
||||
#[cfg(any(feature = "protobuf_file_gen", feature = "dart_event"))]
|
||||
#[cfg(any(feature = "proto_gen", feature = "dart_event"))]
|
||||
pub mod util;
|
||||
|
||||
#[derive(serde::Serialize, serde::Deserialize)]
|
||||
|
Reference in New Issue
Block a user