mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
chore: remove unused features (#5196)
* chore: remove unused features * chore: update logs
This commit is contained in:
@ -52,11 +52,9 @@ sysinfo = "0.30.5"
|
||||
semver = "1.0.22"
|
||||
|
||||
[features]
|
||||
default = ["rev-sqlite"]
|
||||
profiling = ["console-subscriber", "tokio/tracing"]
|
||||
http_sync = []
|
||||
native_sync = []
|
||||
use_bunyan = ["lib-log/use_bunyan"]
|
||||
dart = [
|
||||
"flowy-user/dart",
|
||||
"flowy-date/dart",
|
||||
@ -71,7 +69,6 @@ ts = [
|
||||
"flowy-database2/ts",
|
||||
"flowy-config/tauri_ts",
|
||||
]
|
||||
rev-sqlite = ["flowy-user/rev-sqlite"]
|
||||
openssl_vendored = ["flowy-sqlite/openssl_vendored"]
|
||||
|
||||
# Enable/Disable AppFlowy Verbose Log Configuration
|
||||
|
@ -9,7 +9,7 @@ use collab::preclude::CollabPlugin;
|
||||
use collab_entity::CollabType;
|
||||
use collab_plugins::cloud_storage::postgres::SupabaseDBPlugin;
|
||||
use tokio_stream::wrappers::WatchStream;
|
||||
use tracing::{debug, instrument};
|
||||
use tracing::debug;
|
||||
|
||||
use collab_integrate::collab_builder::{
|
||||
CollabCloudPluginProvider, CollabPluginProviderContext, CollabPluginProviderType,
|
||||
@ -325,7 +325,6 @@ impl CollabCloudPluginProvider for ServerProvider {
|
||||
self.get_server_type().into()
|
||||
}
|
||||
|
||||
#[instrument(level = "debug", skip(self, context), fields(server_type = %self.get_server_type()))]
|
||||
fn get_plugins(&self, context: CollabPluginProviderContext) -> Vec<Box<dyn CollabPlugin>> {
|
||||
// If the user is local, we don't need to create a sync plugin.
|
||||
if self.get_server_type().is_local() {
|
||||
|
Reference in New Issue
Block a user