From 0fe3679635f86a76851c1bf4d3e6cd64dfcfe12b Mon Sep 17 00:00:00 2001 From: Xuanwo Date: Thu, 5 Dec 2024 20:12:08 +0800 Subject: [PATCH] Fix use Signed-off-by: Xuanwo --- core/src/services/aliyun_drive/mod.rs | 3 ++- core/src/services/alluxio/mod.rs | 3 ++- core/src/services/azblob/mod.rs | 4 ++-- core/src/services/azdls/mod.rs | 4 ++-- core/src/services/azfile/mod.rs | 3 ++- core/src/services/b2/mod.rs | 3 ++- core/src/services/chainsafe/mod.rs | 4 ++-- core/src/services/compfs/mod.rs | 4 ++-- core/src/services/cos/mod.rs | 3 ++- core/src/services/dbfs/mod.rs | 4 ++-- core/src/services/dropbox/mod.rs | 4 ++-- core/src/services/fs/mod.rs | 4 ++-- core/src/services/ftp/mod.rs | 4 ++-- core/src/services/gcs/mod.rs | 4 ++-- core/src/services/gdrive/mod.rs | 4 ++-- core/src/services/ghac/mod.rs | 4 ++-- core/src/services/github/mod.rs | 4 ++-- core/src/services/hdfs/mod.rs | 4 ++-- core/src/services/hdfs_native/mod.rs | 3 ++- core/src/services/ipmfs/mod.rs | 4 ++-- core/src/services/koofr/mod.rs | 4 ++-- core/src/services/lakefs/mod.rs | 6 ++---- core/src/services/monoiofs/mod.rs | 4 ++-- core/src/services/obs/mod.rs | 4 ++-- core/src/services/onedrive/mod.rs | 4 ++-- core/src/services/oss/mod.rs | 4 ++-- core/src/services/pcloud/mod.rs | 4 ++-- core/src/services/s3/mod.rs | 4 ++-- core/src/services/seafile/mod.rs | 4 ++-- core/src/services/sftp/mod.rs | 4 ++-- core/src/services/swift/mod.rs | 4 ++-- core/src/services/upyun/mod.rs | 4 ++-- core/src/services/webdav/mod.rs | 4 ++-- core/src/services/webhdfs/mod.rs | 4 ++-- core/src/services/yandex_disk/mod.rs | 4 ++-- 35 files changed, 70 insertions(+), 66 deletions(-) diff --git a/core/src/services/aliyun_drive/mod.rs b/core/src/services/aliyun_drive/mod.rs index df81a9ee63b2..19c725b423ce 100644 --- a/core/src/services/aliyun_drive/mod.rs +++ b/core/src/services/aliyun_drive/mod.rs @@ -21,6 +21,8 @@ mod core; #[cfg(feature = "services-aliyun-drive")] mod backend; #[cfg(feature = "services-aliyun-drive")] +mod delete; +#[cfg(feature = "services-aliyun-drive")] mod error; #[cfg(feature = "services-aliyun-drive")] mod lister; @@ -30,6 +32,5 @@ mod writer; pub use backend::AliyunDriveBuilder as AliyunDrive; mod config; -mod delete; pub use config::AliyunDriveConfig; diff --git a/core/src/services/alluxio/mod.rs b/core/src/services/alluxio/mod.rs index eac1b3544069..611a8a227e2e 100644 --- a/core/src/services/alluxio/mod.rs +++ b/core/src/services/alluxio/mod.rs @@ -18,6 +18,8 @@ #[cfg(feature = "services-alluxio")] mod core; #[cfg(feature = "services-alluxio")] +mod delete; +#[cfg(feature = "services-alluxio")] mod error; #[cfg(feature = "services-alluxio")] mod lister; @@ -30,6 +32,5 @@ mod backend; pub use backend::AlluxioBuilder as Alluxio; mod config; -mod delete; pub use config::AlluxioConfig; diff --git a/core/src/services/azblob/mod.rs b/core/src/services/azblob/mod.rs index c7853637990c..4b571a40f565 100644 --- a/core/src/services/azblob/mod.rs +++ b/core/src/services/azblob/mod.rs @@ -18,6 +18,8 @@ #[cfg(feature = "services-azblob")] mod core; #[cfg(feature = "services-azblob")] +mod delete; +#[cfg(feature = "services-azblob")] mod error; #[cfg(feature = "services-azblob")] mod lister; @@ -30,6 +32,4 @@ mod backend; pub use backend::AzblobBuilder as Azblob; mod config; -mod delete; - pub use config::AzblobConfig; diff --git a/core/src/services/azdls/mod.rs b/core/src/services/azdls/mod.rs index 788aa2351582..7b981f5ee7ba 100644 --- a/core/src/services/azdls/mod.rs +++ b/core/src/services/azdls/mod.rs @@ -18,6 +18,8 @@ #[cfg(feature = "services-azdls")] mod core; #[cfg(feature = "services-azdls")] +mod delete; +#[cfg(feature = "services-azdls")] mod error; #[cfg(feature = "services-azdls")] mod lister; @@ -30,6 +32,4 @@ mod backend; pub use backend::AzdlsBuilder as Azdls; mod config; -mod delete; - pub use config::AzdlsConfig; diff --git a/core/src/services/azfile/mod.rs b/core/src/services/azfile/mod.rs index 23959b44dfdc..38c9ba0419d3 100644 --- a/core/src/services/azfile/mod.rs +++ b/core/src/services/azfile/mod.rs @@ -18,6 +18,8 @@ #[cfg(feature = "services-azfile")] mod core; #[cfg(feature = "services-azfile")] +mod delete; +#[cfg(feature = "services-azfile")] mod error; #[cfg(feature = "services-azfile")] mod lister; @@ -30,6 +32,5 @@ mod backend; pub use backend::AzfileBuilder as Azfile; mod config; -mod delete; pub use config::AzfileConfig; diff --git a/core/src/services/b2/mod.rs b/core/src/services/b2/mod.rs index 034e4be29724..5193f960c72e 100644 --- a/core/src/services/b2/mod.rs +++ b/core/src/services/b2/mod.rs @@ -18,6 +18,8 @@ #[cfg(feature = "services-b2")] mod core; #[cfg(feature = "services-b2")] +mod delete; +#[cfg(feature = "services-b2")] mod error; #[cfg(feature = "services-b2")] mod lister; @@ -30,6 +32,5 @@ mod backend; pub use backend::B2Builder as B2; mod config; -mod delete; pub use config::B2Config; diff --git a/core/src/services/chainsafe/mod.rs b/core/src/services/chainsafe/mod.rs index fc2c49c2d2cb..fa455cb38344 100644 --- a/core/src/services/chainsafe/mod.rs +++ b/core/src/services/chainsafe/mod.rs @@ -18,6 +18,8 @@ #[cfg(feature = "services-chainsafe")] mod core; #[cfg(feature = "services-chainsafe")] +mod delete; +#[cfg(feature = "services-chainsafe")] mod error; #[cfg(feature = "services-chainsafe")] mod lister; @@ -30,6 +32,4 @@ mod backend; pub use backend::ChainsafeBuilder as Chainsafe; mod config; -mod delete; - pub use config::ChainsafeConfig; diff --git a/core/src/services/compfs/mod.rs b/core/src/services/compfs/mod.rs index 23281e8f5ad2..53b7f746f1e9 100644 --- a/core/src/services/compfs/mod.rs +++ b/core/src/services/compfs/mod.rs @@ -18,6 +18,8 @@ #[cfg(feature = "services-compfs")] mod core; #[cfg(feature = "services-compfs")] +mod delete; +#[cfg(feature = "services-compfs")] mod lister; #[cfg(feature = "services-compfs")] mod reader; @@ -30,6 +32,4 @@ mod backend; pub use backend::CompfsBuilder as Compfs; mod config; -mod delete; - pub use config::CompfsConfig; diff --git a/core/src/services/cos/mod.rs b/core/src/services/cos/mod.rs index f6b41301505f..7aff3973824d 100644 --- a/core/src/services/cos/mod.rs +++ b/core/src/services/cos/mod.rs @@ -18,6 +18,8 @@ #[cfg(feature = "services-cos")] mod core; #[cfg(feature = "services-cos")] +mod delete; +#[cfg(feature = "services-cos")] mod error; #[cfg(feature = "services-cos")] mod lister; @@ -30,6 +32,5 @@ mod backend; pub use backend::CosBuilder as Cos; mod config; -mod delete; pub use config::CosConfig; diff --git a/core/src/services/dbfs/mod.rs b/core/src/services/dbfs/mod.rs index 1a7b559b5367..b2b1a470bf8e 100644 --- a/core/src/services/dbfs/mod.rs +++ b/core/src/services/dbfs/mod.rs @@ -18,6 +18,8 @@ #[cfg(feature = "services-dbfs")] mod core; #[cfg(feature = "services-dbfs")] +mod delete; +#[cfg(feature = "services-dbfs")] mod error; #[cfg(feature = "services-dbfs")] mod lister; @@ -30,6 +32,4 @@ mod backend; pub use backend::DbfsBuilder as Dbfs; mod config; -mod delete; - pub use config::DbfsConfig; diff --git a/core/src/services/dropbox/mod.rs b/core/src/services/dropbox/mod.rs index 1d68862a2e4e..682a93074442 100644 --- a/core/src/services/dropbox/mod.rs +++ b/core/src/services/dropbox/mod.rs @@ -20,6 +20,8 @@ mod backend; #[cfg(feature = "services-dropbox")] mod core; #[cfg(feature = "services-dropbox")] +mod delete; +#[cfg(feature = "services-dropbox")] mod error; #[cfg(feature = "services-dropbox")] mod lister; @@ -32,6 +34,4 @@ mod builder; pub use builder::DropboxBuilder as Dropbox; mod config; -mod delete; - pub use config::DropboxConfig; diff --git a/core/src/services/fs/mod.rs b/core/src/services/fs/mod.rs index e34b43426640..caf858386391 100644 --- a/core/src/services/fs/mod.rs +++ b/core/src/services/fs/mod.rs @@ -18,6 +18,8 @@ #[cfg(feature = "services-fs")] mod core; #[cfg(feature = "services-fs")] +mod delete; +#[cfg(feature = "services-fs")] mod lister; #[cfg(feature = "services-fs")] mod reader; @@ -30,6 +32,4 @@ mod backend; pub use backend::FsBuilder as Fs; mod config; -mod delete; - pub use config::FsConfig; diff --git a/core/src/services/ftp/mod.rs b/core/src/services/ftp/mod.rs index 07e0533e4330..a6776710f492 100644 --- a/core/src/services/ftp/mod.rs +++ b/core/src/services/ftp/mod.rs @@ -15,6 +15,8 @@ // specific language governing permissions and limitations // under the License. +#[cfg(feature = "services-ftp")] +mod delete; #[cfg(feature = "services-ftp")] mod err; #[cfg(feature = "services-ftp")] @@ -30,6 +32,4 @@ mod backend; pub use backend::FtpBuilder as Ftp; mod config; -mod delete; - pub use config::FtpConfig; diff --git a/core/src/services/gcs/mod.rs b/core/src/services/gcs/mod.rs index 2baa302829b7..d0372f8d7f6d 100644 --- a/core/src/services/gcs/mod.rs +++ b/core/src/services/gcs/mod.rs @@ -18,6 +18,8 @@ #[cfg(feature = "services-gcs")] mod core; #[cfg(feature = "services-gcs")] +mod delete; +#[cfg(feature = "services-gcs")] mod error; #[cfg(feature = "services-gcs")] mod lister; @@ -32,6 +34,4 @@ mod backend; pub use backend::GcsBuilder as Gcs; mod config; -mod delete; - pub use config::GcsConfig; diff --git a/core/src/services/gdrive/mod.rs b/core/src/services/gdrive/mod.rs index 4bb9c5ee6045..4b6ce70fa24c 100644 --- a/core/src/services/gdrive/mod.rs +++ b/core/src/services/gdrive/mod.rs @@ -20,6 +20,8 @@ mod backend; #[cfg(feature = "services-gdrive")] mod core; #[cfg(feature = "services-gdrive")] +mod delete; +#[cfg(feature = "services-gdrive")] mod error; #[cfg(feature = "services-gdrive")] mod lister; @@ -32,6 +34,4 @@ mod builder; pub use builder::GdriveBuilder as Gdrive; mod config; -mod delete; - pub use config::GdriveConfig; diff --git a/core/src/services/ghac/mod.rs b/core/src/services/ghac/mod.rs index 6867d4a43142..6b9712a81f29 100644 --- a/core/src/services/ghac/mod.rs +++ b/core/src/services/ghac/mod.rs @@ -15,6 +15,8 @@ // specific language governing permissions and limitations // under the License. +#[cfg(feature = "services-ghac")] +mod delete; #[cfg(feature = "services-ghac")] mod error; #[cfg(feature = "services-ghac")] @@ -26,6 +28,4 @@ mod backend; pub use backend::GhacBuilder as Ghac; mod config; -mod delete; - pub use config::GhacConfig; diff --git a/core/src/services/github/mod.rs b/core/src/services/github/mod.rs index e0ebc8e89299..d0ae3eda94ec 100644 --- a/core/src/services/github/mod.rs +++ b/core/src/services/github/mod.rs @@ -18,6 +18,8 @@ #[cfg(feature = "services-github")] mod core; #[cfg(feature = "services-github")] +mod delete; +#[cfg(feature = "services-github")] mod error; #[cfg(feature = "services-github")] mod lister; @@ -30,6 +32,4 @@ mod backend; pub use backend::GithubBuilder as Github; mod config; -mod delete; - pub use config::GithubConfig; diff --git a/core/src/services/hdfs/mod.rs b/core/src/services/hdfs/mod.rs index c04c8bbc3f37..e93e2776cbf7 100644 --- a/core/src/services/hdfs/mod.rs +++ b/core/src/services/hdfs/mod.rs @@ -15,6 +15,8 @@ // specific language governing permissions and limitations // under the License. +#[cfg(feature = "services-hdfs")] +mod delete; #[cfg(feature = "services-hdfs")] mod lister; #[cfg(feature = "services-hdfs")] @@ -28,6 +30,4 @@ mod backend; pub use backend::HdfsBuilder as Hdfs; mod config; -mod delete; - pub use config::HdfsConfig; diff --git a/core/src/services/hdfs_native/mod.rs b/core/src/services/hdfs_native/mod.rs index 75c9fbfe1f50..071f45dfb949 100644 --- a/core/src/services/hdfs_native/mod.rs +++ b/core/src/services/hdfs_native/mod.rs @@ -15,6 +15,8 @@ // specific language governing permissions and limitations // under the License. +#[cfg(feature = "services-hdfs-native")] +mod delete; #[cfg(feature = "services-hdfs-native")] mod error; #[cfg(feature = "services-hdfs-native")] @@ -30,6 +32,5 @@ mod backend; pub use backend::HdfsNativeBuilder as HdfsNative; mod config; -mod delete; pub use config::HdfsNativeConfig; diff --git a/core/src/services/ipmfs/mod.rs b/core/src/services/ipmfs/mod.rs index 8cae671ccdd7..4b6e9a5bc828 100644 --- a/core/src/services/ipmfs/mod.rs +++ b/core/src/services/ipmfs/mod.rs @@ -18,6 +18,8 @@ #[cfg(feature = "services-ipmfs")] mod backend; #[cfg(feature = "services-ipmfs")] +mod delete; +#[cfg(feature = "services-ipmfs")] mod error; #[cfg(feature = "services-ipmfs")] mod lister; @@ -30,6 +32,4 @@ mod builder; pub use builder::IpmfsBuilder as Ipmfs; mod config; -mod delete; - pub use config::IpmfsConfig; diff --git a/core/src/services/koofr/mod.rs b/core/src/services/koofr/mod.rs index 36c0b496089c..255d6ff72aa9 100644 --- a/core/src/services/koofr/mod.rs +++ b/core/src/services/koofr/mod.rs @@ -18,6 +18,8 @@ #[cfg(feature = "services-koofr")] mod core; #[cfg(feature = "services-koofr")] +mod delete; +#[cfg(feature = "services-koofr")] mod error; #[cfg(feature = "services-koofr")] mod lister; @@ -30,6 +32,4 @@ mod backend; pub use backend::KoofrBuilder as Koofr; mod config; -mod delete; - pub use config::KoofrConfig; diff --git a/core/src/services/lakefs/mod.rs b/core/src/services/lakefs/mod.rs index 4886ce41cf76..01d161d46fd8 100644 --- a/core/src/services/lakefs/mod.rs +++ b/core/src/services/lakefs/mod.rs @@ -18,11 +18,11 @@ #[cfg(feature = "services-lakefs")] mod core; #[cfg(feature = "services-lakefs")] +mod delete; +#[cfg(feature = "services-lakefs")] mod error; - #[cfg(feature = "services-lakefs")] mod lister; - #[cfg(feature = "services-lakefs")] mod writer; @@ -32,6 +32,4 @@ mod backend; pub use backend::LakefsBuilder as Lakefs; mod config; -mod delete; - pub use config::LakefsConfig; diff --git a/core/src/services/monoiofs/mod.rs b/core/src/services/monoiofs/mod.rs index 7b6dd5969a96..e1695488142d 100644 --- a/core/src/services/monoiofs/mod.rs +++ b/core/src/services/monoiofs/mod.rs @@ -18,6 +18,8 @@ #[cfg(feature = "services-monoiofs")] mod core; #[cfg(feature = "services-monoiofs")] +mod delete; +#[cfg(feature = "services-monoiofs")] mod reader; #[cfg(feature = "services-monoiofs")] mod writer; @@ -28,6 +30,4 @@ mod backend; pub use backend::MonoiofsBuilder as Monoiofs; mod config; -mod delete; - pub use config::MonoiofsConfig; diff --git a/core/src/services/obs/mod.rs b/core/src/services/obs/mod.rs index 98cb28a4130e..3427da280148 100644 --- a/core/src/services/obs/mod.rs +++ b/core/src/services/obs/mod.rs @@ -18,6 +18,8 @@ #[cfg(feature = "services-obs")] mod core; #[cfg(feature = "services-obs")] +mod delete; +#[cfg(feature = "services-obs")] mod error; #[cfg(feature = "services-obs")] mod lister; @@ -30,6 +32,4 @@ mod backend; pub use backend::ObsBuilder as Obs; mod config; -mod delete; - pub use config::ObsConfig; diff --git a/core/src/services/onedrive/mod.rs b/core/src/services/onedrive/mod.rs index cddaf0872ad7..cbe3a7ce0612 100644 --- a/core/src/services/onedrive/mod.rs +++ b/core/src/services/onedrive/mod.rs @@ -18,6 +18,8 @@ #[cfg(feature = "services-onedrive")] mod backend; #[cfg(feature = "services-onedrive")] +mod delete; +#[cfg(feature = "services-onedrive")] mod error; #[cfg(feature = "services-onedrive")] mod graph_model; @@ -32,6 +34,4 @@ mod builder; pub use builder::OnedriveBuilder as Onedrive; mod config; -mod delete; - pub use config::OnedriveConfig; diff --git a/core/src/services/oss/mod.rs b/core/src/services/oss/mod.rs index 62fa41dd0c13..19b280e7b4ec 100644 --- a/core/src/services/oss/mod.rs +++ b/core/src/services/oss/mod.rs @@ -18,6 +18,8 @@ #[cfg(feature = "services-oss")] mod core; #[cfg(feature = "services-oss")] +mod delete; +#[cfg(feature = "services-oss")] mod error; #[cfg(feature = "services-oss")] mod lister; @@ -30,6 +32,4 @@ mod backend; pub use backend::OssBuilder as Oss; mod config; -mod delete; - pub use config::OssConfig; diff --git a/core/src/services/pcloud/mod.rs b/core/src/services/pcloud/mod.rs index 336f489d9b60..f42bdc162f1e 100644 --- a/core/src/services/pcloud/mod.rs +++ b/core/src/services/pcloud/mod.rs @@ -18,6 +18,8 @@ #[cfg(feature = "services-pcloud")] mod core; #[cfg(feature = "services-pcloud")] +mod delete; +#[cfg(feature = "services-pcloud")] mod error; #[cfg(feature = "services-pcloud")] mod lister; @@ -30,6 +32,4 @@ mod backend; pub use backend::PcloudBuilder as Pcloud; mod config; -mod delete; - pub use config::PcloudConfig; diff --git a/core/src/services/s3/mod.rs b/core/src/services/s3/mod.rs index 2e13b4e3a022..587a171e6d32 100644 --- a/core/src/services/s3/mod.rs +++ b/core/src/services/s3/mod.rs @@ -18,6 +18,8 @@ #[cfg(feature = "services-s3")] mod core; #[cfg(feature = "services-s3")] +mod delete; +#[cfg(feature = "services-s3")] mod error; #[cfg(feature = "services-s3")] mod lister; @@ -30,6 +32,4 @@ mod backend; pub use backend::S3Builder as S3; mod config; -mod delete; - pub use config::S3Config; diff --git a/core/src/services/seafile/mod.rs b/core/src/services/seafile/mod.rs index 74351cdcad4a..56c44acdd438 100644 --- a/core/src/services/seafile/mod.rs +++ b/core/src/services/seafile/mod.rs @@ -18,6 +18,8 @@ #[cfg(feature = "services-seafile")] mod core; #[cfg(feature = "services-seafile")] +mod delete; +#[cfg(feature = "services-seafile")] mod error; #[cfg(feature = "services-seafile")] mod lister; @@ -30,6 +32,4 @@ mod backend; pub use backend::SeafileBuilder as Seafile; mod config; -mod delete; - pub use config::SeafileConfig; diff --git a/core/src/services/sftp/mod.rs b/core/src/services/sftp/mod.rs index de63e0f3d614..52451fd205b7 100644 --- a/core/src/services/sftp/mod.rs +++ b/core/src/services/sftp/mod.rs @@ -15,6 +15,8 @@ // specific language governing permissions and limitations // under the License. +#[cfg(feature = "services-sftp")] +mod delete; #[cfg(feature = "services-sftp")] mod error; #[cfg(feature = "services-sftp")] @@ -32,6 +34,4 @@ mod backend; pub use backend::SftpBuilder as Sftp; mod config; -mod delete; - pub use config::SftpConfig; diff --git a/core/src/services/swift/mod.rs b/core/src/services/swift/mod.rs index 698c1412985f..244d8f915c68 100644 --- a/core/src/services/swift/mod.rs +++ b/core/src/services/swift/mod.rs @@ -18,6 +18,8 @@ #[cfg(feature = "services-swift")] mod core; #[cfg(feature = "services-swift")] +mod delete; +#[cfg(feature = "services-swift")] mod error; #[cfg(feature = "services-swift")] mod lister; @@ -30,6 +32,4 @@ mod backend; pub use backend::SwiftBuilder as Swift; mod config; -mod delete; - pub use config::SwiftConfig; diff --git a/core/src/services/upyun/mod.rs b/core/src/services/upyun/mod.rs index 94840b7b13a2..694faf301ca0 100644 --- a/core/src/services/upyun/mod.rs +++ b/core/src/services/upyun/mod.rs @@ -18,6 +18,8 @@ #[cfg(feature = "services-upyun")] mod core; #[cfg(feature = "services-upyun")] +mod delete; +#[cfg(feature = "services-upyun")] mod error; #[cfg(feature = "services-upyun")] mod lister; @@ -30,6 +32,4 @@ mod backend; pub use backend::UpyunBuilder as Upyun; mod config; -mod delete; - pub use config::UpyunConfig; diff --git a/core/src/services/webdav/mod.rs b/core/src/services/webdav/mod.rs index 9661d6d31c14..ae95bc94fd9e 100644 --- a/core/src/services/webdav/mod.rs +++ b/core/src/services/webdav/mod.rs @@ -18,6 +18,8 @@ #[cfg(feature = "services-webdav")] mod core; #[cfg(feature = "services-webdav")] +mod delete; +#[cfg(feature = "services-webdav")] mod error; #[cfg(feature = "services-webdav")] mod lister; @@ -30,6 +32,4 @@ mod backend; pub use backend::WebdavBuilder as Webdav; mod config; -mod delete; - pub use config::WebdavConfig; diff --git a/core/src/services/webhdfs/mod.rs b/core/src/services/webhdfs/mod.rs index 9722eb43829f..87585cce7c83 100644 --- a/core/src/services/webhdfs/mod.rs +++ b/core/src/services/webhdfs/mod.rs @@ -15,6 +15,8 @@ // specific language governing permissions and limitations // under the License. +#[cfg(feature = "services-webhdfs")] +mod delete; #[cfg(feature = "services-webhdfs")] mod error; #[cfg(feature = "services-webhdfs")] @@ -30,6 +32,4 @@ mod backend; pub use backend::WebhdfsBuilder as Webhdfs; mod config; -mod delete; - pub use config::WebhdfsConfig; diff --git a/core/src/services/yandex_disk/mod.rs b/core/src/services/yandex_disk/mod.rs index 4a226fe34775..f643bb7223e0 100644 --- a/core/src/services/yandex_disk/mod.rs +++ b/core/src/services/yandex_disk/mod.rs @@ -18,6 +18,8 @@ #[cfg(feature = "services-yandex-disk")] mod core; #[cfg(feature = "services-yandex-disk")] +mod delete; +#[cfg(feature = "services-yandex-disk")] mod error; #[cfg(feature = "services-yandex-disk")] mod lister; @@ -30,6 +32,4 @@ mod backend; pub use backend::YandexDiskBuilder as YandexDisk; mod config; -mod delete; - pub use config::YandexDiskConfig;