Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
ci: cargo test without default features
appflowy68dfde4cf86e
diff --git a/.github/workflows/dart_lint.yml b/.github/workflows/dart_lint.ymlindex c800436c27..83a2c1a97b 100644--- a/.github/workflows/dart_lint.yml+++ b/.github/workflows/dart_lint.yml@@ -25,10 +25,12 @@ jobs:- uses: subosito/flutter-action@v1with:channel: "stable"+ - name: Flutter pub get+ run: flutter pub get+ working-directory: frontend/app_flowy- name: Generate language filesworking-directory: frontend/app_flowyrun:- flutter pub getflutter pub run easy_localization:generate -S assets/translations/flutter pub run easy_localization:generate -f keys -o locale_keys.g.dart -S assets/translations -s en.json- name: flutter analyzediff --git a/.github/workflows/rust_test.yml b/.github/workflows/rust_test.ymlindex 9fb883565e..d4863c170b 100644--- a/.github/workflows/rust_test.yml+++ b/.github/workflows/rust_test.yml@@ -37,8 +37,8 @@ jobs:echo PATH="$PATH":"$HOME/.pub-cache/bin" >> $GITHUB_PATHworking-directory: frontend- name: RustLib tests- run: cargo test+ run: cargo test --no-default-featuresworking-directory: frontend/rust-lib- name: Sharedlib tests- run: cargo test+ run: cargo test --no-default-featuresworking-directory: shared-libdiff --git a/frontend/rust-lib/dart-ffi/Cargo.toml b/frontend/rust-lib/dart-ffi/Cargo.tomlindex 9d733b13e5..7bbd53f824 100644--- a/frontend/rust-lib/dart-ffi/Cargo.toml+++ b/frontend/rust-lib/dart-ffi/Cargo.toml@@ -24,11 +24,12 @@ bytes = { version = "1.0" }once_cell = "1"lib-dispatch = {path = "../lib-dispatch" }-flowy-sdk = {path = "../flowy-sdk", features = ["dart"]}+flowy-sdk = {path = "../flowy-sdk"}dart-notify = {path = "../dart-notify" }flowy-derive = {path = "../../../shared-lib/flowy-derive" }[features]+default = ["flowy-sdk/dart"]flutter = ["dart-notify/dart"]http_server = ["flowy-sdk/http_server", "flowy-sdk/use_bunyan"]#use_serde = ["bincode"]diff --git a/frontend/rust-lib/flowy-folder/src/protobuf/proto/dart_notification.proto b/frontend/rust-lib/flowy-folder/src/protobuf/proto/dart_notification.protoindex 7a87552f7d..edb92f4ac4 100644--- a/frontend/rust-lib/flowy-folder/src/protobuf/proto/dart_notification.proto+++ b/frontend/rust-lib/flowy-folder/src/protobuf/proto/dart_notification.proto@@ -1,5 +1,4 @@syntax = "proto3";-enum FolderNotification {Unknown = 0;UserCreateWorkspace = 10;diff --git a/frontend/rust-lib/flowy-folder/src/protobuf/proto/event_map.proto b/frontend/rust-lib/flowy-folder/src/protobuf/proto/event_map.protoindex 56d4fecd2d..032d6c4e05 100644--- a/frontend/rust-lib/flowy-folder/src/protobuf/proto/event_map.proto+++ b/frontend/rust-lib/flowy-folder/src/protobuf/proto/event_map.proto@@ -1,5 +1,4 @@syntax = "proto3";-enum FolderEvent {CreateWorkspace = 0;ReadCurWorkspace = 1;