mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-06 05:17:42 +00:00
e0c99bced4
* chore: add tls log * improve code for http * improve code dependencies for `cargo.toml` and removing unused crates * modify name * improve code * fix * Update crates/config/src/constants/env.rs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * improve code * fix * add `is_enabled` and `is_disabled` --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
27 lines
909 B
Rust
27 lines
909 B
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 = "constants")]
|
|
pub mod constants;
|
|
#[cfg(feature = "constants")]
|
|
pub use constants::app::*;
|
|
#[cfg(feature = "constants")]
|
|
pub use constants::env::*;
|
|
#[cfg(feature = "constants")]
|
|
pub use constants::tls::*;
|
|
#[cfg(feature = "notify")]
|
|
pub mod notify;
|
|
#[cfg(feature = "observability")]
|
|
pub mod observability;
|