Skip to content

Commit

Permalink
store::{async,sync}->store::{store_async,store_sync}
Browse files Browse the repository at this point in the history
  • Loading branch information
LDeakin committed Dec 4, 2023
1 parent 14e68dd commit 4befd02
Show file tree
Hide file tree
Showing 13 changed files with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/storage/store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,32 +5,32 @@
//! See <https://zarr-specs.readthedocs.io/en/latest/v3/core/v3.0.html#id21>
#[cfg(feature = "async")]
mod r#async;
mod store_async;

mod sync;
mod store_sync;
// mod store_plugin;

#[cfg(feature = "async")]
pub use r#async::filesystem_store::AsyncFilesystemStore;
pub use store_async::filesystem_store::AsyncFilesystemStore;
#[cfg(feature = "async")]
pub use r#async::memory_store::AsyncMemoryStore;
pub use store_async::memory_store::AsyncMemoryStore;

pub use sync::filesystem_store::{FilesystemStore, FilesystemStoreCreateError};
pub use sync::memory_store::MemoryStore;
pub use store_sync::filesystem_store::{FilesystemStore, FilesystemStoreCreateError};
pub use store_sync::memory_store::MemoryStore;

#[cfg(all(feature = "async", feature = "http"))]
pub use r#async::http_store::AsyncHTTPStore;
pub use store_async::http_store::AsyncHTTPStore;
#[cfg(feature = "http")]
pub use sync::http_store::{HTTPStore, HTTPStoreCreateError};
pub use store_sync::http_store::{HTTPStore, HTTPStoreCreateError};

#[cfg(all(feature = "async", feature = "s3"))]
pub use r#async::amazon_s3_store::AsyncAmazonS3Store;
pub use store_async::amazon_s3_store::AsyncAmazonS3Store;

#[cfg(all(feature = "async", feature = "gcp"))]
pub use r#async::google_cloud_store::AsyncGoogleCloudStore;
pub use store_async::google_cloud_store::AsyncGoogleCloudStore;

#[cfg(all(feature = "async", feature = "azure"))]
pub use r#async::microsoft_azure_store::AsyncMicrosoftAzureStore;
pub use store_async::microsoft_azure_store::AsyncMicrosoftAzureStore;

// pub use store_plugin::{StorePlugin, StorePluginCreateError}; // Currently disabled.

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 4befd02

Please sign in to comment.