mirror of
https://github.com/stalwartlabs/mail-server.git
synced 2025-09-13 15:34:15 +08:00
fix(jmap): allow compilation without enterprise feature (#837)
This commit is contained in:
parent
581533b09c
commit
a1ca7fa849
3 changed files with 7 additions and 2 deletions
|
@ -34,8 +34,10 @@ use jmap_proto::{
|
|||
use std::future::Future;
|
||||
use trc::SecurityEvent;
|
||||
|
||||
#[cfg(feature = "enterprise")]
|
||||
use crate::api::management::enterprise::telemetry::TelemetryApi;
|
||||
|
||||
use crate::{
|
||||
api::management::enterprise::telemetry::TelemetryApi,
|
||||
auth::{
|
||||
authenticate::{Authenticator, HttpHeaders},
|
||||
oauth::{
|
||||
|
|
|
@ -23,6 +23,7 @@ use common::{auth::AccessToken, Server};
|
|||
use directory::{backend::internal::manage, Permission};
|
||||
use dkim::DkimManagement;
|
||||
use dns::DnsManagement;
|
||||
#[cfg(feature = "enterprise")]
|
||||
use enterprise::telemetry::TelemetryApi;
|
||||
use hyper::Method;
|
||||
use log::LogManagement;
|
||||
|
|
|
@ -27,7 +27,9 @@ use crate::{
|
|||
services::index::Indexer,
|
||||
};
|
||||
|
||||
use super::{decode_path_element, enterprise::undelete::UndeleteApi};
|
||||
use super::decode_path_element;
|
||||
#[cfg(feature = "enterprise")]
|
||||
use super::enterprise::undelete::UndeleteApi;
|
||||
use std::future::Future;
|
||||
|
||||
pub trait ManageStore: Sync + Send {
|
||||
|
|
Loading…
Add table
Reference in a new issue