mirror of
https://github.com/rustfs/rustfs.git
synced 2026-07-27 16:48:58 +00:00
b7964081ce
* Initial plan * Add KMS configuration persistence to cluster storage Co-authored-by: houseme <4829346+houseme@users.noreply.github.com> * Apply code formatting to KMS configuration changes Co-authored-by: houseme <4829346+houseme@users.noreply.github.com> * add comment * fix fmt * fix * Fix overlapping dependabot cargo configurations Co-authored-by: houseme <4829346+houseme@users.noreply.github.com> * improve code for comment and replace `Once_Cell` to `std::sync::OnceLock` --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: houseme <4829346+houseme@users.noreply.github.com> Co-authored-by: houseme <housemecn@gmail.com> Co-authored-by: loverustfs <155562731+loverustfs@users.noreply.github.com>
87 lines
1.6 KiB
Rust
87 lines
1.6 KiB
Rust
// Copyright 2024 RustFS Team
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
|
|
#[cfg(feature = "tls")]
|
|
pub mod certs;
|
|
#[cfg(feature = "ip")]
|
|
pub mod ip;
|
|
#[cfg(feature = "net")]
|
|
pub mod net;
|
|
|
|
#[cfg(feature = "http")]
|
|
pub mod http;
|
|
|
|
#[cfg(feature = "net")]
|
|
pub use net::*;
|
|
|
|
#[cfg(all(feature = "net", feature = "io"))]
|
|
pub mod retry;
|
|
|
|
#[cfg(feature = "io")]
|
|
pub mod io;
|
|
|
|
#[cfg(feature = "hash")]
|
|
pub mod hash;
|
|
|
|
#[cfg(feature = "os")]
|
|
pub mod os;
|
|
|
|
#[cfg(feature = "path")]
|
|
pub mod path;
|
|
|
|
#[cfg(feature = "string")]
|
|
pub mod string;
|
|
|
|
#[cfg(feature = "crypto")]
|
|
pub mod crypto;
|
|
|
|
#[cfg(feature = "compress")]
|
|
pub mod compress;
|
|
|
|
#[cfg(feature = "path")]
|
|
pub mod dirs;
|
|
|
|
#[cfg(feature = "tls")]
|
|
pub use certs::*;
|
|
|
|
#[cfg(feature = "hash")]
|
|
pub use hash::*;
|
|
|
|
#[cfg(feature = "io")]
|
|
pub use io::*;
|
|
|
|
#[cfg(feature = "ip")]
|
|
pub use ip::*;
|
|
|
|
#[cfg(feature = "crypto")]
|
|
pub use crypto::*;
|
|
|
|
#[cfg(feature = "compress")]
|
|
pub use compress::*;
|
|
|
|
#[cfg(feature = "notify")]
|
|
mod notify;
|
|
|
|
#[cfg(feature = "sys")]
|
|
pub mod sys;
|
|
|
|
#[cfg(feature = "sys")]
|
|
pub use sys::user_agent::*;
|
|
|
|
#[cfg(feature = "notify")]
|
|
pub use notify::*;
|
|
|
|
mod envs;
|
|
pub use envs::*;
|