diff --git a/frontend/rust-lib/Cargo.lock b/frontend/rust-lib/Cargo.lock index 2ec1b6e3bd..b0eec95054 100755 --- a/frontend/rust-lib/Cargo.lock +++ b/frontend/rust-lib/Cargo.lock @@ -1038,6 +1038,10 @@ dependencies = [ "uuid", ] +[[package]] +name = "flowy-grid" +version = "0.1.0" + [[package]] name = "flowy-net" version = "0.1.0" diff --git a/frontend/rust-lib/Cargo.toml b/frontend/rust-lib/Cargo.toml index ea37363bcc..84dcec26be 100644 --- a/frontend/rust-lib/Cargo.toml +++ b/frontend/rust-lib/Cargo.toml @@ -14,6 +14,7 @@ members = [ "flowy-block", "flowy-error", "flowy-sync", + "flowy-grid", ] [profile.dev] diff --git a/frontend/rust-lib/flowy-grid/Cargo.toml b/frontend/rust-lib/flowy-grid/Cargo.toml new file mode 100644 index 0000000000..6043e37a69 --- /dev/null +++ b/frontend/rust-lib/flowy-grid/Cargo.toml @@ -0,0 +1,8 @@ +[package] +name = "flowy-grid" +version = "0.1.0" +edition = "2021" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] diff --git a/frontend/rust-lib/flowy-grid/src/lib.rs b/frontend/rust-lib/flowy-grid/src/lib.rs new file mode 100644 index 0000000000..1b4a90c938 --- /dev/null +++ b/frontend/rust-lib/flowy-grid/src/lib.rs @@ -0,0 +1,8 @@ +#[cfg(test)] +mod tests { + #[test] + fn it_works() { + let result = 2 + 2; + assert_eq!(result, 4); + } +} diff --git a/frontend/rust-lib/flowy-sdk/src/lib.rs b/frontend/rust-lib/flowy-sdk/src/lib.rs index 83a38111e7..a24c071943 100644 --- a/frontend/rust-lib/flowy-sdk/src/lib.rs +++ b/frontend/rust-lib/flowy-sdk/src/lib.rs @@ -77,6 +77,7 @@ fn crate_log_filter(level: String) -> String { filters.push(format!("flowy_database={}", "info")); filters.push(format!("flowy_net={}", "info")); filters.push(format!("flowy_sync={}", "info")); + filters.push(format!("flowy_sync={}", "info")); filters.join(",") }