mirror of
https://github.com/rustfs/rustfs.git
synced 2026-07-26 08:18:18 +00:00
48b328d0d2
* chore(deps): tighten crate dependency features Narrow Tokio and dependency feature declarations for protocols, TLS runtime, utils, targets, and replication based on direct crate usage. Co-Authored-By: heihutu <heihutu@gmail.com> * chore(deps): trim hyper-rustls features Keep direct hyper-rustls features aligned with the actual RustFS call sites. rustfs-targets only needs native root loading and the rustls provider/TLS policy features for MQTT TLS config construction, while rustfs-ecstore needs the HTTP connector protocol features but not webpki roots. Co-Authored-By: heihutu <heihutu@gmail.com> --------- Co-authored-by: heihutu <heihutu@gmail.com>
51 lines
1.7 KiB
TOML
51 lines
1.7 KiB
TOML
# 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.
|
|
|
|
[package]
|
|
name = "rustfs-tls-runtime"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
rust-version.workspace = true
|
|
homepage.workspace = true
|
|
description = "Project-wide TLS runtime foundation for RustFS."
|
|
keywords = ["tls", "runtime", "rustls", "hot-reload", "rustfs"]
|
|
categories = ["network-programming", "web-programming", "development-tools"]
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
rustfs-common.workspace = true
|
|
rustfs-config.workspace = true
|
|
arc-swap.workspace = true
|
|
metrics.workspace = true
|
|
rustls = { workspace = true, default-features = false, features = ["aws-lc-rs", "logging", "tls12", "prefer-post-quantum", "std"] }
|
|
rustls-pki-types.workspace = true
|
|
serde = { workspace = true, features = ["derive"] }
|
|
sha2.workspace = true
|
|
thiserror.workspace = true
|
|
tokio = { workspace = true, features = ["fs", "rt", "sync", "time"] }
|
|
tracing.workspace = true
|
|
|
|
[dev-dependencies]
|
|
rcgen.workspace = true
|
|
serde_json = { workspace = true, features = ["raw_value"] }
|
|
tempfile.workspace = true
|
|
tokio = { workspace = true, features = ["macros", "rt", "fs"] }
|
|
|
|
[lib]
|
|
doctest = false
|